AutoHotkey Homepage AutoHotkey Community
Let's help each other out
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

How to hide the debug screen?

 
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Ask for Help
View previous topic :: View next topic  
Author Message
ice



Joined: 23 Jun 2004
Posts: 3

PostPosted: Mon Jul 05, 2004 10:12 am    Post subject: How to hide the debug screen? Reply with quote

How to hide the debug screen if there are somthing wrong in script file, when people run the script?

I tried /ErrorStdOut , but seems no helpful.
Back to top
View user's profile Send private message
Chris
Site Admin


Joined: 02 Mar 2004
Posts: 10467

PostPosted: Mon Jul 05, 2004 1:30 pm    Post subject: Reply with quote

The best way is to change your script so that it doesn't generate runtime errors. For example, if RunWait is used on a nonexistent EXE file, you will get an error. So the script should first check that the file exists with IfExist.
Back to top
View user's profile Send private message Send e-mail
Guest






PostPosted: Mon Jul 05, 2004 2:19 pm    Post subject: Reply with quote

yeah, have to check it carefuly.
Back to top
Chris
Site Admin


Joined: 02 Mar 2004
Posts: 10467

PostPosted: Mon Jul 05, 2004 2:51 pm    Post subject: Reply with quote

Because most syntax errors are caught the moment the script is loaded, runtime errors are quite rare. For most commands, it is impossible to get a runtime error since ErrorLevel is used instead.
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Ask for Help All times are GMT
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum


Powered by phpBB © 2001, 2005 phpBB Group