Created
November 13, 2010 04:12
-
-
Save prehensile/675078 to your computer and use it in GitHub Desktop.
Simple GrowlPython example
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
import Growl | |
# set up a new GrowlNotifier with our name and a list of the notifications we'll be posting | |
gn = Growl.GrowlNotifier( "YourAppName", ["A readable notification name", "another readable notification name"] ) | |
# register the notifier with Growl | |
gn.register() | |
# post a notification | |
gn.notify( "Notification name from the list we registered earlier", "Notification Title", "Notification body" ) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment