Klexen Posted May 31, 2007 Share Posted May 31, 2007 There is a page that I use at work that times out after 15minutes or so of inactivity. It pops up with a box that you can click ok and it will reset the timeout. I was wondering if it was possible to write a script that would sit in tray and wait for the popup, and automatically click it? Link to comment Share on other sites More sharing options...
PsaltyDS Posted May 31, 2007 Share Posted May 31, 2007 There is a page that I use at work that times out after 15minutes or so of inactivity. It pops up with a box that you can click ok and it will reset the timeout. I was wondering if it was possible to write a script that would sit in tray and wait for the popup, and automatically click it?Easy stuff. Check out WinExists() to see the pop up, and ControlClick() to click "OK" or whatever. Put it in a loop with While/WEnd so it runs always.Post your code if you get stuck. Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law 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