I would like to trigger a notification with AppleScript.

I have seen How can I trigger a Notification Center notification from an AppleScript or shell script? but I would like to have a native AppleScript solution if it exists.

1 Answer 1


Growl has an AppleScript dictionary. I didn't find any way to show a single notification in Notification Center, but they are shown in it by default you've enabled forwarding all notifications.

tell application id "com.Growl.GrowlHelperApp"
    register as application "Scripts" all notifications "test" default notifications "test"
    notify with name "test" title "title" description "description" application name "Scripts"
end tell

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .