Content Notice!

This post is really old, and no longer reflect 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

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)



Great fun c: