| View previous topic :: View next topic |
| Author |
Message |
malfunction Grandmaster Cheater Supreme
Reputation: 0
Joined: 30 Jan 2007 Posts: 1015 Location: http://www.behindthecorner.com/
|
Posted: Mon Feb 25, 2008 1:20 pm Post subject: [DELPHI] Get and set mouse position |
|
|
I remember someone request something like this a while ago. This could be used, eg. in a auto clicker for MapleStory or anyother game
| Code: | procedure TForm1.Button1Click(Sender: TObject);
var
MausPos: TPoint;
begin
GetCursorPos(MausPos);
label1.Caption := IntToStr(MausPos.x);
label2.Caption := IntToStr(MausPos.y);
end;
procedure TForm1.Button2Click(Sender: TObject);
begin
SetCursorPos(600, 600);
end; |
_________________
|
|
| Back to top |
|
 |
NothingToShow Grandmaster Cheater Supreme
Reputation: 0
Joined: 11 Jul 2007 Posts: 1579
|
Posted: Mon Feb 25, 2008 1:23 pm Post subject: |
|
|
Don't "spam" the whole forum!
Post one topic, and put all your tutorials there.
|
|
| Back to top |
|
 |
malfunction Grandmaster Cheater Supreme
Reputation: 0
Joined: 30 Jan 2007 Posts: 1015 Location: http://www.behindthecorner.com/
|
Posted: Mon Feb 25, 2008 1:24 pm Post subject: |
|
|
not spamming I just dont want them all to be in one big pile, because some of these are not related to each other in anyway.
_________________
|
|
| Back to top |
|
 |
NothingToShow Grandmaster Cheater Supreme
Reputation: 0
Joined: 11 Jul 2007 Posts: 1579
|
Posted: Mon Feb 25, 2008 1:27 pm Post subject: |
|
|
| skyllakarean wrote: | | not spamming I just dont want them all to be in one big pile, because some of these are not related to each other in anyway. |
Then make a topic like.
[Delphi] Different tutorials
|
|
| Back to top |
|
 |
HolyBlah Master Cheater
Reputation: 2
Joined: 24 Aug 2007 Posts: 446
|
|
| Back to top |
|
 |
Michel Expert Cheater
Reputation: 0
Joined: 16 May 2007 Posts: 214 Location: The Netherlands
|
Posted: Mon Feb 25, 2008 3:09 pm Post subject: |
|
|
| You should`ve atleast translated MausPos to MousePos..
|
|
| Back to top |
|
 |
atom0s Moderator
Reputation: 205
Joined: 25 Jan 2006 Posts: 8587 Location: 127.0.0.1
|
Posted: Tue Feb 26, 2008 11:40 pm Post subject: |
|
|
skyllakarean, stop posting things without crediting the actual authors. Consider this your verbal warning. Each post you have made, someone has shown where you have taken it from. If you continue doing this you will be given warnings. IF you still continue then, you will be banned.
_________________
- Retired. |
|
| Back to top |
|
 |
|