• 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: Cocoa-dev Digest, Vol 4, Issue 582
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Cocoa-dev Digest, Vol 4, Issue 582


  • Subject: Re: Cocoa-dev Digest, Vol 4, Issue 582
  • From: Scott Anguish <email@hidden>
  • Date: Thu, 21 Jun 2007 03:27:39 -0400


On Jun 21, 2007, at 1:49 AM, Paolo Manna wrote:

On 21/06/07, Rick Langschultz <email@hidden> wrote:
I was wondering how would it be possible to launch an external
application from Safari/Webkit/Firefox/etc. I know that Safari will
launch an iTunes window/storefront if you click the link. How does
this happen though - it appears to be a regular anchor <a> to a
WebObjects application. Is there something I need to read to
accomplish this?
openURL: and openURLs:withAppBundleIdentifier:options:additionalEventParamDescriptor:launchIdentifiers :
in NSWorkspace are probably enough for what you need.

actually, I think that's not the correct direction.. It appears that Rick wants to open another app to open in response to clicking on a link in a browser.


in that case, your app would need to be a handler for your protocol type...

check out Launch Services

http://developer.apple.com/documentation/Carbon/Conceptual/LaunchServicesConcepts/index.html?http://developer.apple.com/documentation/Carbon/Conceptual/LaunchServicesConcepts/LSCIntro/chapter_1_section_1.html


_______________________________________________

Cocoa-dev mailing list (email@hidden)

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


References: 
 >Re: Cocoa-dev Digest, Vol 4, Issue 582 (From: "Paolo Manna" <email@hidden>)

  • Prev by Date: Re: Cocoa-dev Digest, Vol 4, Issue 582
  • Next by Date: Re: Protocol Handling?
  • Previous by thread: Re: Cocoa-dev Digest, Vol 4, Issue 582
  • Next by thread: Run a process as root (asking only one time the root password)
  • Index(es):
    • Date
    • Thread