Hi Tom,

> http://kb.mozillazine.org/Command_line_arguments firefox has 
> the command line option new-window to force an open in a new
> window. Would there be any way of hacking a shortcut or
> something to do this?

I have the following aliases in my localaliases.txt file:


mozx|run "C:\Program Files\Mozilla FireFox 2\firefox.exe" "%s"|Mozilla
FireFox 2.x Browser|Start Mozilla FireFox 2.x|Browsers

mozt|run "C:\Program Files\Mozilla FireFox 2\firefox.exe" -new-tab
"%s"|Mozilla FireFox 2.x Browser, New Tab|Start Mozilla FireFox 2.x, New
Tab|Browsers

mozw|run "C:\Program Files\Mozilla FireFox 2\firefox.exe" -new-window
"%s"|Mozilla FireFox 2.x Browser, New Window|Start Mozilla FireFox 2.x,
New Window|Browsers

moz1|run "C:\Program Files\Mozilla FireFox\firefox.exe" "%s"|Mozilla
FireFox 1.x Browser|Start Mozilla FireFox 1.x|Browsers


Firefox 1.5 is installed in "C:\Program Files\Mozilla FireFox\"
Firefox 2.x is installed in "C:\Program Files\Mozilla FireFox 2\"

I can open a new tab in Firefox 2 using:
  mozt 12pointdesign.com

Or a new window like:
  mozw 12pointdesign.com

As for how to configure it to use new windows vs new tabs for all
searches... I don't know. Have you tried?:
  reuseBrowserWindowMode = 0;

While the docs say this is only effective for IE, it might work with
Firefox under the new core.


If that doesn't work, try changing line 11 of defer_tools.js from:
    DQSDLauncher.OpenDocument(url);
To:
    DQSDLauncher.OpenDocument(url, " -new-window");

Change line 30 from:
      DQSDLauncher.OpenDocument(params[1], params[3]);
To:
      DQSDLauncher.OpenDocument(params[1], "-new-window " + params[3]);

And line 34 from:
      DQSDLauncher.OpenDocument(path);
To:
      DQSDLauncher.OpenDocument(path, " -new-window");


While I can't guarantee that will work, it looks like the best shot.
These changes will probably cause errors if you ever choose to switch to
IE or a different default browser, so keep that in mind.

Good luck.

Regards,

Shawn K. Hall
http://12PointDesign.com/



-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
To unsubscribe visit:
https://lists.sourceforge.net/lists/listinfo/dqsd-users
DQSD-Users@lists.sourceforge.net
http://sourceforge.net/mailarchive/forum.php?forum_id=8601

Reply via email to