passing URL to firefox vi the CLI
LuKreme
kremels at kreme.com
Sat Mar 22 13:19:26 PDT 2008
On 21-Mar-2008, at 13:21, José Pedro do Amaral wrote:
>
> Em 21/03/2008, às 13:24, LuKreme escreveu:
>> On 21-Mar-2008, at 08:15, José Pedro do Amaral wrote:
>>> /Applications/Firefox.app/Contents/MacOS/firefox "http://slashdot.org
>>> "
>>
>>
>> That only works if Firefox is not already running.
>
> OK, then do:
>
> /Applications/Firefox.app/Contents/MacOS/firefox -P default1 -no-
> remote "slashdot.org" &
>
> This will open a new defaults window, where you can create user
> default1, and then a new instance of Firefox will run along with the
> instance already running.
Err.. all I want is to tell firefox "hey, here's a url, load it up
just like if I clicked on it in, say, Mail.app"
I don't want a new user profile or a new instance of firefox to laucnh
> There are a series of other flags, but I could not add tabs to a pre-
> existing instance...
Bah!
On 21-Mar-2008, at 20:05, Charles Jacobs wrote:
> $ osascript -e 'tell application "Firefox" to OpenURL("foo.com")'
fugly, but it should work. Open also. It just seemed it would be good
to pass the URL directly.
--
"Why do you wear that stupid bunny suit?"
"Why are you wearing that stupid man suit?"
More information about the MacOSX-talk
mailing list