hi,
EDIT: wrong title... should be : Help whit string-compatible sendkeys
i'm having some troubles using the sendkeyapi (posted here, on MPGH.net)... I want to send a string of text using keybd_event, but I'm having some problems...
here is the code (it's loland code):
[php]
Dim mystrng as string = "text"
dim chrs() as char = mystrng.tochararray 'converts mystrng to an array of characters
Dim i as integer = 0
Do until i = chrs.count 'performs an action until all the characters are covered
keybd_event(vkKeyScan(chrs(i)), 0, 0, 0) 'keydowns the specified character
keybd_event(vkKeyScan(chrs(i)), 0, KEYEVENTF_KEYUP, 0) 'keyups the specified character
i += 1
Loop
[/php]
I understand everything in there, exept the vkKeyScan (don't know how it works...)
Can someone tell me how to make this work? Thanks...
You can see the original Module and code (and other stuff) here:
http://www.mpgh.net/forum/33-visual-...y-alt-sdk.html
or here
http://www.mpgh.net/forum/33-visual-basics/137965-sdk-multiplayer-game-hacking-vb-codes.html