Snootae Grandmaster Cheater
Reputation: 0
Joined: 16 Dec 2006 Posts: 969 Location: --->
|
Posted: Tue Jan 22, 2008 8:30 pm Post subject: Delphi Virtual Key Sending |
|
|
I'm working in send chunks of text to notepad by converting them to Virtual Keycodes
i'm using
this returns an integer so i assume it makes it into a hex value, but i can't figure out how to send hex virtual keycodes at all, i started by trying
| Code: | | hhPostMessageA(h,WM_KeyDown,$41,0); | because i read another topic that someone used '$' and it worked (which i cant find anymore)
i also tryed it without the '$' but im not having much luck
P.S.
| Code: | for i := 1 to Length(EditText.text) do
TempChar := Char(EditText.text[i]);
CharScan := VkKeyScan(TempChar);
i : integer;
CharScan : integer;
TempChar : Char;
|
would this work? im trying to extract one character and turn it into a virtual key (i cant test if this works till i get the first part working)
|
|