Hi Jonathan,

I thought you might be able to do this with a simple change to the existing
Gears shortcut structure, but that really seems like it's more trouble than
it's worth here.

You could try asking on the Firefox user forums if there's a way to do what
you want on the command line, and if that doesn't work you could try writing
a simple Applescript to do the work and just save that as an Application
(something like this
http://www.macosxhints.com/article.php?story=20031203102553678).

I'm sorry that the simple route of changing the command line inside the
shortcut didn't work.  I'm sure you'll be able to find a simple way of doing
this with the help of a Firefox or Mac forum.

FYI: launch_url_with_browser is basically the same as the open command (
http://developer.apple.com/documentation/Darwin/Reference/ManPages/man1/open.1.html)
but works around a bug with our usage.  It's not really relevant to your
usage.

Best regards,
Jeremy

On Wed, Oct 29, 2008 at 1:56 PM, Jonathan Franks <[EMAIL PROTECTED]>wrote:

>
> Hi Jeremy,
>
> I did take a look at the shell script but it runs a small executable
> 'launch_url_with_browser' to open the browser.....
>
>  #!/bin/sh
>> "`dirname "$0"`/launch_url_with_browser" '/Applications/Firefox.app' '
>> http://docs.google.com/'
>>
>
>
> I tried adding the command line options just before the end quote for the
> app and just after the start quote for the url but neither worked.
>
> If I replace with this
>
>  #!/bin/sh
>> /Applications/Firefox.app/Contents/MacOS/firefox -new-window '
>> http://docs.google.com/'
>>
>
>
> I get an error that firefox is already running (if its already running!)
>
> So I guess that launch_url_with_browser checks whether the browser is
> running and acts accordingly.
>
> Perhaps it also has some other functionality???
>
> Anyway, anymore suggestions would be appreciated.
>
> Kind Regards
>
> Jonathan
>
>
>
>
>
> On 29 Oct 2008, at 17:24, Jeremy Moskovich wrote:
>
>  Hi Jonathan,
>>
>> As a site developer, Gears APIs don't give you control over those options.
>>
>> If you just want to change one shortcut on your local machine, then you
>> can modify it directly to get the behavior you want.
>>
>> On OS X, Gears desktop shortcuts are basically wrappers around a shell
>> script that launches the relevant browser.
>>
>> You can right click on the shortcut in the finder and select "Show Package
>> contents", and then edit the shell script to do whatever you want.
>>
>> A quick search yielded the following list of Firefox Command Line options
>> - http://kb.mozillazine.org/Command_line_arguments .
>>
>> Best regards,
>> Jeremy
>>
>> On Wed, Oct 29, 2008 at 6:03 AM, Jonathan <[EMAIL PROTECTED]> wrote:
>>
>> Hi -
>> Is it possible to configure the desktop shortcut??
>>
>> I'm using firefox on OS X and I would like for my shortcut to always
>> open google docs in a new window. (At the moment, if firefox is
>> already open, it opens it in a new tab.)
>>
>> Also, I'd love it to open firefox with the navigation toolbar closed.
>>
>> Thanks in advance
>> - Jonathan
>>
>>
>

Reply via email to