Re: Open my Application via safari
Re: Open my Application via safari
- Subject: Re: Open my Application via safari
- From: Yorh <email@hidden>
- Date: Tue, 31 Oct 2006 18:20:42 +0100
Hello again,
I have in my info.plist file this:
<key>CFBundleURLTypes</key>
<array>
<dict>
<key>CFBundleURLIconFile</key>
<string>myApp</string>
<key>CFBundleURLName</key>
<string>my URL</string>
<key>CFBundleURLSchemes</key>
<array>
<string>myLink</string>
</array>
</dict>
</array>
But it seems wrong because if I have in a web page myLink://
something .... nothing happen :(
Where is the mistake?
Thank you all
Yorh
On 31/ott/06, at 16:52, Yorh wrote:
Thank you very much for your support
Yorh
On 31/ott/06, at 16:46, Sherm Pendley wrote:
On Oct 31, 2006, at 9:43 AM, Yorh wrote:
I read one of my old post asking how to launch my application via
safari using link like aim: or similar.
I've found a file com.Apple.LauchServices.plist , but someone
told me to don't touch that file.
Good advice.
Anyway I saw that Adium for example, modify that file ....
I doubt that. I haven't looked at Adium, but it's more likely that
it simply included a list of supported URL schemes in its
Info.plist. Finder will read that and update the Launch Services
database just like it will read and register a list of supported
file extensions.
Is there any documentation about it?
Have a look at <http://tinyurl.com/794ob>.
Long URL:
<http://developer.apple.com/documentation/MacOSX/Conceptual/
BPRuntimeConfig/Articles/PListKeys.html>
The description for the CFBundleURLTypes key is about halfway down
the page.
sherm--
Web Hosting by West Virginians, for West Virginians: http://wv-
www.net
Cocoa programming in Perl: http://camelbones.sourceforge.net
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40metagraphics.it
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