[HELP] Coding correct hotkeys (Crossfire)

Posts 1617 of 17 · Page 2 of 2
Quote Originally Posted by Kuro Tenshi View Post
why use it if this works too :3 besides whats longer some char u write as a sendkey typ or the above one ;D
Well I don't always use it for single chars but say you were doing something like this (just making stuff up from the top of my head):

[php]
string myMessage = "welcome to mpgh"
for(int a = 0; a<myMessage.size; a++)
{
keybd_event(VkKeyScan(myMessage[a]), 0, 0, 0);
}
[/php]

To press each key in a string, you're not going to be able to do it easily without VkKeyScan are you?
XD instead of posting an answer you people having conversation :]

thanks everyone. and void nice hotkey hook but my brain hurts... got 17/55 on an ap history test. hehe
Posts 1617 of 17 · Page 2 of 2

Post a Reply

Similar Threads

Tags for this Thread

None

Need help?