View Single Post
  #1 (permalink)  
Old April 12th, 2007, 06:58 PM
Bourne Bourne is offline
Registered User
 
Join Date: Feb 2007
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to Bourne
Default Simulating a key press with c++

Hi, I am looking to write a simple C program that can simulate a button on the keyboard being pressed.
Something simple, like when you execute the program, it simulates the "Z" key being pressed once, waits 4 seconds, simulates another key press, waits another 4 seconds, etc.

If anyone knows how to do this, I would greatly appriciate it.


Reply With Quote