| View previous topic :: View next topic |
| Author |
Message |
Travis13 Expert Cheater
Reputation: 0
Joined: 17 Feb 2007 Posts: 199
|
Posted: Sun Dec 21, 2008 11:33 pm Post subject: [C++] using mouse_event for certain locations on the screen? |
|
|
hey guys i want to make an autoclicker that clicks at a certain spot in the screen......like setting up the x and y and stuff.
first question is how would i set the x and y's in this?
mouse_event(MOUSEEVENTF_LEFTDOWN, 0, 0, 0, 0);
mouse_event(MOUSEEVENTF_LEFTUP, 0, 0, 0, 0);
second is, is there a program that tells u where your mouse is at? for x and y?
third, PLEASE HELP ME
*gone to bed...if u comment and its useful thank you very much*
_________________
Learning C++, trying, failing, never gonna give up tho  |
|
| Back to top |
|
 |
Overload Master Cheater
Reputation: 0
Joined: 08 Feb 2008 Posts: 293
|
Posted: Sun Dec 21, 2008 11:49 pm Post subject: |
|
|
try looking at the mouse_event parameters. Even you could figure it out yourself by looking at them.
_________________
Blog
| Quote: | Rhys says:
you can be my maid
Rhys says:
ill buy you a french maid outfit
Tyler says:
Sounds good
Rhys says:
ill hold you to that |
|
|
| Back to top |
|
 |
nog_lorp Grandmaster Cheater
Reputation: 0
Joined: 26 Feb 2006 Posts: 743
|
Posted: Mon Dec 22, 2008 12:17 am Post subject: |
|
|
http://letmegooglethatforyou.com/?q=microsoft+mouse_event&l=1
_________________
Mutilated lips give a kiss on the wrist of the worm-like tips of tentacles expanding in my mind
I'm fine accepting only fresh brine you can get another drop of this yeah you wish |
|
| Back to top |
|
 |
Heartless I post too much
Reputation: 0
Joined: 03 Dec 2006 Posts: 2436
|
|
| Back to top |
|
 |
sponge I'm a spammer
Reputation: 1
Joined: 07 Nov 2006 Posts: 6009
|
Posted: Mon Dec 22, 2008 1:34 pm Post subject: |
|
|
| HornyAZNBoy wrote: | If you still can't get it, it is the 2nd and 3rd parameters.
@nog_lorp
Wow that is cool!  | I know rite. I was duh first one to post dat here.
_________________
|
|
| Back to top |
|
 |
Travis13 Expert Cheater
Reputation: 0
Joined: 17 Feb 2007 Posts: 199
|
Posted: Tue Dec 23, 2008 8:39 pm Post subject: |
|
|
| sponge wrote: | | HornyAZNBoy wrote: | If you still can't get it, it is the 2nd and 3rd parameters.
@nog_lorp
Wow that is cool!  | I know rite. I was duh first one to post dat here. |
talk about going off topic much..........
anyways so i would do this?
mouse_event(MOUSEEVENTF_LEFTDOWN, 0, x, y, 0); ???
how do i find where the pixles are on my screen? and ty
_________________
Learning C++, trying, failing, never gonna give up tho  |
|
| Back to top |
|
 |
sponge I'm a spammer
Reputation: 1
Joined: 07 Nov 2006 Posts: 6009
|
Posted: Tue Dec 23, 2008 8:44 pm Post subject: |
|
|
GetCursorPos()
_________________
|
|
| Back to top |
|
 |
|