AutoHotkey Community

It is currently May 25th, 2012, 5:40 pm

All times are UTC [ DST ]




Post new topic Reply to topic  [ 3 posts ] 
Author Message
PostPosted: August 24th, 2007, 12:31 am 
Offline

Joined: May 23rd, 2007, 3:31 pm
Posts: 17
Fairly new but can't make sense of this.

Have a GUI that I interact with (Radio buttons). The info from the radio button selection is needed later. However, the script doesn't pause while I interact with the GUI and thus the needed info doesn't get to the script. It is contained within a subroutine, and calls another when a radio button is selected if it makes a difference.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: August 24th, 2007, 12:48 am 
Offline

Joined: July 15th, 2007, 1:43 am
Posts: 1320
After the GUI coding part of the script, make sure you have a Return.

e.g.

Code:
Gui, Add, Button, W100, AHK
Gui, Show
Return

ButtonAHK:
Run, www.autohotkey.com
Return


Otherwise:

Code:
Gui, Add, Button, W100, AHK
Gui, Show

ButtonAHK:
Run, www.autohotkey.com
Return


The script will run www.autohotkey.com immediately after opening the GUI.

If you have a return after the GUI portion of the script, please post the entire script and I'll see if I can help.

_________________
Religion is false. >_>


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: August 24th, 2007, 4:50 am 
Offline

Joined: May 23rd, 2007, 3:31 pm
Posts: 17
Found a few missing {'s that probably contributed to some of the problem.

However, I didnt' have a return after the gui section.

Thanks,

Jet


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

All times are UTC [ DST ]


Who is online

Users browsing this forum: BrandonHotkey, engunneer, mc-lemons, rbrtryn, tank, vsub and 20 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