Last active
August 29, 2015 14:08
-
-
Save helmuthauser/e75d6da1f55fe34e961d to your computer and use it in GitHub Desktop.
switches to presentation mode off
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
# Script to switch on again all needed applications after the presentation | |
# | |
# Latest update: October 27, 2014 | |
# work.smart.and.be.remarkable@gmail.com | |
# www.helmuthauser.com | |
set question to display dialog "Ready to switch off presenation mode?" buttons {"Yes", "Cancel"} default button 1 | |
set answer to button returned of question | |
if answer is equal to "Yes" then | |
tell application "Dropbox" to activate | |
tell application "OmniFocus" to activate | |
tell application "TextExpander" to activate | |
tell application "nvALT" to activate | |
tell application "Mail" to activate | |
tell application "HazelHelper" to activate | |
# switch off | |
tell application "Caffeine" to quit | |
# unmuted | |
set volume without output muted | |
end if | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment