Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Mac > Mac Programmer Help > Re: Using CLI t...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 3 of 3 Topic 3794 of 3882
Post > Topic >>

Re: Using CLI to register an application to handle URIs

by Simon Slavin <slavins.delete.these.four.words@[EMAIL PROTECTED] Jul 5, 2008 at 02:18 AM

On 04/07/2008, Simon Slavin wrote in
message
<g4lqs9$266$1$8300dec7@[EMAIL PROTECTED]
>:
 
> I've looked at the do***entation for Launch Services and it's all in
> Carbon, and doesn't do***ent how to set URI handlers.  My handler is an
> AppleScript and ideally I want to be able to set the handler for my type
> of URI using a command line (trivial from AppleScript).  Can URI
handlers
> be set this way ?

Sherman Pendley <spamtrap@[EMAIL PROTECTED]
> replied:

> Add a CFBundleURLTypes key to your app's Info.plist. Launch Services
> will parse it at the same time as it parses the CFBundleDo***entTypes
> key.

I had to add those types to the application after it was created.  So the
application was right there, already parsed, and then I added the Types,
but that didn't make Launch Services parse the application again.  So it
didn't work correctly for me.

But after reading your response I sent the application to a friend and it
worked for him without anything special.  That's great.  Thanks for your
help.

Simon.
-- 
http://www.hearsay.demon.co.uk
 




 3 Posts in Topic:
Using CLI to register an application to handle URIs
Simon Slavin <slavins.  2008-07-04 19:38:30 
Re: Using CLI to register an application to handle URIs
Sherman Pendley <spamt  2008-07-04 15:18:03 
Re: Using CLI to register an application to handle URIs
Simon Slavin <slavins.  2008-07-05 02:18:17 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Fri Dec 5 9:53:01 CST 2008.