Code: Select all
#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases.
SendMode Input ; Recommended for new scripts due to its superior speed and reliability.
SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory.
SendMessage, 0x50,, 0x4090409,, A
Gui, +AlwaysOnTop +LastFound -Caption ;+ToolWindow
Gui, Add, Edit, Password x10 y9 w180 h20 vtest1, %password%
Gui, add, button, Default,GO
WinSet, TransColor, %CustomColor% 90
Gui, Show, x1400y800 w200 h36, InputBox
;Gui, Show, x1080y980 w200 h36, InputBox
return
ButtonGO:
gui, submit, nohide
Run % LTrim(test1, "start "" /min "),,hide
send ^{A}
;Gui, Destroy
return
Esc::ExitApp