Created
June 24, 2016 01:29
-
-
Save genegoykhman/a92b653d8b17c68d8ed5cac62da1efc7 to your computer and use it in GitHub Desktop.
Auto-advance a Deckset presentation 15-seconds per slide
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
tell application "Deckset" | |
set doc to first document | |
set ind to 0 | |
set slideIndex of doc to ind | |
set delaySeconds to 15 | |
--set question to display dialog "Start presentation?" buttons {"OK", "Cancel"} default button 1 | |
--set answer to button returned of question | |
--if answer is equal to "OK" then | |
repeat (number of slides in doc) times | |
delay (delaySeconds) | |
set ind to ind + 1 | |
set slideIndex of doc to ind | |
end repeat | |
--end if | |
end tell |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment