Търсене в помощните статии

Избягвайте измамите при поддръжката. Никога няма да ви помолим да се обадите или изпратите SMS на телефонен номер или да споделите лична информация. Моля, докладвайте подозрителна активност на "Докладване за злоупотреба".

Learn More

On Mac OS X, how can I create a new Firefox window in a specific profile from command line?

  • 2 отговора
  • 1 има този проблем
  • 26 изгледи
  • Последен отговор от lhquam

more options

I have tried

   /Applications/Firefox.app/Contents/MacOS/firefox-bin -P <profile> -no-remote &

and

  /Applications/Firefox.app/Contents/MacOS/firefox-bin -P <profile> -no-remote -new-window <URL> &

but I always get the error: "A copy of Firefox is already open. Only one copy of Firefox can be open at a time."

I have tried /Applications/Firefox.app/Contents/MacOS/firefox-bin -P <profile> -no-remote & and /Applications/Firefox.app/Contents/MacOS/firefox-bin -P <profile> -no-remote -new-window <URL> & but I always get the error: "A copy of Firefox is already open. Only one copy of Firefox can be open at a time."

Всички отговори (2)

more options

That is not possible. You can't open a new tab or new window in a specific instance (profile) via the command line. You can only open a new window with a separate profile via the -no-remote command line switch.

more options

I found this possible answer using AppleScript. Is it viable?

http://superuser.com/questions/396434/how-to-open-a-new-firefox-window-with-terminal