PDA

Click to See Complete Forum and Search --> : auto click macro project


rubix~kubix
Jun 2nd, 2002, 04:01 PM
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.

A[L]C
Jun 10th, 2002, 05:19 AM
is this by any chance for a banner ad clicker?

rubix~kubix
Jun 14th, 2002, 09:03 PM
nope its for clicking on certin rocks on a game to mine

alex_read
Jun 17th, 2002, 06:41 AM
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.

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