Re: Cocoa-dev Digest, Vol 4, Issue 582
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