I need help with an automated script
August 24, 2011 8:32 AM Subscribe
I need a script that opens a webpage, takes a screenshot, saves it to a file on a network. It has to run every two hours. I've been playing with AutoHotKey but I am not really sure what I'm doing.
posted by desjardins to Computers & Internet (13 answers total) 2 users marked this as a favorite
Here is the script I have so far (the key delay is to let the website load):
SetKeyDelay [2000, -1, -1]
Here's what it does: opens Google in IE, minimizes IE, opens Word, shows a blank page. If I then manually press CTRL + V, it pastes a screenshot of the last window I had open (not Google). There is no save dialog.
This will be run on Windows XP (or possibly Windows 7). I have no choice about this. The end user can handle keyboard shortcuts if they need to do something manually, but I'd prefer this just to run in the background. Most likely this will be run on a spare computer, not one that someone is using for their daily tasks.