Hi Ryan,

Gears shortcuts have the property that they open in the browser in which
they where originally created.  i.e. if you have both Safari and a Fluid SSB
installed and you create a shortcut from that Fluid SSB - the shortcut will
open in the SSB, not Safari.

This behavior cannot be achieved using .webloc files.

What's more interesting is that it turns out that you can't even really
achieve this with the open command because of how Launch Services works.
The problem is that 'open' will ignore the -a parameter and will just open
the URL in either Safari or the default browser (I forget the exact
scenario).

Best regards,
Jeremy

On Fri, Dec 19, 2008 at 11:44 PM, Ryan Govostes <[email protected]> wrote:

>
> I noticed that Desktop.createShortcut() creates a 100K .app which
> launches the browser.
>
> This seems a bit overkill; wouldn't a .webloc file suffice? If not,
> the launch.sh script could simply be replaced with a call to the built-
> in `open' command, which will detect URLs and open them in their
> registered handler.
>

Reply via email to