Skip to content

Instantly share code, notes, and snippets.

@genegoykhman
Created June 24, 2016 01:29
Show Gist options
  • Save genegoykhman/a92b653d8b17c68d8ed5cac62da1efc7 to your computer and use it in GitHub Desktop.
Save genegoykhman/a92b653d8b17c68d8ed5cac62da1efc7 to your computer and use it in GitHub Desktop.
Auto-advance a Deckset presentation 15-seconds per slide
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