Notifications¶
New in version 1.15.
Note
Notifications are only available on Mountain Lion (10.8) and later. Calling
notify()
on earlier systems will silently fail.
Alfred 2 allows you to post notifications, but only at the end of a workflow, and only with its own icon.
Alfred-Workflow’s notify
module lets you post notifications
whenever you want, and with your workflow’s icon.
Usage¶
1 2 3 | from workflow.notify import notify
notify('My Title', 'My Text')
|
See the API documentation for more details.