Code: Select all
Gui,Add,Edit,x5 w90 vValue
; Gui, +AlwaysOnTop +ToolWindow ; No minimize button
Gui, +AlwaysOnTop -Caption
Gui,Show,w100 h35
If (vValue = 5)
msgbox,s
Return
Code: Select all
Gui,Add,Edit,x5 w90 vValue
; Gui, +AlwaysOnTop +ToolWindow ; No minimize button
Gui, +AlwaysOnTop -Caption
Gui,Show,w100 h35
If (vValue = 5)
msgbox,s
Return
Code: Select all
Settimer, CtrlGet, 250
gui, add, edit, number w100 vValue
gui, show,, Edit Text
return
CtrlGet:
guiControlGet, txtVar,, Value
If (txtVar !="")
{
Msgbox, Your variable is saved with the name of txtVar: %txtVar%
Settimer, CtrlGet, off
gui, destroy
}
return