Re: how to set url type in launchservices.plist
Re: how to set url type in launchservices.plist
- Subject: Re: how to set url type in launchservices.plist
- From: Yorh <email@hidden>
- Date: Thu, 5 Oct 2006 18:03:21 +0200
Hi and thks for support,
My only needs is to open my app via safari (or other browsers) link
like mailto: that open mail or aim: that open Adium or ichat.
thank you
Yorh
On 05/ott/06, at 17:44, Mike Abdullah wrote:
This should be all you need to launch your app in this method.
However, if you also want to find out the URL you are being asked
to open, you need some additional code.
Let me know if this is the case and I can dig out an example.
Mike.
On 5 Oct 2006, at 14:17, Yorh wrote:
Hi to all,
My application needs to be launched via safari (something like
aim: or mailto:).
I found the file launchservices.plist where I think the system
stores all these infos.
Can I add a simple NSDictionary inside that file in this way?
<key>LSHandlers</key>
<array>
<dict>
<key>LSHandlerRoleAll</key>
<string>com.apple.ichat</string>
<key>LSHandlerURLScheme</key>
<string>aim</string>
</dict>
</array>
Or are there any other places where I have to make this change?
Thank you all
Yorh
ps: I cannot find any documentation about this file anyone has a
link?
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40gmail.com
This email sent to email@hidden
_______________________________________________
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