Knowledgebase

Need help with Shell Script

Posted by WHU-Mike, 10-28-2011, 04:06 PM
We have two LCD monitors. Each monitor displays a separate window of Internet Explorer. I need both internet explorer windows to switch tabs automatically every 10 seconds. I searched for this script; however, it only focuses its attention on 1 internet explorer window. How can I get this script to work for both instances of IE? Thanks! (I am using Windows XP SP3 32bit with IE8)

Posted by dclardy, 10-28-2011, 05:18 PM
I don't think that script is dealing with IE at all. It is just simulating a Ctrl+Tab action every 10 seconds. If you take your focus off of the IE Window, I bet that it wouldn't work. What you need is a script that cycles through each IE instance, and then simulates a Ctrl+Tab. Let me see if I can figure out how to cycle through particular instances of a program.

Posted by dclardy, 10-28-2011, 05:26 PM
Can you try adding this to your script? It doesn't do anything with IE, but it should Alt+Tab between the windows. set WshShell = WScript.CreateObject("WScript.Shell") do while 1=1 wscript.sleep 6000 WshShell.SendKeys "%{TAB}" WshShell.SendKeys "^{TAB}" loop

Posted by mattmackman, 12-28-2011, 03:48 AM
You can do this via writing a java script

Posted by hoststopuk, 12-28-2011, 11:53 PM
Hi Guys.. You can create a script using find at Unix Pin. Hope this helps.



Was this answer helpful?

Add to Favourites Add to Favourites

Print this Article Print this Article

Also Read
Managed DNS service? (Views: 597)
huge load on apache (Views: 635)
Staminus down? (Views: 608)


Language:

Client Login

Email

Password

Remember Me

Search