|
-
Jun 2nd, 2002, 04:01 PM
#1
Thread Starter
New Member
auto click macro project
im looking for anyone that could help me with a auto click macro program that can be set to click like once a second in a certin coordiant but then like 3 minutes later click at different coordinant then move back to the reguler cooridant. If u can help me with this email me or leave a post thank yas.
-
Jun 10th, 2002, 05:19 AM
#2
Lively Member
is this by any chance for a banner ad clicker?
-------------------------------------
ICQ: 44712087 (evenings only)
Email: [email protected]
-
Jun 14th, 2002, 09:03 PM
#3
Thread Starter
New Member
nope its for clicking on certin rocks on a game to mine
-
Jun 17th, 2002, 06:41 AM
#4
Here's the basics then which should allow you to finish your rock game. You'll need a timer for the second bit - I haven't touched at using different times here, but you pass the left and top co-ordinates of the point of the screen you want the mouse to goto into this function & it'll move the mouse there & click the left button for you.
Code:
Private Declare Function SetCursorPos Lib "user32" (ByVal X As Long, _
ByVal Y As Long) As Long
Private Declare Sub mouse_event Lib "user32" (ByVal dwFlags As Long, _
ByVal dx As Long, ByVal dy As Long, ByVal cButtons As Long, _
ByVal dwExtraInfo As Long)
Private Const cMOUSEEVENT_LEFTDOWN = &H2
Private Const cMOUSEEVENT_LEFTUP = &H4
Private Sub ClickPosition(ByVal lngLeftCOORD As Long, ByVal lngtopCOORD As Long)
SetCursorPos lngLeftCOORD, lngtopCOORD
mouse_event cMOUSEEVENT_LEFTDOWN Or cMOUSEEVENT_LEFTUP, 0&, 0&, 0&, 0&
End Sub
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|