• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Quitting Scripts
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Quitting Scripts


  • Subject: Re: Quitting Scripts
  • From: Laine Lee <email@hidden>
  • Date: Thu, 08 Oct 2009 20:38:19 -0500
  • Thread-topic: Quitting Scripts

On 10/4/09 5:44 AM, "Brian Christmas" <email@hidden> wrote:

> 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
>  _______________________________________________
--

Stop - halt - abort - quit - a running Applescript

Leopard  or Snow Leopard command:

sudo killall AppleScript\ Runner

Older systems

sudo killall System Events

Regards,
Laine Lee


 _______________________________________________
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

References: 
 >Quitting Scripts (From: Brian Christmas <email@hidden>)

  • Prev by Date: Re: Timed Out (Silence)
  • Next by Date: How to put logs in console using AppleScript
  • Previous by thread: Quitting Scripts
  • Next by thread: Re: Quitting Scripts
  • Index(es):
    • Date
    • Thread