Skip to content

Instantly share code, notes, and snippets.

@markjaquith
Created July 3, 2013 19:45
Show Gist options
  • Save markjaquith/5922095 to your computer and use it in GitHub Desktop.
Save markjaquith/5922095 to your computer and use it in GitHub Desktop.
AppleScript for App Tamer that wakes Dropbox for 60 seconds, then sleeps it again. Note that you have to have enabled AutoStop for Dropbox already. Set this to run every X minutes on a cron, for fun and profit. Increase the delay if you think it will need more time to sync on a slow connection.
tell application "App Tamer"
wake "Dropbox"
delay 60
# Hack to get App Tamer to sleep Dropbox again
# There is no "sleep" verb ಠ_ಠ
autostop false
autostop true
end tell
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment