AutoHotkey Community

It is currently May 27th, 2012, 4:11 am

All times are UTC [ DST ]




Post new topic Reply to topic  [ 5 posts ] 
Author Message
 Post subject: script aborts
PostPosted: July 10th, 2011, 12:43 am 
Offline

Joined: May 12th, 2009, 3:36 pm
Posts: 27
Hi,

why appears only the first msgbox?


Code:
msgbox, first msgbox

^t::msgbox, test test test

msgbox, second msgbox



Carlos


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: July 10th, 2011, 12:46 am 
Offline

Joined: December 26th, 2010, 7:40 pm
Posts: 4172
Location: Awesometown, USA
Scripts wrote:
After the script has been loaded, it begins executing at the top line, continuing until a Return, Exit, hotkey/hotstring label, or the physical end of the script is encountered (whichever comes first). This top portion of the script is referred to as the auto-execute section.

_________________
Autofire, AutoClick, Toggle, SpamWindow Control Tools
Recommended: AutoHotkey_L


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: July 10th, 2011, 12:51 am 
Offline

Joined: April 8th, 2009, 7:49 pm
Posts: 6073
Location: San Diego, California
"first msgbox" is in the autoexecute section of the script
http://www.autohotkey.com/docs/Scripts.htm#auto

""test test test"
http://www.autohotkey.com/docs/Tutorial.htm#Launch

"second msgbox"
will never be seen

I suggest you work through the tutorial and read the documentation
http://www.autohotkey.com/docs/Tutorial.htm


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: July 10th, 2011, 1:08 am 
Offline

Joined: May 12th, 2009, 3:36 pm
Posts: 27
Quote:
read the documentation
not necessary any more: thanks


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: July 10th, 2011, 2:38 am 
Offline

Joined: April 8th, 2009, 7:49 pm
Posts: 6073
Location: San Diego, California
mtemp wrote:
Quote:
read the documentation
not necessary any more: thanks


Your response is cryptic and useless. :?
Your "thanks" almost appears as an insult.


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

All times are UTC [ DST ]


Who is online

Users browsing this forum: rbrtryn, Yahoo [Bot] and 65 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