Re: delayed NSWorkspaceDidTerminateApplicationNotification under 10.6?
Re: delayed NSWorkspaceDidTerminateApplicationNotification under 10.6?
- Subject: Re: delayed NSWorkspaceDidTerminateApplicationNotification under 10.6?
- From: "email@hidden" <email@hidden>
- Date: Thu, 9 Sep 2010 01:11:56 +0200
On Thu, Sep 9, 2010 at 12:13 AM, Dave Keck <email@hidden> wrote:
> I don't think performance is going to be a big issue with the process
> APIs; at any given time a user probably isn't going to have over 20 or
> 30 foreground+background apps running, so even iterating over each one
> shouldn't be much an issue. But no need to speculate – might as well
> just profile the different techniques and choose the best one.
Will do. Thanks!
>> > I only know enough about AppleScript to avoid it, but I believe iTunes is
>> > being launched necessarily for the NSAppleScript to compile.
>>
>> No, this is not correct. You can compile a script without launching
>> the target - at least on Snow Leopard.
>
> I'm afraid my testing shows otherwise; on my system, the following
> code always launches Safari on both 10.5 and 10.6:
Sorry, my bad. I only tried with iTunes.
_______________________________________________
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