• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: how to set url type in launchservices.plist
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: how to set url type in launchservices.plist


  • Subject: Re: how to set url type in launchservices.plist
  • From: Mike Abdullah <email@hidden>
  • Date: Thu, 5 Oct 2006 16:44:52 +0100

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
  • Follow-Ups:
    • Re: how to set url type in launchservices.plist
      • From: Yorh <email@hidden>
References: 
 >how to set url type in launchservices.plist (From: Yorh <email@hidden>)

  • Prev by Date: Re: Finding all deleted objects from Core Data
  • Next by Date: Re: how to set url type in launchservices.plist
  • Previous by thread: how to set url type in launchservices.plist
  • Next by thread: Re: how to set url type in launchservices.plist
  • Index(es):
    • Date
    • Thread