• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: NSWorkspace launchApplication: vs NSAppleScript
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >Re: NSWorkspace launchApplication: vs NSAppleScript (From: Matt Neuburg <email@hidden>)

  • Prev by Date: Re: [OBJC newbie] - Intance variable becomes 'invalid'
  • Next by Date: Re: Exposing Methods in a Framework
  • Previous by thread: Re: NSWorkspace launchApplication: vs NSAppleScript
  • Next by thread: [ANN] -- Atimi seeks Cocoa programmer
  • Index(es):
    • Date
    • Thread