I need Gui or MsgBox. When I press the 1 button, I will write the commands under it, the 2 buttons will do the other commands.
I do not know how to make Gui and MsgBox.
Gui or MsgBox
Re: Gui or MsgBox
Code: Select all
gui,add,text,x5 y5 w150 h50 vtextHandle,some text here
gui,show,x100 y100,Gui title
return
f1::
guicontrol,,textHandle,you pressed F1 ;update the text control
return
f2::
msgbox, you pressed F2 ;simple message box
guicontrol,,textHandle,you pressed F2 and a message box appeared
return
Some of my AHK programs: 3D Voxel Game - Platformer Game
GitHub projects : Image/Pixel scanning class - Direct2D overlay class
GitHub projects : Image/Pixel scanning class - Direct2D overlay class
Re: Gui or MsgBox
AutoGUI has a GUI designer and a message box generator (Tools menu > MagicBox).
Who is online
Users browsing this forum: No registered users and 58 guests