Last active
March 10, 2023 17:59
-
-
Save RaptorX/a452ea5c0e6702518f4723d2539d87eb to your computer and use it in GitHub Desktop.
This file contains hidden or 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
txt := inputhook("v") | |
::test:: | |
tracker := "test" | |
SendInput % "default --string " | |
txt.start() | |
return | |
::test2:: | |
tracker := "test2" | |
SendInput % "another --string " | |
txt.start() | |
return | |
Enter:: | |
if !txt.inprogress | |
{ | |
Send {Enter} | |
return | |
} | |
txt.stop() | |
switch tracker | |
{ | |
case "test": | |
SendInput, % " --opt 2 --opt 3" | |
case "test2": | |
SendInput, % " --weird 2 --opt" | |
} | |
tracker := "" | |
msgbox % txt.input | |
txt.input := "" | |
return |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment