On Thu, Sep 9, 2010 at 12:13 AM, Dave Keck <davek...@gmail.com> 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 (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