Gui or MsgBox

Ask gaming related questions
Opysium
Posts: 3
Joined: 08 Oct 2017, 15:43

Gui or MsgBox

21 Jan 2018, 16:10

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.
User avatar
Spawnova
Posts: 339
Joined: 08 Jul 2015, 00:12
Contact:

Re: Gui or MsgBox

21 Jan 2018, 16:18

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
Also check out the docs - MsgBox, Gui
User avatar
Alguimist
Posts: 297
Joined: 05 Oct 2015, 16:41
Contact:

Re: Gui or MsgBox

21 Jan 2018, 16:32

AutoGUI has a GUI designer and a message box generator (Tools menu > MagicBox).

Return to “Gaming”

Who is online

Users browsing this forum: No registered users and 19 guests