Page 1 of 1
Sandboxed browser and opening sites in multiple tabs
Posted: Nov 15th, ’15, 16:48
by Faraway
I'm using FF-based browser Palemoon running in sandboxie. Would like to make script that checks if sandboxed palemoon is already running (if not,then start it)
and open several sites each in their own tab.
Have tried to create something on my own but I'm still learning the basic commands of scripting...
thank you
Re: Sandboxed browser and opening sites in multiple tabs
Posted: Nov 16th, ’15, 18:23
by Marko
This works for Firefox, try to adapt it for Sandboxie:
Code: Select all
SetTitleMatchMode, 2
run Firefox.exe "www.yahoo.com"
WinWait Firefox
run Firefox.exe "www.google.com"
Re: Sandboxed browser and opening sites in multiple tabs
Posted: Nov 16th, ’15, 22:24
by Faraway
I have tried and somehow I got fastkeys crashing

and I learned about 'SetTitleMatchMode'; Crash was because of wrong titlename (palemoon) while I should use (Pale Moon). Finally I have added sandboxie path to it. It's working now. But seems that sometimes only one tab is opened so I added 'send, ^t' to open a tab before opening and then I got two tabs and a new tab open.
Then I removed the new tab command and then it's working as intended. Why it sometimes refuses to open more than 1 tab I don't know.
Back to learning,
thanks!
Ria
Re: Sandboxed browser and opening sites in multiple tabs
Posted: Nov 18th, ’15, 20:38
by Marko
Would this help?
run Firefox.exe -new-tab "
www.google.com"