Re: Protocol Handling?
Re: Protocol Handling?
- Subject: Re: Protocol Handling?
- From: "Shawn Erickson" <email@hidden>
- Date: Wed, 20 Jun 2007 18:00:21 -0700
On 6/20/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?
Applications can state what URL schemes they support. Safari (likely
Firefox as well) will then use launch services to see if an
application exists on the users system that supports the given URL
scheme (MyApplicationScheme://blah) and if so ask launch services to
have that application open the URL.
-Shawn
_______________________________________________
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