Can't invoke NSApplication's terminate
Can't invoke NSApplication's terminate
- Subject: Can't invoke NSApplication's terminate
- From: Dave <email@hidden>
- Date: Tue, 28 Dec 2010 00:42:34 -0600
I've tried the following to cause my application to terminate. They don't do anything and no syslog messages are emitted. I've resorted to calling my own Obj-C method to invoke terminate.
tell current application to terminate_(me)
current application's terminate_(me) current application's NSApplication's terminate_(me) current application's sharedApplication()'s terminate_(me)
My Objective-C method, which does work, is:
+ (void)TerminateApplication { [NSApp terminate:nil]; }
-- Dave
|
_______________________________________________
Do not post admin requests to the list. They will be ignored.
applescriptobjc-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden