Created
September 23, 2011 07:34
-
-
Save sillygwailo/1236908 to your computer and use it in GitHub Desktop.
Notify an iOS device (iPhone, iPad, etc.) about the end of a break from Time Out
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
-- Time Out http://www.dejal.com/timeout/ runs this AppleScript to notify me | |
-- of the end of a break. It sends a notification to Prowl http://www.prowlapp.com/ | |
-- (iOS notifications via Growl) through a Mac computer's Growl http://growl.info/ | |
-- and is configured as an "Application/Script" to "Run at end" in Time Out's preferences | |
-- First run the script to register the "application" in Growl, then configure Growl to | |
-- send the notifications for this "application" as a Prowl display. | |
-- (By the way, Lallafa is the name of my computer, so you might want to change that.) | |
tell application "GrowlHelperApp" | |
set the allNotificationsList to ¬ | |
{"Break's Over"} | |
set the enabledNotificationsList to ¬ | |
{"Break's Over"} | |
register as application ¬ | |
"Time Out Break Over AppleScript" all notifications allNotificationsList ¬ | |
default notifications enabledNotificationsList ¬ | |
notify with name ¬ | |
"Break's Over" title ¬ | |
"Break's Over" description ¬ | |
"Return to Lallafa" application name "Time Out Break Over AppleScript" | |
end tell |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment