Topics
All
MacOS
(Only)
Windows
(Only)
Linux
(Only, Not)
iOS
(Only, Not)
Components
Crossplatform Mac & Win
Server
Client
Old
Deprecated
Guides
Examples
Videos
New in version:
10.1
10.2
10.3
10.4
10.5
11.0
11.1
11.2
11.3
11.4
Statistic
FMM
Blog
Adds an attachment to the notification.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
UNNotification | 10.4 | ✅ Yes | ❌ No | ❌ No | ❌ No | ✅ Yes |
Parameter | Description | Example | Flags |
---|---|---|---|
UNNotificationRef | The reference number of the notification. | $Notification | |
Path | The native file path for the file. | ||
Identifier | The identifier to distinguis multiple attachments. Default is "attachment" |
Optional |
Returns OK or error.
Add a picture file:
Set Variable [ $result ; Value: MBS("UNNotification.AddFile"; $UserNotification; "/Users/cs/Pictures/Test.jpg"; "image") ]
Created 11st August 2020, last changed 20th August 2020
UNNotification.Action - UNNotification.AddImage
Feedback: Report problem or ask question.