J
Jay Douglas
I'm writing a application that is a lot like a macro in C#. Basically, when
a user presses a certain key, the software needs to generate a series of
keystrokes.
I have the code written that listens for the keystrokes using
GetAsyncKeyState from user32.dll ... But for the life of me I can not
figure out how to generate characters as if the user was pressing them.
The keystrokes need to be in a different application which will have the
current focus.
The keystrokes are really simple (ALT X A B C)
Any help is appreciated.
Thanks in advance.
a user presses a certain key, the software needs to generate a series of
keystrokes.
I have the code written that listens for the keystrokes using
GetAsyncKeyState from user32.dll ... But for the life of me I can not
figure out how to generate characters as if the user was pressing them.
The keystrokes need to be in a different application which will have the
current focus.
The keystrokes are really simple (ALT X A B C)
Any help is appreciated.
Thanks in advance.