Jump to content

Recommended Posts

Posted (edited)

Hey I was wondering is there any way to make mouse click randomly same spot with 1-4 pixel diffrence?

I tried searching for answer but couldnt find any.

Would this work: MouseClick ("left",Random(900,917),Random(596,598),1,40)

thanks,

Edited by gagaga
Posted

$x=100
$y=100
$offsetx=10
$offsety=10
$frequency=2;(times/second)
HotKeySet("{ESC}" ,"quit")
While 1
    MouseClick("left" , Random($x-$offsetx,$x+$offsetx,1),Random($y-$offset-$y , $y+$offsety,1),1,0)
    sleep(1000/$frequency)
Wend

Only two things are infinite, the universe and human stupidity, and i'm not sure about the former -Alber EinsteinPractice makes perfect! but nobody's perfect so why practice at all?http://forum.ambrozie.ro

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
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...