Custom Error Message
I am new to AppleScript, first attempt to create one. I am using it for automating a task with BBEdit.
The scripts asks for an input from the user, if the input is ok the script runs fine.
I cannot test the input ( a string) until BBEdit process it, so if the string is not correct I get a nasty error message from BBedit.
Is it possible to suppress this error message and create a custom one with AppleScript?
I have tried with "try" statment but even then I first get the error message from bbedit and then my custom one.
Any help/answer is appreciated.
macmini, macpro, macbookpro, Mac OS X (10.5.6)