i want to open via desktop 2 shortcuts a web address in 2 different windows/profiles and tabs.
i want to open via desktop 2 shortcuts a web address in 2 different windows/profiles and tabs. the error is to many instances.
What i am doing. My POS software i use requires firefox, but other things i do on the web require explorer. I look up parts for cars and things. Anyways i'm creating key stroke macros for my keyboard to automatically bring up firefox to the correct POS Screen i need. Example script firefox.exe no-remote -p JP1 -new-tab "webaddress here" firefox.exe no-remote -p JP2 -new-tab "webaddress here"
what that does is launch firefox into the 2 profiles with new windows on my two monitors. the problem comes in when i need to push the button again to open another tab it gives the to many instances open error.
Сви одговори (10)
When you use the shortcut a second time, have you closed the first two instances? Even with -no-remote, I don't think you want to launch into profiles that are already in use.
(Sorry, I don't have personal experience trying to operate two sessions and direct external links to one of the two sessions.)
Jefferson is correct. When a Profile that was launched using the -no-remote command is still running, you will get the message that Firefox is already running. The -no-remote command is designed to ignore other processes, but not the same process. Sorry, I don't know a method to get around or bypass that issue.
Yeah i know it's kind of odd. I was reading in some of the dev stuff about it locking the profile when using he -no-remote. ok, so scratch that i don't neccessarily need to launch firefox but i do need to open new tabs into the 2 different profiles via a command line.
IE: Screen one i hit my command key website 1 pops up in a new tab of already running profile
press button #2 and website 2 pops up on screen 2 inside of profile 2.
basically like this key 1 -p "JP1" -new-tab "website" key 2 -p "JP2" -new-tab "website" as of right now they both just open in the same "instance/window". How i can direct it to open new tab with website into JP2 which is screen2.
i've even installed a second instance of firefox and was thinking maybe i can move the or create another profile so it doesn't get locked.. another line i'm pursuing..
Apologies if this is a dumb question but: why does this need to be done externally instead of from within Firefox? Between bookmarks, the sidebar, JavaScript in a document loaded from your computer, and add-ons, it seems that you could load the pages in a number of ways. There also are extensions which let you run with isolated session cookies in different windows so that you don't need separate instances of firefox.exe to be in the site in two different sessions (although I haven't tried it myself, and maybe they're only pre-configured for some popular sites).
The only option you have is to open one Firefox instance without the -no-remote switch.
Then you can open a link in that instance via a command line without using the -P profile switch.
My company has 2 branches and my POS software does not allow me to be logged into both @ the same time atleast not in a efficient manner. I run two screens to do both branches. I need the 2 profiles because the cookies for logins and such kept cross contaminating. If someone has a way to keep me in the same instance with 2 different logins i'd be interested in that as well.
@COR-EL will those commands put the link i need into the appropriate screen/profile? i need them to open on 2 different screens.
You can look the Multifox extension if you want to sign on with different identities at the same time:
- Multifox: http://br.mozdev.org/multifox/
Note that this only works for cookies and may fail if other local storage (IndexedDB or DOM storage) is being used.
That might be the answer.. now can i use command lines with that extension? I will do some reading if someone has a quick answer or a link thanks.