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 


Injecting keystrokes into a process?

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming
View previous topic :: View next topic  
Author Message
Negima
I post too much
Reputation: 6

Joined: 22 May 2007
Posts: 2221

PostPosted: Fri Aug 29, 2008 3:14 am    Post subject: Injecting keystrokes into a process? Reply with quote

How exactly would I inject a keystroke into a process?
Back to top
View user's profile Send private message Visit poster's website
Symbol
I'm a spammer
Reputation: 0

Joined: 18 Apr 2007
Posts: 5094
Location: Israel.

PostPosted: Fri Aug 29, 2008 3:24 am    Post subject: Reply with quote

You don't inject keys into a process.
You send them to a window.

This has been discussed in this forum 1000 times, the first page has like 5 topics about this.
Back to top
View user's profile Send private message
hcavolsdsadgadsg
I'm a spammer
Reputation: 26

Joined: 11 Jun 2007
Posts: 5801

PostPosted: Fri Aug 29, 2008 3:32 am    Post subject: Reply with quote

You can whisper your sweet messages to the window, or generate a keystroke with SendInput.

I think you might want to get the basics down first, you're all over the place. This would become much clearer if you actually spent the time to read and experiment a little.
Back to top
View user's profile Send private message
dnsi0
I post too much
Reputation: 0

Joined: 04 Jan 2007
Posts: 2674

PostPosted: Fri Aug 29, 2008 9:23 am    Post subject: Reply with quote

Pma, SendMessage, Translate/DispatchMessage

And MSDN is your friend. Laughing
Back to top
View user's profile Send private message
jackyyll
Expert Cheater
Reputation: 0

Joined: 28 Jan 2008
Posts: 143
Location: here

PostPosted: Fri Aug 29, 2008 9:41 am    Post subject: Reply with quote

dnsi0 wrote:
Pma, SendMessage, Translate/DispatchMessage

And MSDN is your friend. Laughing


Abbreviating PostMessageA isn't that helpful for someone who doesn't know what they're doing :p
Back to top
View user's profile Send private message AIM Address MSN Messenger
Fuzz
Grandmaster Cheater
Reputation: 0

Joined: 12 Nov 2006
Posts: 531

PostPosted: Fri Aug 29, 2008 10:58 am    Post subject: Reply with quote

InjectMessage();

By irwin.

_________________
Back to top
View user's profile Send private message AIM Address
dnsi0
I post too much
Reputation: 0

Joined: 04 Jan 2007
Posts: 2674

PostPosted: Fri Aug 29, 2008 11:01 am    Post subject: Reply with quote

FindWindowA then use that handle to PostMessageA.

If you making something for maple u will need hookhop which trampolines over the 5 byte jmp hook.
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