Created
March 26, 2021 17:57
-
-
Save Emrys365/29f1d904d1d8244581a03fff27f8b581 to your computer and use it in GitHub Desktop.
Remove all animations in current PowerPoint presentation
This file contains 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
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