Quitting Scripts
Quitting Scripts
- Subject: Quitting Scripts
- From: Brian Christmas <email@hidden>
- Date: Sun, 4 Oct 2009 21:44:55 +1100
G'day scripters
I've googled and can't find an answer to this.
I've got a 5000+ line script that automates the printing and
compressed saving of incoming graphics attachments in Mail.
I periodically get the script to check a data file to see if a flag is
set for it to quit, and if so, it executes a error -128 to stop dead.
Trouble is, if the user plays with the computer at the wrong time,
parts of the script freeze despite extensive error trapping, and don't
resume until the 'Applescript timed out' 1 minute interval, which
wastes valuable time (we sometimes process 50 emails an hour).
Is there any way of stopping/quitting running scripts that are hung?
And no, I can't save and call it as an App, as parts of it don't work
that way.
Regards
Santa
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden