Quantcast
Channel: AutoIt v3 - General Help and Support
Viewing all articles
Browse latest Browse all 12506

Coverting MouseClick to MouseClickDrag

$
0
0
Hi all!

I'd like ask a question to find ways or alternatives pretty much for my MouseClick section

Do
MouseClick("left", $x1, $y1)
$x1 = $x1 + Random(0, Random(0, 5), 1)
Until $x1 >= Random(450, 550, 1)

As you can see the code will progress to the right randomly using the variable random +'s and will stop when it hits the Until variable.

So can someone kindly advise whether there is a way instead of mouseclicking this i'd like it to be dragged, with the random +s over time as well, and with a Until section as well.

I'm kinda new to this, and I've realize i cant just simply change the mouseclick to mouseclickdrag, since it will ask the two pin points destinations and I can only alter speed there.

Viewing all articles
Browse latest Browse all 12506

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>