When sending a notification to OS X's Notification Center via AppleScript's osascript
, such as in:
osascript -e 'display notification "Finished that long running task." with title "Finally!"'
The Notification Center shows "AppleScript Editor" as the notification's source:
Is there a possibility to specify a different source (as in application) and icon when sending a notification this way?
Best Answer
I don't think it's possible with AppleScript but it is with terminal-notifier:
For example: