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 


VB2008 SendKeys to process

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

Joined: 20 Jan 2008
Posts: 758
Location: Under your bed

PostPosted: Mon Oct 19, 2009 3:50 pm    Post subject: VB2008 SendKeys to process Reply with quote

How can I use the SendKeys function to send to a certain process not in focus?
Back to top
View user's profile Send private message MSN Messenger
Guy
Expert Cheater
Reputation: 0

Joined: 30 May 2009
Posts: 187

PostPosted: Mon Oct 19, 2009 5:35 pm    Post subject: Reply with quote

I would just use SendInput.
_________________
Has anyone seen Hitler around..? If so, PM me!
Back to top
View user's profile Send private message
NINTENDO
Grandmaster Cheater Supreme
Reputation: 0

Joined: 02 Nov 2007
Posts: 1371

PostPosted: Mon Oct 19, 2009 5:38 pm    Post subject: Reply with quote

Guy` wrote:
I would just use SendInput.

true dat.

_________________
Intel over amd yes.
Back to top
View user's profile Send private message Send e-mail AIM Address Yahoo Messenger MSN Messenger
&Vage
Grandmaster Cheater Supreme
Reputation: 0

Joined: 25 Jul 2008
Posts: 1053

PostPosted: Mon Oct 19, 2009 6:47 pm    Post subject: Reply with quote

Guy` wrote:
I would just use SendInput.
Nig did you see he said unfocused. http://msdn.microsoft.com/en-us/library/ms644944%28VS.85%29.aspx, or http://msdn.microsoft.com/en-us/library/ms644950%28VS.85%29.aspx, or http://msdn.microsoft.com/en-us/library/ms644955%28VS.85%29.aspx and http://msdn.microsoft.com/en-us/library/ms644955%28VS.85%29.aspx
Back to top
View user's profile Send private message
Guy
Expert Cheater
Reputation: 0

Joined: 30 May 2009
Posts: 187

PostPosted: Mon Oct 19, 2009 6:49 pm    Post subject: Reply with quote

&Vage wrote:
Guy` wrote:
I would just use SendInput.
Nig did you see he said unfocused. http://msdn.microsoft.com/en-us/library/ms644944%28VS.85%29.aspx, or http://msdn.microsoft.com/en-us/library/ms644950%28VS.85%29.aspx, or http://msdn.microsoft.com/en-us/library/ms644955%28VS.85%29.aspx and http://msdn.microsoft.com/en-us/library/ms644955%28VS.85%29.aspx


SendInput can function for unfocused windows, assuming it's the explorer shell, or in the foreground (Covered by windows that have the "Always on top" attribute).

Otherwise, SendMessage would be appropriate.

_________________
Has anyone seen Hitler around..? If so, PM me!


Last edited by Guy on Mon Oct 19, 2009 6:52 pm; edited 1 time in total
Back to top
View user's profile Send private message
&Vage
Grandmaster Cheater Supreme
Reputation: 0

Joined: 25 Jul 2008
Posts: 1053

PostPosted: Mon Oct 19, 2009 6:51 pm    Post subject: Reply with quote

http://forum.cheatengine.org/viewtopic.php?p=4589517#4589517 *

OP: The program you want to send the inputs to have a always on top attribute or not? If not, I win~
Back to top
View user's profile Send private message
FullyAwesome
I post too much
Reputation: 0

Joined: 05 Apr 2007
Posts: 4438
Location: Land Down Under

PostPosted: Tue Oct 20, 2009 12:07 am    Post subject: Reply with quote

why not just postmessage?
_________________
Back to top
View user's profile Send private message MSN Messenger
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