https://www.autohotkey.com/docs/commands/Gui.htm#Events
And I've tried to save the user input as a variable and then depending on the variable contents, end the program or continue, but it doesn't work.
I can't seem to figure this out!
Below is my code:
Code: Select all
Gui, -Caption +LastFound -SysMenu +ToolWindow -DPIScale
Gui, Font, [, s15, Veranda]
Gui, Add, Text,, Welcome to SimpleCalc setup.
Gui, Add, Text,, This wizard will guide you through installing the software SimpleCalc.
Gui, Add, Text,, Click "next>>" to continue, and "abort" to abort the process.
Loop, Parse,% "ABORT,NEXT>>", CSV
Gui, Add, Button, x+ y20 gOperator,% A_LoopField
Gui, Show
Return
INTRO := StrReplace(A_GuiControl, "&&", "&")
IfEqual, INTRO ,[, ABORT]
ExitApp
IfEqual, INTRO ,[, NEXT>>]
return
Gui, Destroy
Thanks!