I have been slowly teaching myself autoit over the past couple years. Usually in short spurts, or untill my interest wanes.
I usually havea friend who sends me various code to learn from and helps me with these things, but he is out of town at the moment.
This time I have decided to learn about mouseclick movements, and came across something odd.
I understand the mouseclick and mousemove functions, but when looking through the code a friend sent me found this tidbit.
The code was written to move the mouse over a spot on the dekstop, right click to create a file and then left click to open that file.
My question pertains to a specific line of code, which I copied and pasted below.
RandClick("left", Round(300 * $x_screensize), Round(100 * $_screensize), 2, 2)
$x_screensize is equal to the length of your desktop
$y_screensize is equal to the height of your desktop
When I read through the code, randclick seems to have been used in every place where I would normally use a mouseclick function.
Why is this named RandClick? I tried looking up the function, but it does not appear to exist in the Autoit Help Files.
Would somone explain to me exactly what this does, as it seems to function the same way the mouseclick function does.