[Help] A little coding help with C++

06/12/2010 23:18 iRook#1
So I'm trying to make a bot that does keystrokes.

Im using keybd_event to press keys and the bot work fine on say..notepad.

Its just that in s4, nothing happens. Do I have to like get the handle of s4 or something?

Thanks for any replies


Hmm just read up on it a bit. Says that you have to get the handle (which I am now doing) and then send "appropriately formatted" input to the window....I mean I have seen autoit bots that work fine..

Another edit. Im going to switch to SendInput and see if that works