Link to home
Start Free TrialLog in
Avatar of Jim Metcalf
Jim MetcalfFlag for United States of America

asked on

internet explorer and safari to open up 7 pages at once

I have this annoying task where i have to go every day to 7 pages and login and change a setting......

i dont want my homepage in internet options to open up these 7 page at once
but i would like for all 7 pages to open up at once in 7 tabs so i can quickly go through this process.
is there away to do this in internet explorer?  i am using version 8

also my partner will have to do this and she uses a mac with safari...
same question for safari????
Avatar of pnorms
pnorms

You could create a bat file (right click on your desktop, select new text file rename it something like pages.BAT.)
Right click it again and hit edit.

Save this (replaceing the URLS, but keeping "start "

start http://test1.com
start http://test2.com
start http://test3.com
start http://test4.com
start http://test5.com
start http://test6.com
start http://test7.com
For you partner she would need to create a bash script with anyname and use:

#!/bin/bash
safari http://test1.com
safari http://test2.com
safari http://test3.com
safari http://test4.com
safari http://test5.com
safari http://test6.com
safari http://test7.com

After saving it make it executable by right clicking and changing it to executable.
Avatar of Jim Metcalf

ASKER

ok so its more complicated than i thought.
it works fine for normal webpages...
but these pages are buried deep into a login.

so what i thought was...
if i login to the page manuall first and then run the script that it would take me to those pages.

well it doesnt.. one part of the url doesnt show up for some reason but whats interesting is...

if i copy the link of the page im trying to shortcut too... then closoe the webpage.... then reopen internet explorer and paste the url it goes to the webpage fine.  so there is some difference in the process of opening explorer pasting url and then going to webpage versus the script file....
any ideas.

here is an example of the url i am trying to use.

https://store-d8cc9.mybigcommerce.com/admin/index.php?
ToDo=editProduct&productId=88#

one of the numbers i changed for security purposes but i wanted to give you an idea of whats happening.
thats an example of the contents of the script file
but where it actually goes is here when i run script file

https://store-d8cc9.mybigcommerce.com/admin/index.php?ToDo=editProduct

ASKER CERTIFIED SOLUTION
Avatar of pnorms
pnorms

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Change the Internet Explorer 8 settings to: always open popups in a new tab (Tools > Options - Towards the bottom select tabs)

Use this code in your batch:

REM - The first line is for the login page
REM - after you login close the page and 
REM - the rest of the pages will open up.
:LOGIN
start /d "%PROGRAMFILES%\Internet Explorer" iexplore.exe "https://store-d8cc9.mybigcommerce.com/admin/index.php?ToDo=editProduct"
pause
:OPENPAGES
start /d "%PROGRAMFILES%\Internet Explorer" iexplore.exe "https://replaceme.com"
start /d "%PROGRAMFILES%\Internet Explorer" iexplore.exe "https://replaceme.com"
start /d "%PROGRAMFILES%\Internet Explorer" iexplore.exe "https://replaceme.com"
start /d "%PROGRAMFILES%\Internet Explorer" iexplore.exe "https://replaceme.com"
start /d "%PROGRAMFILES%\Internet Explorer" iexplore.exe "https://replaceme.com"
start /d "%PROGRAMFILES%\Internet Explorer" iexplore.exe "https://replaceme.com"
start /d "%PROGRAMFILES%\Internet Explorer" iexplore.exe "https://replaceme.com"
:EOF
exit

Open in new window