Re: Re: Re: Simulating app termination
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