Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 1 of 1
Thread: Delphi Help!
07-08-2009, 07:00 AM #1
- Join Date
- Apr 2009
- Thanked 0 Times in 0 Posts
I need help on 2 things.
First, I created an application, I put 2 check boxes (auto click and auto 'z')
I double clicked the Auto Click check box and inputted this code -
procedure TForm1.CheckBox2Click(Sender: TObject); begin mouse_event(MOUSEEVENTF_leftDOWN, 0, 0, 0, 0); mouse_event(MOUSEEVENTF_LEFTUP, 0, 0, 0, 0); if Odd(GetAsyncKeyState(VK_F1)) then end; end.
Next, I want to create the same thing, this time it presses "z" here was a code I found from a game but have no clue how to use it
var MS: HWND; begin MS := FindWindow('MapleStoryClass', NIL); PostMessage(MS,wm_KeyDown,57, 57); end;