Jump to content

Recommended Posts

Posted

please excluse my massive stupidity.

Ive managed to figure out how to do a couple things, but I want this script to do this same thing over and over for eternity until I stop it. Is there some simple way to do that?

Sleep(200000 + Random(1000, 5000, 1))
MouseMove(639, 433, 2) 
Sleep(1000 + Random(1000, 5000, 1))
MouseClick("right")
Sleep(1000 + Random(1000, 5000, 1))
MouseMove(291, 116, 2) 
Sleep(1000 + Random(1000, 5000, 1))
MouseClick("left")
Sleep(1000 + Random(1000, 5000, 1))
MouseMove(235, 596, 2) 
Sleep(1000 + Random(1000, 5000, 1))
MouseClick("left")
Posted

HI,

maybe

HotKeySet("1", "end")

While 1
    Sleep(200000 + Random(1000, 5000, 1))
    MouseMove(639, 433, 2)
    Sleep(1000 + Random(1000, 5000, 1))
    MouseClick("right")
    Sleep(1000 + Random(1000, 5000, 1))
    MouseMove(291, 116, 2)
    Sleep(1000 + Random(1000, 5000, 1))
    MouseClick("left")
    Sleep(1000 + Random(1000, 5000, 1))
    MouseMove(235, 596, 2)
    Sleep(1000 + Random(1000, 5000, 1))
    MouseClick("left")
WEnd

Func end()
    Exit (0)    
EndFunc   ;==>end

So long,

Mega

Scripts & functions Organize Includes Let Scite organize the include files

Yahtzee The game "Yahtzee" (Kniffel, DiceLion)

LoginWrapper Secure scripts by adding a query (authentication)

_RunOnlyOnThis UDF Make sure that a script can only be executed on ... (Windows / HD / ...)

Internet-Café Server/Client Application Open CD, Start Browser, Lock remote client, etc.

MultipleFuncsWithOneHotkey Start different funcs by hitting one hotkey different times

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
×
×
  • Create New...