Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm on Win7. I've a small program (that I didn't write) which contains a single button. I need this to be run on a schedule and the button pressed (the app can then be closed).

I have set up the Task Scheduler on my Win7 machine so it runs the app, but I cannot see any way of getting the button pressed. As far as I can tell the app has no command-line arguments.

Is there a way of getting the scheduler to do this?

share|improve this question
up vote 1 down vote accepted

AutoHotkey or AutoIt should be able to do that. With AutoHotkey, you can create your script and then use Task Scheduler to run the script.

share|improve this answer
Thanks! Works swimmingly. – Tomas Jun 25 '10 at 13:12

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.