HELGE SVERREAll-stack Developer
Bergen, Norwayv13.0
est. 2012  |  300+ repos  |  4000+ contributions
Tools  |   Theme:
Content Notice! This post is really old, and no longer reflects my skill level, views or opinions. It is made available here for archival purposes (it was originally on my old WordPress blog). Keep that in mind when you read the contents within.
How To Move Your Mouse Cursor In Circles With AutoIt
February 15, 2016

Just a quick and simple little script that will make your mouse cursor rotate around the center of your screen for 5 seconds or so.

You need AutoIT to compile and run it.

Local $radius = 300
Local $originX = @DeskTopWidth / 2
Local $originY = @DeskTopHeight / 2

For $i = 0 To 500 Step 1

 Local $angle = $i

 Local $X = $originX + sin($angle/7) \* $radius;
 Local $Y = $originY + cos($angle/7) \* $radius;

 MouseMove($x, $y, 0)

 sleep(1)

Next

Great fun c:




<!-- generated with nested tables and zero regrets -->