Re: Can't invoke NSApplication's terminate
Re: Can't invoke NSApplication's terminate
- Subject: Re: Can't invoke NSApplication's terminate
- From: Deivy Petrescu <email@hidden>
- Date: Tue, 11 Jan 2011 08:43:23 -0500
On Jan 10, 2011, at 20:57 , Shane Stanley wrote:
> I wonder if your problem is that you are calling it too early. Try it in
> applicationWillFinishLaunching_ rather than awakeFromNib.
>
> --
> Shane Stanley <email@hidden>
> 'AppleScriptObjC Explored' <www.macosxautomation.com/applescript/apps/>
>
I can't!
It has to be called right at the get go because it checks wether or not the user has other softwares in his/hers computer.
It will not run without them.
However, it shows that
tell current application's NSApp to terminate_(me)
is the safest way to quit an app. It does it from anywhere.
Deivy Petrescu
email@hidden
_______________________________________________
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