Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


Delphi Virtual Key Sending

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming
View previous topic :: View next topic  
Author Message
Snootae
Grandmaster Cheater
Reputation: 0

Joined: 16 Dec 2006
Posts: 969
Location: --->

PostPosted: Tue Jan 22, 2008 8:30 pm    Post subject: Delphi Virtual Key Sending Reply with quote

I'm working in send chunks of text to notepad by converting them to Virtual Keycodes

i'm using
Code:
VkKeyScan(Key)


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)
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites