SmegHead Posted August 9, 2007 Share Posted August 9, 2007 Hi. I have a simple script to start IE, then navigate to a page, enter a user/id, etc. Everything works fine when I initiate the script manually. I would like it to run using NT scheduler (on Windows 2003) while I am away. The script starts, but never activates the initial window. When I log in, it is stuck there until I click on the Window - at which point the rest of the script executes. Will this work offline? Cheers, Smeg Head Run("C:\Program Files\Internet Explorer\iexplore.exe") Sleep(12000) Opt("WinTitleMatchMode", 2) WinActivate("Google -") MouseClick("left", 100, 100, 1) WinWaitActive("Google -") Send("!d") Send("www.crummysite.com") Send("{ENTER}") Opt("WinTitleMatchMode", 1) WinWaitActive("CrummySite - Microsoft Internet Explorer") Sleep(15000) WinMove("CrummySite - Microsoft Internet Explorer", "", 100, 100, 1000, 800) Sleep(3000) MouseClick("left", 792, 330, 1) ... rest of code runs as I watch :( Link to comment Share on other sites More sharing options...
narayanjr Posted August 9, 2007 Share Posted August 9, 2007 what exactly is this script for? what is the real site that you want to get onto? Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now