• 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: Using NSSupportsSuddenTermination
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Using NSSupportsSuddenTermination


  • Subject: Re: Using NSSupportsSuddenTermination
  • From: Tom Robinson <email@hidden>
  • Date: Tue, 1 Dec 2009 11:09:28 +1300

Hi Axel,

Very helpful thanks!  Using 'on idle' also enabled the NSSupportsSuddenTermination capability.

(Sudden Termination allows for much quicker quitting of apps, see <http://developer.apple.com/mac/library/releasenotes/Cocoa/Foundation.html>)

Cheers


On 2009-12-01, at 10:25, Axel Luttgens wrote:

> I don't know anything about NSSupportsSuddenTermination, but couldn't good old AppleScript recipes do the trick as well? Something along those lines, saved as a stay-open application:
>
> 	on idle
> 		do shell script "logger 'performing my periodic tasks'"
> 		return 2
> 	end idle

 _______________________________________________
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: 
 >Using NSSupportsSuddenTermination (From: Tom Robinson <email@hidden>)
 >Re: Using NSSupportsSuddenTermination (From: Axel Luttgens <email@hidden>)

  • Prev by Date: Re: Working with Selected text in MS Word 2008 find/Replace
  • Next by Date: RE: GUI scripting for installers which have root privilege
  • Previous by thread: Re: Using NSSupportsSuddenTermination
  • Next by thread: Attach folder action to hidden folder?
  • Index(es):
    • Date
    • Thread