info("notification")

The info(“notification”) function returns information about the just clicked notification.


Description

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.

TITLE

The title of the notification.

SUBTITLE

The subtitle of the notification.

TEXT

The main body text of the notification.

BUTTON

The name of the button in the notification (if any).

CLICKED

Where the user clicked on the notification (either "Contents" or "Button").

SOUND

The sound that was played by the notification (or "" if none).


See Also


History

VersionStatusNotes
10.0NewNew in this version.