Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to get a URL to launch an application



On Nov 29, 2006, at 2:05 PM, Jay Batson wrote:

I read through the stuff on Launch Services, and it looked like if I put the following into the Info.plist file, I'd be good:
<key>CFBundleURLTypes</key>
<dict>
<key>CFBundleURLName></key>
<string>ChirpURL</string>
<key>CFBundleURLSchemes</key>
<array>
<string>chirp</string>
</array>
</dict>

A quick search for "CFBundleURLTypes" turns up this page:

http://www.cocoadev.com/index.pl?HowToRegisterURLHandler

Which suggests you need to wrap that <dict> in an <array>.

Alternatively, have you tried LSRegisterFSRef?

<http://developer.apple.com/documentation/Carbon/Conceptual/ LaunchServicesConcepts/LSCConcepts/chapter_2_section_5.html>

Peace,
Scott



_______________________________________________
Do not post admin requests to the list. They will be ignored.
Web-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/web-dev/email@hidden

This email sent to email@hidden
References: 
 >How to get a URL to launch an application (From: Jay Batson <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.