I have a situation where I need to be able to open to separate copies of IE9 and have each one automatically size itself to half screen. One left, one right.
Currently, I have made it as far as getting the script to open two copies on two different pages but they overlay each other. Then, I have to use the win+left arrow on one copy and win+right arrow on the other. This results in a perfect 50/50 split for the two open pages. This also involved my having to change the setting in IE that governs whether a new page is opened in a New Window or a New Tab, having to set that to "window".
My intent is to get this to happen without making permanent changes to the users’ browser settings and without having to explain to them how to use the win+arrow functions. I need to do it in a single script. While at it, it would probably be nice for each page to be in "kiosk mode" to eliminate the unnecessary toolbars.
This is to allow the user to operate with evenly divided information provided from two separate websites and when they log off, I (and I am sure THEY) would prefer that this “special arrangement” not stay in effect for their normal browsing.
If there is a command- line equivalent to the "win key + left arrow" or "win key + right arrow" that would go a long way toward the answer.
Also a command line to “restore to default” would help as IE9 is very good (?) about re-opening in the exact same format as it was closed in. It would be OK if the “reset commands” were a separate function as the users will be in the split-screen format for hours at a time.
This is where I got so far. Then I found I had to start changing default browser settings and I would prefer not to do this. Or if I have to, I need to be able to restore them. If there were a few switches I could add to each line that would force one page to the left and the other to the right, that would achieve the Win+left arrow etc.
Script:
@echo off
start /d "C:\Program Files\Internet Explorer" IEXPLORE.EXE www.google.com
start /d "C:\Program Files\Internet Explorer" IEXPLORE.EXE www.yahoo.com
So far, that is all I have. Thanks for any advice.
