The info(“notification”) function returns information about the just clicked notification.
This function returns information about the just clicked notification (see nsnotify). Individual items of information can be retrieved with the getdictionaryvalue( function. For example, this formula returns the title of the just clicked notification:
getdictionaryvalue(info("notification"),"TITLE") ☞ Danger, Will Robinson!"
The available options are described below.
The title of the notification.
The subtitle of the notification.
The main body text of the notification.
The name of the button in the notification (if any).
Where the user clicked on the notification (either
The sound that was played by the notification (or
"" if none).
|10.0||New||New in this version.|