Jump to content
Sign in to follow this  

Nooby help - running while away

Recommended Posts


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?


Smeg Head

Run("C:\Program Files\Internet Explorer\iexplore.exe")
Opt("WinTitleMatchMode", 2)
WinActivate("Google -")
MouseClick("left", 100, 100, 1)
WinWaitActive("Google -")
Opt("WinTitleMatchMode", 1)
WinWaitActive("CrummySite - Microsoft Internet Explorer")
WinMove("CrummySite - Microsoft Internet Explorer", "", 100, 100, 1000, 800)
MouseClick("left", 792, 330, 1)

... rest of code runs as I watch :(

Share this post

Link to post
Share on other sites

what exactly is this script for? what is the real site that you want to get onto?

Share this post

Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this