Created
January 5, 2010 12:54
-
-
Save ecarnevale/269359 to your computer and use it in GitHub Desktop.
simple scripts for a sane hacking
This file contains hidden or 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 "Mailplane" | |
set doNotDisturb to true | |
end tell | |
tell application "Skype" | |
send command "SET USERSTATUS DND" script name "PomodoroStart" | |
send command "SET SILENT_MODE ON" script name "PomodoroStart" | |
send command "SET PROFILE MOOD_TEXT In the middle of a Pomodoro, please DND" script name "PomodoroStart" | |
end tell | |
# | |
# tell application "iChat" | |
# set status to away | |
# end tell | |
# | |
# tell application "Adium" | |
# repeat with singleAccount in accounts | |
# set status of singleAccount to away | |
# set message of singleAccount to "In the middle of a Pomodoro" | |
# end repeat | |
# end tell |
This file contains hidden or 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 "Mailplane" | |
set doNotDisturb to false | |
end tell | |
tell application "Skype" | |
send command "SET USERSTATUS ONLINE" script name "PomodoroStop" | |
send command "SET SILENT_MODE OFF" script name "PomodoroStop" | |
send command "SET PROFILE MOOD_TEXT No more swine flu" script name "PomodoroStop" | |
end tell | |
# | |
# tell application "iChat" | |
# set status to available | |
# end tell | |
# | |
# tell application "Adium" | |
# repeat with singleAccount in accounts | |
# set status of singleAccount to available | |
# set message of singleAccount to "" | |
# end repeat | |
# end tell |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment