Skip to content

Instantly share code, notes, and snippets.

@Emrys365
Created March 26, 2021 17:57
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 Emrys365/29f1d904d1d8244581a03fff27f8b581 to your computer and use it in GitHub Desktop.
Save Emrys365/29f1d904d1d8244581a03fff27f8b581 to your computer and use it in GitHub Desktop.
Remove all animations in current PowerPoint presentation
on run {input, parameters}
tell application "Microsoft PowerPoint" -- version: 2019
set allSlides to slides of active presentation
repeat with each_slide in allSlides
set allShapes to shapes of each_slide
repeat with each_shape in allShapes
if animate of animation settings of each_shape is true then set animate of animation settings of each_shape to false
end repeat
end repeat
end tell
return input
end run
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment