C++ program that types when X happens.

Alright so basically I am working on this program that will unscramble a certain word. How I want it to work is this:
a) I hit a button to let it know that it must store the next letters, up until I hit "." - Done
b) Unscramble the word created - Hopefully done
c) Type the following combination: T - unscrambled word - ENTER -> Undone

Can you guys help me with step C?

Also, is there a way it can work on the background and type in a different chat? Like AHK for example?

thanks in advance
Last edited on
These might help, or they might just confuse you... I don't really understand what your doing.

http://www.cplusplus.com/articles/EbqpX9L8/
This code doesn't work but can be made to work with some effort.


https://msdn.microsoft.com/en-us/library/windows/desktop/dd375731%28v=vs.85%29.aspx?f=255&MSPPError=-2147217396

You probably want to look at
VK_OEM_PERIOD or VK_RETURN




Topic archived. No new replies allowed.