Jump to content

Recommended Posts

Posted (edited)

MouseClick("left, 648, 762")
Opt("MouseClickDelay", 11000)
MouseClick("left, 721, 175")

How would I get all of that to Click in that position, then wait 11 seconds, then click again? and keep it looping infintly. Thanks

Edited by skilzrulz
Guest Py7|-|[]/\/
Posted

NoobieFunc()
Func NoobieFunc()
While 1
MouseClick("left", 648, 762, 1)
Sleep(11000)
MouseClick("left", 721, 175, 1)
Wend
EndFunc

This should work.

Posted (edited)

/\/,Nov 9 2004, 07:57 PM]

NoobieFunc()
Func NoobieFunc()
While 1
MouseClick("left", 648, 762, 1)
Sleep(11000)
MouseClick("left", 721, 175, 1)
Wend
EndFunc

This should work.

<{POST_SNAPBACK}>

skilzrulz, RTFM Edited by mcfr1es

Roger! You son of a big pile o' Monkey Nuts.

Guest Py7|-|[]/\/
Posted

Meh, I'm sure he has... Just forgot a few quotes and number of times to click.

Guest Py7|-|[]/\/
Posted

Slightly modified version. If you press Ctrl + s then it will start the script, if you press Ctrl + t then it will stop the script; might be helpful.

HotKeySet("^s", "NoobieFunc")
HotKeySet("^t", "Terminate")

While 1
Sleep(100)
Wend

Func NoobieFunc()
While 1
MouseClick("left", 648, 762, 1)
Sleep(11000)
MouseClick("left", 721, 175, 1)
Wend
EndFunc

Func Terminate()
Exit 0
EndFunc

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...