| View previous topic :: View next topic |
| Author |
Message |
Michel Expert Cheater
Reputation: 0
Joined: 16 May 2007 Posts: 214 Location: The Netherlands
|
Posted: Sat Dec 22, 2007 1:45 am Post subject: Delphi Sendkeys/PostMessage |
|
|
Ok, I got some problems...
| Code: | procedure TForm1.Button8Click(Sender: TObject);
begin
AppActivate('Notepad - Untitled') ;
sleep(450);
SendKeys ('honoes' , true) ;
end; |
this one worked just fine.
but with this one
| Code: |
procedure TForm1.Button8Click(Sender: TObject);
begin
AppActivate('MapleStory') ;
sleep(450);
SendKeys ('honoes' , true) ;
end; |
did Maple not recieve the text..
Does it have to be like
| Code: | procedure TForm1.Button8Click(Sender: TObject);
begin
AppActivate('nil,MapleStory') ;
sleep(1000);
SendKeys ('honoes' , true) ;
end; |
And I dont really understand PostMessage..
| Code: | procedure TForm1.Timer2Timer(Sender: TObject);
var
Wnd:hWnd;
begin
Wnd := FindWindowA(nil,'MapleStory);
if Wnd <>0
then begin
PostMessage(Wnd, WM_KEYDOWN, ord(VK_SPACE),0);
end;
|
Or do I have to use ActiveWindow...
How do I post messages with that... and not just one click, but real text..
Sorry for being so noob -_- I just never worked with SendKeys and PostMessage bfore...
And yes, I know they hooked Postmessage and that shit.
|
|
| Back to top |
|
 |
HolyBlah Master Cheater
Reputation: 2
Joined: 24 Aug 2007 Posts: 446
|
Posted: Sat Dec 22, 2007 6:55 am Post subject: |
|
|
It will not wok on MS because of GameGuard.
You should use PMX.dll or somthing...
|
|
| Back to top |
|
 |
the_undead Expert Cheater
Reputation: 1
Joined: 12 Nov 2006 Posts: 235 Location: Johannesburg, South Africa
|
Posted: Sat Dec 22, 2007 7:02 am Post subject: |
|
|
...but youre trying to use postmessage on maplestory? GG has hooked it...
_________________
|
|
| Back to top |
|
 |
Michel Expert Cheater
Reputation: 0
Joined: 16 May 2007 Posts: 214 Location: The Netherlands
|
Posted: Sat Dec 22, 2007 9:11 am Post subject: |
|
|
| So I have to use HookHop.dll..?
|
|
| Back to top |
|
 |
HolyBlah Master Cheater
Reputation: 2
Joined: 24 Aug 2007 Posts: 446
|
Posted: Sat Dec 22, 2007 11:01 am Post subject: |
|
|
| Yes. Or create one by urself.
|
|
| Back to top |
|
 |
|