Author Topic: How to open Firefox from Slickedit on MacOS ?  (Read 2441 times)

magpie

  • Senior Community Member
  • Posts: 100
  • Hero Points: 5
How to open Firefox from Slickedit on MacOS ?
« on: August 13, 2008, 08:49:15 am »
I have a new install of SlickEdit 13.0.1 plus hotfix, and when I select Firefox in the Web Browser setup and do html-preview
I get an error that suggests it doesn't know where to find firefox. If I browse for the binary and select 'firefox' it works if firefox
is not already running. I want it to open regardless.

Thanks for any help

magpie

madmuggle

  • Community Member
  • Posts: 30
  • Hero Points: 0
Re: How to open Firefox from Slickedit on MacOS ?
« Reply #1 on: August 15, 2008, 12:58:17 am »
Well assuming Firefox is your default browser, you could try just invoking OSX's open command on the URL.  This will work if the browser is open as well as if it's closed.

Open a terminal and run:

open http://www.slickedit.com

It should open your browser or if it's already open the URL.

So maybe just replace the html-preview command with 'open <url>' rather than have it launch firefox.

Haven't tested any of this, just an idea.

Oh an the open command is at /usr/bin/open, in case it needs a full path (at least on my system), you can run 'which open' from the terminal to find out where yours is, in case it's different (unlikely though).

« Last Edit: August 15, 2008, 01:00:23 am by madmuggle »