On Jun 1, 2010 2:26pm, Kyle Sluder <kyle.slu...@gmail.com> wrote:
On Tue, Jun 1, 2010 at 12:22 PM, lorenzo7...@gmail.com> 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 (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to