AutoHotkey Community

It is currently May 27th, 2012, 10:01 am

All times are UTC [ DST ]




Post new topic Reply to topic  [ 6 posts ] 
Author Message
PostPosted: October 23rd, 2008, 7:10 am 
Offline

Joined: October 23rd, 2008, 7:01 am
Posts: 42
How do you make a button in a gui do something? How to i sort of like connect like an installer where you click next,install,cancel,done etc?

And is it possible to disable the use of mouse while the script is running because if the script contains the use of click command, the mouse is disturbed thus making the function useless.

_________________
http://portableapps.com


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: October 23rd, 2008, 7:14 am 
Offline

Joined: October 9th, 2008, 6:04 am
Posts: 180
Location: Finland
Code:
Gui, Add, Button, w100, Yeah
Gui, Show
Return

ButtonYeah:
Msgbox, yeahh
Return

GuiClose:
ExitApp

_________________
was i wrong, it makes me a very sad panda!


Report this post
Top
 Profile  
Reply with quote  
 Post subject: how about
PostPosted: October 23rd, 2008, 10:19 am 
Offline

Joined: October 23rd, 2008, 7:01 am
Posts: 42
When you click a button, you go to the next or another gui?

_________________
http://portableapps.com


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: October 23rd, 2008, 10:33 am 
Offline

Joined: May 27th, 2007, 9:41 am
Posts: 4999
Read up on
http://www.autohotkey.com/docs/commands/Gui.htm
http://www.autohotkey.com/docs/commands ... htm#Button
A button goes to a label either a g-label or the name of the button
as shown in the Yeah example above.

_________________
AHK FAQ
TF : Text files & strings lib, TF Forum


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: October 23rd, 2008, 3:44 pm 
Offline

Joined: October 23rd, 2008, 7:01 am
Posts: 42
How do you use the functions in a gui like the slider,progress,radio,checkbox,dropdownlist,combobox, etc.Do you need to use "variables?". I'm sorry. I'm still learning today.

_________________
http://portableapps.com


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: October 23rd, 2008, 4:32 pm 
Offline

Joined: April 4th, 2008, 8:15 pm
Posts: 538
Location: Canada
Read the manual - it has everything you're asking for. Eg, Slider


Report this post
Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 6 posts ] 

All times are UTC [ DST ]


Who is online

Users browsing this forum: Bing [Bot], Google Feedfetcher, specter333, tomoe_uehara, XstatyK and 63 guests


You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Group