rhea_walters
asked on
Automatic toggle between internet session windows.
The original situation/question/solutio n is so close to what I need, but I seem to be missing something.
Original: I have an XP pro machine at work that I am using as a kind of admin/monitoring station for ... ~
I need to toggle through 3 internet sessions from a hosted application. (internet sessions slideshow)
I tried the suggested script, but I get a script error. The internet windows display different content, but the window titles are all the same (https://secure.contactondemand.com/CCA/SCOD/Dashboard/workgroupCurrDayBillboard.jsp). Any help would be GREATLY appreciated.
Original: I have an XP pro machine at work that I am using as a kind of admin/monitoring station for ... ~
I need to toggle through 3 internet sessions from a hosted application. (internet sessions slideshow)
I tried the suggested script, but I get a script error. The internet windows display different content, but the window titles are all the same (https://secure.contactondemand.com/CCA/SCOD/Dashboard/workgroupCurrDayBillboard.jsp). Any help would be GREATLY appreciated.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
https://addons.mozilla.org/en-US/firefox/addon/2688
ASKER
Getting closer, but this is a company computer so I am limitted to the use of internet explorer. Additionally, these windows will not open as TABS (I've tried).
I liked your suggestion and used it to search for the same feature for IE, but the only one I found required another download to download, etc, etc... This is a company computer and I will take some liberties, but I don't want to get bogged down in excessive downloads. I eventually have to repeat this process on at least 4 other computers,
I liked your suggestion and used it to search for the same feature for IE, but the only one I found required another download to download, etc, etc... This is a company computer and I will take some liberties, but I don't want to get bogged down in excessive downloads. I eventually have to repeat this process on at least 4 other computers,
ASKER
After a lot of hunting, copy/pasting, and trial and error, I came up with a working solution. I minimized everything except the windows I want to scroll, then kick off the script.
Option Explicit
dim objShell
Set objShell = CreateObject("WScript.Shel l")
Do While (err.number = 0)
objShell.SendKeys "%"+"{TAB}"+"{TAB}"
if (err.number <> 0) then exit do
Wscript.Sleep 5000
Loop
quit
The one problem I still have is how to get out of the loop. I either have to stop the task using task mgr, or get to the cmd window and clt-C. I'm still toying with using task scheduler to start and stop the process so it can be completely hands-off.
Option Explicit
dim objShell
Set objShell = CreateObject("WScript.Shel
Do While (err.number = 0)
objShell.SendKeys "%"+"{TAB}"+"{TAB}"
if (err.number <> 0) then exit do
Wscript.Sleep 5000
Loop
quit
The one problem I still have is how to get out of the loop. I either have to stop the task using task mgr, or get to the cmd window and clt-C. I'm still toying with using task scheduler to start and stop the process so it can be completely hands-off.
ASKER
The solution was probably sound, but didn't fit my situation. I do appreciate your taking the time to respond.