I Need An AppleScript, can someone help?

Mar 25, 2015
Reaction score
It's a simple script to move the desktop screen continuously in an infinity symbol pattern according to a range, direction, and speed variables.

Here's the specs:

Speed will be any number between 1 and 100.
Range is defined in millimeters.
Direction is defined as either left or right.

The logic
1) Get the screen size
2) Shrink the width & height of the desktop screen according to the range variable.
3) Move the desktop screen continuously according to the speed, direction, and range variables.

Here's the equation to quantify the x,y coordinates to move the screen in an infinity pattern.
Lemniscate -- from Wolfram MathWorld

It should be a simple script for someone familiar with the math.

Let me know if you're interested in making it.
Last edited by a moderator:

Shop Amazon

Shop for your Apple, Mac, iPhone and other computer products on Amazon.
We are a participant in the Amazon Services LLC Associates Program, an affiliate program designed to provide a means for us to earn fees by linking to Amazon and affiliated sites.