-
-
Save TLMcode/8484648 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
KeyArray := ["e","r","t"] | |
PgUp:: | |
i++ | |
Hotkey % Key := KeyArray[ Mod( i-1 , KeyArray.MaxIndex() )+1 ], % "Slabel_" i, on | |
Return | |
PgDn:: | |
Hotkey % Key, % "Slabel_" i, off | |
If ( i = KeyArray.MaxIndex() ) | |
i := 0 | |
Return | |
Slabel_1: | |
Send {p Down} | |
KeyWait %A_ThisHotkey% | |
Send {p Up} | |
Return | |
Slabel_2: | |
Msgbox do something else | |
Return | |
Slabel_3: | |
Msgbox do yet again somethingp | |
Return |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment