Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

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 would like to know if there's a program that can press keys. For instance I would like the program to press Ctrl+v and Print Screen. I have googled a bit and found out that notepad can do this but I dont seem to get it right.

share|improve this question

AutoHotKey is exactly what you're looking for.

share|improve this answer
    
I downloaded AutoHotKey but I dont know what must be inside the script. Please include the exact text to press keys, with spaces so i can add my keys to the script. – user83241 Jun 21 '11 at 13:13
    
@user6321; The documentation is very good and can explain it far better than I can, but the jist of it is that LHS::RHS maps the key on the left hand side to the sequence on the right hand side. For example, q::^v{PrintScreen} would press control-v, then printscreen, when you press the q button. – Phoshi Jun 21 '11 at 14:05

Theres ACTool for example. It was made for a game (Asheron's Call) but it works with anything else, too.

share|improve this answer

If you need to write a script to automate key presses, try AutoIT. It is its own scripting language but can act as a plugin to vbscript & powershell

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .