Skip to content

Instantly share code, notes, and snippets.

@anjiro
Created May 4, 2020 11:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anjiro/bc5615b87ce5069063ec672093911e1f to your computer and use it in GitHub Desktop.
Save anjiro/bc5615b87ce5069063ec672093911e1f to your computer and use it in GitHub Desktop.
Applescript to randomly rotate images on the current slide
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