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