Re: NSWorkspace launchApplication: vs NSAppleScript
Re: NSWorkspace launchApplication: vs NSAppleScript
- Subject: Re: NSWorkspace launchApplication: vs NSAppleScript
- From: Nir Soffer <email@hidden>
- Date: Wed, 31 May 2006 22:46:53 +0300
On 31/05/2006, at 17:05, Matt Neuburg wrote:
But you are comparing apples with oranges, since -activeApplication
checks
to see what application is *frontmost*. AppleScript "activate",
too, makes
an application frontmost. But launchApplication: is like AppleScript
"launch"; it tries to guarantee that the application is *running*, but
nothing else. m.
I misread this line:
NSWorkspaceLaunchDefault
Launch the application asynchronously and launch it in the Classic
environment, if required.
Best Regards,
Nir Soffer
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden