Jump to content
Sign in to follow this  
Yaunny

Is it possible to.. (complicated question)

Recommended Posts

Yaunny

Okay, first, here's my code:

MouseClick("left",1176,653,1,0)
MouseClick("left",1118,653,1,0)
MouseClick("left",1060,653,1,0)
MouseClick("left",1002,653,1,0)
MouseClick("left",944,653,1,0)
MouseClick("left",886,653,1,0)
MouseClick("left",828,653,1,0)
MouseClick("left",770,653,1,0)
MouseClick("left",712,653,1,0)
MouseClick("left",654,653,1,0)
MouseClick("left",596,653,1,0)
MouseClick("left",538,653,1,0)
MouseClick("left",480,653,1,0)

Notice how the X coord decreases by 58 each time?

What I need to know is if it's possible to achieve the same effect without opening up a calculator, decreasing 58 and then making a new MouseClick command.

Is there maybe some sort of a function I can write that can make it decrease the X coord by 58 (or any number) for M ammount of times

Share this post


Link to post
Share on other sites
UEZ

For $j = 1176 To 480 Step - 58
    MouseClick("left",$j,653,1,0)
    Sleep(50)
Next

UEZ


Please don't send me any personal message and ask for support! I will not reply!

Selection of finest graphical examples at Codepen.io

The own fart smells best!
Her 'sikim hıyar' diyene bir avuç tuz alıp koşma!
¯\_(ツ)_/¯  ٩(●̮̮̃•̃)۶ ٩(-̮̮̃-̃)۶ૐ

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.