Page 1 of 1

Can I have a dictionary for script command

Posted: Dec 25th, ’24, 05:12
by Chao
Hi everyone. Can I have a dictionary for the scripting command to customer my gestures. For example: {vk57} = Control key
Thank you!

Re: Can I have a dictionary for script command

Posted: Dec 25th, ’24, 07:55
by Marko
Sorry, I’m nor sure I understand the question, could you rephrase?

Re: Can I have a dictionary for script command

Posted: Dec 25th, ’24, 08:01
by Chao
well, this is what I see when I config the mouse gesture:
-------------------
WinGetClass Class, A
If (A_ThisHotKey = A_PriorHotkey && A_TimeSincePriorHotkey < 350)
If Class in MozillaWindowClass,IEFrame
Send ^{vk57} ;Ctrl w
Else
Send ^{vk57} ;Ctrl w
---------------
I want to learn this script language so that I can do the customizing by myself later on. But I don't know what it is.

Re: Can I have a dictionary for script command

Posted: Dec 25th, ’24, 21:38
by Marko

Re: Can I have a dictionary for script command

Posted: Dec 26th, ’24, 05:52
by Chao
Marko wrote: Dec 25th, ’24, 21:38 AutoHotkey v1
https://www.autohotkey.com/docs/v1/
Thank you!