Topic: AppleScript

Catching errors in your scripts, Five AppleScript Tips in Five Days

Sometimes you might write an AppleScript script that looks right and that even compiles correctly but that doesn’t work right when you run it. The error message that AppleScript presents in cases like this isn’t always very helpful, but you can customize it using a ‘try’ block and catching any error that occurs at run [...]