gui button ahk
Gui, Add, Button gLayer1 w80, Button ;The "g" command in a button (in this case gLayer1) is a goto command. If you press the button, it goes to layer1
Gui, Show ;Shows the gui
Layer1: ;The layer that becomes active when you press the button
MsgBox, You pressed the button ;A simple Messagebox