Created
May 4, 2020 11:49
-
-
Save anjiro/bc5615b87ce5069063ec672093911e1f to your computer and use it in GitHub Desktop.
Applescript to randomly rotate images on the current slide
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
tell application "Keynote" | |
set curslide to the front document's current slide | |
repeat with img in the images of curslide | |
-- iWork rotation is, irritatingly, an integer | |
set the rotation of img to random number from -5 to 5 | |
end repeat | |
end tell |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment