AutoHotKey (AHK) How to make wait for a command to finish before
destroying GUI
Gui, Add, Button, w%buttonWidth% r%buttonHeight% gbutton1, &1. %var1%
button1:
WinActivate [title]
send %var1%
Gui Destroy
return
Currently when I press 1, the Gui is closed before it can type the
variable. How do I either get it to type fast enough that I don't need to
worry, or get it to wait for it to finish before closing?
No comments:
Post a Comment