[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 662
  • Last Modified:

Automatic toggle between internet session windows.

The original situation/question/solution 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.
0
rhea_walters
Asked:
rhea_walters
  • 3
  • 2
1 Solution
 
Jared LukerCommented:
Are you talking about switching between browser windows?

If so, you can get firefox with the Tab Slideshow addon that will switch between tabs for you.
0
 
rhea_waltersAuthor Commented:
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,
0
 
rhea_waltersAuthor Commented:
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.Shell")
   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.
0
 
rhea_waltersAuthor Commented:
The solution was probably sound, but didn't fit my situation. I do appreciate your taking the time to respond.
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now