Auto klikker
| C / C++ Discuss, Auto klikker at Programmers Lounge forum; can any 1 here make a auto mouse klikker
X Y
908 555
435 620
502 661
every 2 min
... |
| Notices | Welcome to the Gamerz Needs forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact contact us. |  | 
08-03-2008, 11:23 AM
|  | Double Wood Axe | | | Last Online: 10-20-2008 08:13 AM Join Date: Mar 2007
Posts: 27
Thanks: 7
Thanked 1 Time in 1 Post
Nominated 0 Times in 0 Posts TOTW/F/M Award(s): 0
Latest Blog:
Rep Power: 0 Points: 3,673.90 Bank: 0.00 Total Points: 3,673.90 | | Auto klikker  can any 1 here make a auto mouse klikker
X Y
908 555
435 620
502 661
every 2 min
or can u learn it to me
Last edited by marco1784; 08-03-2008 at 11:27 AM..
| 
08-03-2008, 11:30 AM
|  | Diamond Hole | | | Last Online: Today 04:34 PM Join Date: Jan 2007 Location: California
Posts: 756
Thanks: 144
Thanked 99 Times in 50 Posts
Nominated 6 Times in 3 Posts TOTW/F/M Award(s): 0
Latest Blog: blahh!!!
Rep Power: 6 Points: 1,600.90 Bank: 95,830.04 Total Points: 97,430.94 | | | | 
08-03-2008, 11:36 AM
|  | Double Wood Axe | | | Last Online: 10-20-2008 08:13 AM Join Date: Mar 2007
Posts: 27
Thanks: 7
Thanked 1 Time in 1 Post
Nominated 0 Times in 0 Posts TOTW/F/M Award(s): 0
Latest Blog:
Rep Power: 0 Points: 3,673.90 Bank: 0.00 Total Points: 3,673.90 | | |
i have take a look but wow its not easy :S can u explain more simple and what kind of program u need ?
| 
08-04-2008, 08:47 AM
|  | Registered Users + | | | Last Online: Today 12:03 PM Join Date: Nov 2006 Location: Location:
Posts: 2,064
Thanks: 230
Thanked 221 Times in 145 Posts
Nominated 0 Times in 0 Posts TOTW/F/M Award(s): 0
Latest Blog:
Rep Power: 11 Points: 1,091.40 Bank: 110,398.61 Total Points: 111,490.01 | |
alright dude, heres A push towards the right direction.
first! we want to set Your Cursor position right?
Delphi - Quote:
var
Pos1: Array of Integer;
Pos2: Array of Integer;
Pos3: Array of Integer; //Get our Variables going
begin
SetLength(Pos1, 2);
Pos1[0] := 908; //The X Position
Pos1[1] := 555; //The Y Position;
SetLength(Pos2, 2);
Pos2[0] := 435;
Pos2[1] := 620;
SetLength(Pos3, 2);
Pos3[0] := 502;
Pos3[1] := 661;
end;
| I'm sure theres otehr ways but I'm lazy ^^
As for the rest, take a look at my thread a few more times and Follow accordingly
Good Lucck ^^
__________________ Ha I'm back whatever | | The Following User Says Thank You to kaswar For This Useful Post: | | 
08-05-2008, 07:30 PM
|  | Dubai | | | Last Online: Today 09:45 AM Join Date: Apr 2008
Posts: 192
Thanks: 5
Thanked 382 Times in 52 Posts
Nominated 2 Times in 1 Post TOTW/F/M Award(s): 0
Latest Blog:
Rep Power: 2 Points: 1,179.88 Bank: 10,124.81 Total Points: 11,304.68 | | |
this is no delphi section ..
+ SetLength ( Only used in delphi ) to changes the size of a string .
For changing mouse position use
SetCursorPos(X,Y);
well there is no need to explain everything , he is not going to do it ..
I just realized that he is asking someone to make it =]
| 
08-06-2008, 06:29 AM
|  | T3H Team Pro Coder | | | Last Online: 10-22-2008 06:57 PM Join Date: Mar 2006 Location: Florida, USA Age: 22
Posts: 211
Thanks: 0
Thanked 83 Times in 27 Posts
Nominated 0 Times in 0 Posts TOTW/F/M Award(s): 0
Latest Blog:
Rep Power: 6 Points: 7,440.46 Bank: 1,497.16 Total Points: 8,937.62 | |
Here's some simple C++ code to simulate mouse clicks. Code: #include <windows.h>
void sendMouseClick(int iX, int iY, bool bLeft = true)
{
POINT oldPoint = NULL; // Old cursor position
INPUT inputs[2]; // Array of two input structures to fill out and pass to SendInput()
ZeroMemory(inputs, sizeof(INPUT)*2); // Zero (allocate) memory for our array of inputs
GetCursorPos(&oldPoint); // Get original cursor position
SetCursorPos(iX, iY); // Set new cursor position
inputs[0].type = inputs[1].type = INPUT_MOUSE; // Let SendInput() know we are sending mouse input
if (bLeft) {
inputs[0].mi.dwFlags = MOUSEEVENTF_LEFTDOWN;
inputs[1].mi.dwFlags = MOUSEEVENTF_LEFTUP; // If bLeft is true (default) fill out our input structures to send left button down and up inputs.
}
else {
inputs[0].mi.dwFlags = MOUSEEVENTF_RIGHTDOWN;
inputs[0].mi.dwFlags = MOUSEEVENTF_RIGHTUP; // If not, we're dealing with a right-click then.
}
SendInput(2, inputs, sizeof(INPUT)); // Actually send our inputs
SetCursorPos(oldPoint.x, oldPoint.y) // Reset cursor position
}
This is all off the top of my head, but this should work.
Use like so: Code: sendMouseClick(50, 90); // Send a left click at X=50, Y=90
sendMouseClick(50, 90, false); // Send a right click to the same position
Let me know if you need any more help with this.
| 
08-26-2008, 12:56 AM
|  | Double Wood Axe | | | Last Online: 10-22-2008 10:37 AM Join Date: Aug 2008
Posts: 29
Thanks: 0
Thanked 3 Times in 3 Posts
Nominated 0 Times in 0 Posts TOTW/F/M Award(s): 0
Latest Blog:
Rep Power: 0 Points: 493.30 Bank: 0.00 Total Points: 493.30 | | |
This is no delphi section, but its very easy to do it in delphi. If your just begging to learn to program maybe you should go with a easier language.
| 
08-26-2008, 12:50 PM
| | 1k Points Wasted | | | Last Online: Yesterday 02:08 PM Join Date: Aug 2006 Location: over there
Posts: 2,219
Thanks: 48
Thanked 172 Times in 134 Posts
Nominated 0 Times in 0 Posts TOTW/F/M Award(s): 0
Latest Blog: Very random blog entries (based on time)
Rep Power: 13 Points: 6,002.26 Bank: 89,660.72 Total Points: 95,662.98 | | |
You can do it in ACTool with like 5 lines of code... And starting with C++ is somewhat harder at first, but it will pay off.
__________________
Dam my other one won't animate for some reason o_O | 
08-26-2008, 01:02 PM
|  | Registered Users + | | | Last Online: Today 12:03 PM Join Date: Nov 2006 Location: Location:
Posts: 2,064
Thanks: 230
Thanked 221 Times in 145 Posts
Nominated 0 Times in 0 Posts TOTW/F/M Award(s): 0
Latest Blog:
Rep Power: 11 Points: 1,091.40 Bank: 110,398.61 Total Points: 111,490.01 | | |
Hmmm Newly Revised version?
Var
pos: array of integer = (000,000);
|  | |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | | | | Thread Tools | | | | Display Modes | Linear Mode |
Posting Rules
| You may not post new threads You may not post replies You may not post attachments You may not edit your posts HTML code is Off | | | | | | |