Jump to content
Sign in to follow this  
philo

Loop

Recommended Posts

philo

hi,

I got this script:

HotKeySet("{SCROLLLOCK}", "start")


Func start()

MouseClick("left", 1093, 174, 1)

sleep(10000)

MouseClick("left", 388, 280, 1)

MouseClick("left", 869, 416, 1)

sleep(120000)
    
EndFunc

while 1

wend

Is there a way, when i press the hotkey, it repeats this for ever.

So i just press scroll lock, walk a way, and it keeps repeating...

Thx


Auto It Ruels

Share this post


Link to post
Share on other sites
Valuater

HotKeySet("{SCROLLLOCK}", "start")


Func start()
While 1

MouseClick("left", 1093, 174, 1)

sleep(10000)

MouseClick("left", 388, 280, 1)

MouseClick("left", 869, 416, 1)

sleep(120000)

Wend    
EndFunc

8)


NEWHeader1.png

Share this post


Link to post
Share on other sites
philo

Working thx

Edited by philo

Auto It Ruels

Share this post


Link to post
Share on other sites

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
Sign in to follow this  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.