IE (or Firefox or Chrome) question

Started by seckner, January 12, 2016, 12:54:52 PM

Previous topic - Next topic

seckner

I have a small program that opens IE, loads a bunch of tabs and then cycles through each tab. Each tab is a report or server status just as a way of keeping track of things. Because of an number of new reports my prg is opening about 20 different tabs - so tab 1 could see a problem but, being on tab 2 it would take a while to get back to tab 1 again. Can 2 have separate instances be opened and each controlled separately? My thinking is to set up a second monitor (done), one instance on each (done) and have the tabs change independent of each other (NOT done). How would I distinguish between the two separate instances of the browser? I've been trying to figure this out for a bit now but all I end up doing is changing both tabs at the same time. I thought maybe using Firefox or chrome but I haven't found a way to control them like I can with IE. Any ideas greatly appreciated!

td

One way to start two separate instances of IE is to use the '-nomerge' command line parameter:

Code (winbatch) Select
run("iexplore.exe","http://www.winbatch.com")
run("iexplore.exe","-nomerge http://www.winbatch.com")


As for distinguishing between them there are multiple topics relating to that issue on this forum and in the Tech Database.  Here is a link to one of several:

http://techsupt.winbatch.com/webcgi/webbatch.exe?techsupt/nftechsupt.web+WinBatch/OLE~COM~ADO~CDO~ADSI~LDAP/OLE~with~MSIE+Distinguish~between~IE~window~and~a~Windows~Explorer~window.txt

"No one who sees a peregrine falcon fly can ever forget the beauty and thrill of that flight."
  - Dr. Tom Cade