MacPython/Growl/AppleScriptSupport
This wiki is in the process of being archived due to lack of usage and the resources necessary to serve it — predominately to bots, crawlers, and LLM companies. Edits are discouraged.
Pages are preserved as they were at the time of archival. For current information, please visit python.org.
If a change to this archive is absolutely needed, requests can be made via the infrastructure@python.org mailing list.
Translated examples from Growl's AppleScript Support page:
Basics
1 2 from appscript import * 3 4 5 growl = app('GrowlHelperApp') 6 7 8 9 allNotificationsList = ['Test Notification', 'Another Test Notification'] 10 11 12 13 14 15 enabledNotificationsList = ['Test Notification'] 16 17 18 19 20 growl.register( 21 as_application='Growl Appscript Sample', 22 all_notifications=allNotificationsList, 23 default_notifications=enabledNotificationsList, 24 icon_of_application='PythonIDE') 25 26 27 growl.notify( 28 with_name='Test Notification', 29 title='Test Notification', 30 description='This is a test Appscript notification.', 31 application_name='Growl Appscript Sample') 32 33 34 growl.notify( 35 with_name='Another Test Notification', 36 title='Another Test Notification :) ', 37 description='Alas - you won\'t see me until you enable me...', 38 application_name='Growl Appscript Sample')
Notifications using Images
- Application Icons
- File Icons
- Image Files
- Image Data
(not done yet...)
- Application Icons