• 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: launching applications within/by cocoa/carbon programs
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: launching applications within/by cocoa/carbon programs


  • Subject: Re: launching applications within/by cocoa/carbon programs
  • From: Stéphane Sudre <email@hidden>
  • Date: Mon, 4 Aug 2003 12:34:50 +0200

On lundi, ao{ 4, 2003, at 06:16 Europe/Paris, Andre Bocchini wrote:

Try this (taken from the NSWorkspace documentation):

- (BOOL)launchApplication:(NSString *)appName

Depending on whether the application is a tool or an application, I would not use this API in the second case.

Since the name of the Application can be modified by the user, it might be worth finding the path/url of the application using the LaunchService Framework using the bundle ID or creator. Then the application can be launched using the CFURLRef.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.
References: 
 >Re: launching applications within/by cocoa/carbon programs (From: mmalcolm crawford <email@hidden>)

  • Prev by Date: Re: break, continue, goto
  • Next by Date: Re: Compiler Warnings
  • Previous by thread: Re: launching applications within/by cocoa/carbon programs
  • Next by thread: Question about line breaks and file types
  • Index(es):
    • Date
    • Thread