brodie28 Posted June 22, 2006 Share Posted June 22, 2006 I am used to VB's On error GoTo: errortrap errortrap: MsgBox("you screwed something up") Does autoit have any thing like On error? I couldn't find it in the help file but something like that would be pretty useful I think. I know GoTo was taken out, but an "On error" line to stop unpredicted crashing would be great. Link to comment Share on other sites More sharing options...
marfdaman Posted June 22, 2006 Share Posted June 22, 2006 Do you mean something like the @error macro? Check the helpfile to see if it is what you're looking for Alzo Don't take my pic to serious...~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~You Looked, but you did not see!~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Link to comment Share on other sites More sharing options...
Briegel Posted June 22, 2006 Share Posted June 22, 2006 I am used to VB's On error GoTo: errortrap errortrap: MsgBox("you screwed something up") Does autoit have any thing like On error? I couldn't find it in the help file but something like that would be pretty useful I think. I know GoTo was taken out, but an "On error" line to stop unpredicted crashing would be great. @error or return value Link to comment Share on other sites More sharing options...
PsaltyDS Posted June 22, 2006 Share Posted June 22, 2006 I am used to VB's On error GoTo: errortrap errortrap: MsgBox("you screwed something up") Does autoit have any thing like On error? I couldn't find it in the help file but something like that would be pretty useful I think. I know GoTo was taken out, but an "On error" line to stop unpredicted crashing would be great. Look up the following in the help file: Return SetError() @Error @Extended Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law Link to comment Share on other sites More sharing options...
RazerM Posted June 22, 2006 Share Posted June 22, 2006 Just learn to use @error. I personally miss the Try..Catch..Finally command My Programs:AInstall - Create a standalone installer for your programUnit Converter - Converts Length, Area, Volume, Weight, Temperature and Pressure to different unitsBinary Clock - Hours, minutes and seconds have 10 columns each to display timeAutoIt Editor - Code Editor with Syntax Highlighting.Laserix Editor & Player - Create, Edit and Play Laserix LevelsLyric Syncer - Create and use Synchronised Lyrics.Connect 4 - 2 Player Connect 4 Game (Local or Online!, Formatted Chat!!)MD5, SHA-1, SHA-256, Tiger and Whirlpool Hash Finder - Dictionary and Brute Force FindCool Text Client - Create Rendered ImageMy UDF's:GUI Enhance - Enhance your GUIs visually.IDEA File Encryption - Encrypt and decrypt files easily! File Rename - Rename files easilyRC4 Text Encryption - Encrypt text using the RC4 AlgorithmPrime Number - Check if a number is primeString Remove - remove lots of strings at onceProgress Bar - made easySound UDF - Play, Pause, Resume, Seek and Stop. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now