This works like a charm except for one thing. After I register my
handler, it gets requests to load a new URL as expected the app is
already running. If the app isn't running, I see the dock slide over
slightly like it's about to open a new bundle, then it slides back and
the app doesn't open. If
Hi,
I'd like to set the application that should be run when a URL with a
given scheme is opened. The only way I've found to do this is
_LSSetDefaultSchemeHandlerURL, but I'd rather not go with an
undocumented API if it can be avoided. Is there a Cocoa API or
something for this that I haven't been
On May 14, 2008, at 1:16 PM, Matthew Gertner wrote:
I'd like to set the application that should be run when a URL with a
given scheme is opened. The only way I've found to do this is
_LSSetDefaultSchemeHandlerURL, but I'd rather not go with an
undocumented API if it can be avoided. Is there a
On May 14, 2008, at 3:06 PM, Nick Zitzmann wrote:
On May 14, 2008, at 1:16 PM, Matthew Gertner wrote:
I'd like to set the application that should be run when a URL with a
given scheme is opened. The only way I've found to do this is
_LSSetDefaultSchemeHandlerURL, but I'd rather not go with an
On May 14, 2008, at 3:16 PM, Ken Thomases wrote:
Do you really need to set the default handler? Generally, Mac
applications merely advertise that they are capable of handling a
given URL scheme and it's left to the user to pick the default
handler. To merely advertise the capability,
On 14 May '08, at 2:25 PM, Nick Zitzmann wrote:
That's the best way to do it. However, some programs tend to
override the user's choices for default URL handlers.
The proper UI is to show a pop-up menu (in your app's prefs) of
applications that handle this scheme, with the current default
On May 14, 2008, at 4:23 PM, Jens Alfke wrote:
The proper UI is to show a pop-up menu (in your app's prefs) of
applications that handle this scheme, with the current default one
selected, and let the user pick. That's what Safari, iChat, Mail,
etc. all do.
In theory, that's how it's