• 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: Re: Re: Simulating app termination
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Re: Re: Simulating app termination


  • Subject: Re: Re: Re: Simulating app termination
  • From: email@hidden
  • Date: Tue, 01 Jun 2010 20:08:49 +0000

On Jun 1, 2010 2:26pm, Kyle Sluder <email@hidden> wrote:
On Tue, Jun 1, 2010 at 12:22 PM, email@hidden> wrote:

>> Can you elaborate on this?



man kill



Can you elaborate on why the standard Quit Apple Event isn't working

in your app? AppKit understands it and turns it into a regular

termination.



--Kyle Sluder


Nevermind, my Applescript syntax was not correct. I had this and it did not work:
tell application
"TurnOffMouse"
quit
end tell
I got a -1708 error.


What I should have had was this:
tell application "TurnOffMouse"
quit
end tell

Its been a while since I've used AS, and I forgot that the syntax can be a little funky.
Thanks for the help everyone and sorry for the noise.
_______________________________________________


Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >Re: Re: Simulating app termination (From: Kyle Sluder <email@hidden>)

  • Prev by Date: Re: I need float resolution bitmap data from a JPG using CIImage or similar helper
  • Next by Date: Base64 encoding (iPhone)
  • Previous by thread: Re: Re: Simulating app termination
  • Next by thread: Re: Simulating app termination
  • Index(es):
    • Date
    • Thread