My AppleScript is calling a console app with "do shell script." I would like to get the integer return from this console app. According to Apple:
Great, how do I catch an AppleScript error? Digging, through docs, haven't found answer yet. Please to help.
A: All shell commands return an integer status when they finish: zero means success; anything else means failure. If the script exits with a non-zero status, do shell script throws an AppleScript error with the status as the error number. . . .
Great, how do I catch an AppleScript error? Digging, through docs, haven't found answer yet. Please to help.