Component: UserNotification 
----------------------------

Show user notifications on macOS 10.8 and Windows 8 or newer.

Added Windows notifications in plugin version 7.2.  
For newer macOS development, please use [UNNotification](component_UNNotification.md) functions.

| Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|
| [2.8](newinversion28.md "First functions introduced with version 2.8.") / [10.5](newinversion105.md "Newest functions in version 10.5.") | 🔶 74% | 🔶 26% | ❌ No | ❌ No | ❌ No |

  
| Item | Details |
|:--|:--|
| [UserNotification.ClearDidActivateNotificationScript](UserNotificationClearDidActivateNotificationScript.md)   Clears the name for the activate notification handler. | Mac only   2.8 |
| [UserNotification.ClearDidDeliverNotificationScript](UserNotificationClearDidDeliverNotificationScript.md)   Clears the name for the deliver notification handler. | Mac only   2.8 |
| [UserNotification.ContentImage](UserNotificationContentImage.md)   Queries image shown in the content of the notification. | Mac only   3.5 |
| [UserNotification.Create](UserNotificationCreate.md)   Creates a new user notification. | Mac only   2.8 |
| [UserNotification.GetActionButtonTitle](UserNotificationGetActionButtonTitle.md)   Queries current action button title. | Mac only   2.8 |
| [UserNotification.GetActivationType](UserNotificationGetActivationType.md)   Queries how the notification was activated. | Mac only   2.8 |
| [UserNotification.GetActualDeliveryDate](UserNotificationGetActualDeliveryDate.md)   Queries actual delivery date. | Mac only   2.8 |
| [UserNotification.GetDeliveryDate](UserNotificationGetDeliveryDate.md)   Queries the planned delivery date. | Mac only   2.8 |
| [UserNotification.GetDeliveryTimeZone](UserNotificationGetDeliveryTimeZone.md)   Queries the time zone for this notification. | Mac only   2.8 |
| [UserNotification.GetDescription](UserNotificationGetDescription.md)   Queries description for debugging. | Mac only   2.8 |
| [UserNotification.GetIdentifier](UserNotificationGetIdentifier.md)   Queries the identifier used to uniquely identify a notification. | Mac only   3.5 |
| [UserNotification.GetInformativeText](UserNotificationGetInformativeText.md)   Queries the body text of the notification. | Mac only   2.8 |
| [UserNotification.GetOtherButtonTitle](UserNotificationGetOtherButtonTitle.md)   Queries the other button's custom title. | Mac only   2.8 |
| [UserNotification.GetResponse](UserNotificationGetResponse.md)   Queries the response text. | Mac only   3.5 |
| [UserNotification.GetResponsePlaceholder](UserNotificationGetResponsePlaceholder.md)   Queries the optional placeholder for inline reply field. | Mac only   3.5 |
| [UserNotification.GetSoundName](UserNotificationGetSoundName.md)   Queries sound name for notification. | Mac only   2.8 |
| [UserNotification.GetSubTitle](UserNotificationGetSubTitle.md)   Queries the current sub title of the notification. | Mac only   2.8 |
| [UserNotification.GetTitle](UserNotificationGetTitle.md)   Queries current title of notification. | Mac only   2.8 |
| [UserNotification.GetUserInfo](UserNotificationGetUserInfo.md)   Queries application specific user info data. | Mac only   2.8 |
| [UserNotification.HasReplyButton](UserNotificationHasReplyButton.md)   Queries whether the notification has a reply button. | Mac only   3.5 |
| [UserNotification.Release](UserNotificationRelease.md)   Releases a notification reference. | Mac only   2.8 |
| [UserNotification.ReleaseAll](UserNotificationReleaseAll.md)   Frees all user notification objects. | Mac only   10.5 |
| [UserNotification.SetActionButtonTitle](UserNotificationSetActionButtonTitle.md)   Sets the title of the button displayed in the notification. | Mac only   2.8 |
| [UserNotification.SetContentImage](UserNotificationSetContentImage.md)   Sets image shown in the content of the notification. | Mac only   3.5 |
| [UserNotification.SetDeliveryDate](UserNotificationSetDeliveryDate.md)   Sets the delivery date. | Mac only   2.8 |
| [UserNotification.SetDeliveryTimeZone](UserNotificationSetDeliveryTimeZone.md)   Set the time zone to interpret the delivery date in. | Mac only   2.8 |
| [UserNotification.SetDidActivateNotificationScript](UserNotificationSetDidActivateNotificationScript.md)   Sets the activation notification action handler. | Mac only   2.8 |
| [UserNotification.SetDidDeliverNotificationScript](UserNotificationSetDidDeliverNotificationScript.md)   Sets the delivery notification action handler. | Mac only   2.8 |
| [UserNotification.SetHasActionButton](UserNotificationSetHasActionButton.md)   Sets whether notification has an action button. | Mac only   2.8 |
| [UserNotification.SetHasReplyButton](UserNotificationSetHasReplyButton.md)   Sets whether the notification has a reply button. | Mac only   3.5 |
| [UserNotification.SetIdentifier](UserNotificationSetIdentifier.md)   Sets the identifier used to uniquely identify a notification. | Mac only   3.5 |
| [UserNotification.SetInformativeText](UserNotificationSetInformativeText.md)   Sets the body of the notification. | Mac only   2.8 |
| [UserNotification.SetOtherButtonTitle](UserNotificationSetOtherButtonTitle.md)   Set the localized string to customize the title of the 'Close' button in an alert-style notification. | Mac only   2.8 |
| [UserNotification.SetResponsePlaceholder](UserNotificationSetResponsePlaceholder.md)   Sets the optional placeholder for inline reply field. | Mac only   3.5 |
| [UserNotification.SetSoundName](UserNotificationSetSoundName.md)   Sets sound name. | Mac only   2.8 |
| [UserNotification.SetSubTitle](UserNotificationSetSubTitle.md)   Sets the subtitle displayed in the notification. | Mac only   2.8 |
| [UserNotification.SetTitle](UserNotificationSetTitle.md)   Sets the title of the notification. | Mac only   2.8 |
| [UserNotification.SetUserInfo](UserNotificationSetUserInfo.md)   Stores Application-specific user info that may be retrieved later. | Mac only   2.8 |
| [UserNotification.deliverNotification](UserNotificationdeliverNotification.md)   Deliver a notification immediately, including animation or sound alerts. | Mac only   2.8 |
| [UserNotification.deliveredNotifications](UserNotificationdeliveredNotifications.md)   Queries list of all delivered notifications. | Mac only   2.8 |
| [UserNotification.hasActionButton](UserNotificationhasActionButton.md)   Queries whether notification has an action button. | Mac only   2.8 |
| [UserNotification.isPresented](UserNotificationisPresented.md)   Whether the notification has been presented. | Mac only   2.8 |
| [UserNotification.isRemote](UserNotificationisRemote.md)   Queries whether this is a remote notification. | Mac only   2.8 |
| [UserNotification.removeAllDeliveredNotifications](UserNotificationremoveAllDeliveredNotifications.md)   Clear all delivered notifications for this application from the notification center. | Mac only   2.8 |
| [UserNotification.removeAllScheduledNotifications](UserNotificationremoveAllScheduledNotifications.md)   Remove all scheduled user notifications from the user notification center. | Mac only   9.2 |
| [UserNotification.removeDeliveredNotification](UserNotificationremoveDeliveredNotification.md)   Clear a delivered notification from the notification center. | Mac only   2.8 |
| [UserNotification.removeScheduledNotification](UserNotificationremoveScheduledNotification.md)   Cancels a notification. | Mac only   2.8 |
| [UserNotification.scheduleNotification](UserNotificationscheduleNotification.md)   Add a notification to the center for scheduling. | Mac only   2.8 |
| [UserNotification.scheduledNotifications](UserNotificationscheduledNotifications.md)   Queries list of all delivered notifications. | Mac only   2.8 |
| [WindowsUserNotification.Available](WindowsUserNotificationAvailable.md)   Queries whether available. | Win only   7.2 |
| [WindowsUserNotification.GetFileName](WindowsUserNotificationGetFileName.md)   Queries file name for trigger script. | Win only   7.2 |
| [WindowsUserNotification.GetImagePath](WindowsUserNotificationGetImagePath.md)   Queries image path. | Win only   7.2 |
| [WindowsUserNotification.GetScriptName](WindowsUserNotificationGetScriptName.md)   Queries script name for trigger script. | Win only   7.2 |
| [WindowsUserNotification.GetText](WindowsUserNotificationGetText.md)   Query text to show. | Win only   7.2 |
| [WindowsUserNotification.HideNotification](WindowsUserNotificationHideNotification.md)   Hides the notification. | Win only   7.2 |
| [WindowsUserNotification.Initialize](WindowsUserNotificationInitialize.md)   Initializes notification system. | Win only   7.2 |
| [WindowsUserNotification.Isinitialized](WindowsUserNotificationIsinitialized.md)   Queries whether windows user notifications have been initialized. | Win only   7.2 |
| [WindowsUserNotification.NewNotification](WindowsUserNotificationNewNotification.md)   Creates a new notification. | Win only   7.2 |
| [WindowsUserNotification.Release](WindowsUserNotificationRelease.md)   Releases the notification. | Win only   7.2 |
| [WindowsUserNotification.SetFileName](WindowsUserNotificationSetFileName.md)   Sets the file name for script trigger. | Win only   7.2 |
| [WindowsUserNotification.SetImagePath](WindowsUserNotificationSetImagePath.md)   Sets image path for the image to show. | Win only   7.2 |
| [WindowsUserNotification.SetScriptName](WindowsUserNotificationSetScriptName.md)   Sets the script name for script trigger. | Win only   7.2 |
| [WindowsUserNotification.SetText](WindowsUserNotificationSetText.md)   Sets the text to show. | Win only   7.2 |
| [WindowsUserNotification.Setting](WindowsUserNotificationSetting.md)   Queries notification status. | Win only   8.3 |
| [WindowsUserNotification.ShowNotification](WindowsUserNotificationShowNotification.md)   Shows the notification. | Win only   7.2 |
| [WindowsUserNotification.XMLUsed](WindowsUserNotificationXMLUsed.md)   Queries the XML template used for the notification. | Win only   7.2 |

66 functions shown.

These functions are free to use.

### Release notes

- **Version 10.5**
    - Added [CFunction.ReleaseAll](https://www.mbsplugins.eu/CFunctionReleaseAll.shtml), [CGImageSource.ReleaseAll](https://www.mbsplugins.eu/CGImageSourceReleaseAll.shtml), [CLibrary.ReleaseAll](https://www.mbsplugins.eu/CLibraryReleaseAll.shtml), [DynaPDF.ReleaseAll](https://www.mbsplugins.eu/DynaPDFReleaseAll.shtml), [ECKey.ReleaseAll](https://www.mbsplugins.eu/ECKeyReleaseAll.shtml), [FSEvents.ReleaseAll](https://www.mbsplugins.eu/FSEventsReleaseAll.shtml), [MarkDown.ReleaseAll](https://www.mbsplugins.eu/MarkDownReleaseAll.shtml), [MenuItem.ReleaseAll](https://www.mbsplugins.eu/MenuItemReleaseAll.shtml), [SendMail.ReleaseAll](https://www.mbsplugins.eu/SendMailReleaseAll.shtml), [Shell.ReleaseAll](https://www.mbsplugins.eu/ShellReleaseAll.shtml), [SmartCard.ReleaseAll](https://www.mbsplugins.eu/SmartCardReleaseAll.shtml), [TouchBar.ReleaseAll](https://www.mbsplugins.eu/TouchBarReleaseAll.shtml), [UserNotification.ReleaseAll](https://www.mbsplugins.eu/UserNotificationReleaseAll.shtml), [WMFP.ReleaseAll](https://www.mbsplugins.eu/WMFPReleaseAll.shtml), [WMIQuery.ReleaseAll](https://www.mbsplugins.eu/WMIQueryReleaseAll.shtml) and [WindowsUserNotification.ReleaseAll](https://www.mbsplugins.eu/WindowsUserNotificationReleaseAll.shtml).
- **Version 9.2**
    - Added [UserNotification.removeAllScheduledNotifications](http://www.mbsplugins.eu/UserNotificationremoveAllScheduledNotifications.shtml) function.

### Blog Entries

- [Neues MBS FileMaker Plugin 9.1](https://www.mbsplugins.de/archive/2019-03-12/Neues_MBS_FileMaker_Plugin_91/monkeybreadsoftware_blog_filemaker)
- [MBS FileMaker Plugin 9.1 - More than 5700 Functions In One Plugin](https://www.mbsplugins.de/archive/2019-03-12/MBS_FileMaker_Plugin_91_-_More/monkeybreadsoftware_blog_filemaker)
- [MBS FileMaker Plugin 7.2](https://www.mbsplugins.de/archive/2017-05-15/MBS_FileMaker_Plugin_72/monkeybreadsoftware_blog_filemaker)
- [MBS FileMaker Plugin 2.8 for OS X/Windows - More than 1100 Functions In One Plugin](https://www.mbsplugins.de/archive/2012-08-07/MBS_FileMaker_Plugin_28_for_OS/monkeybreadsoftware_blog_filemaker)

### FileMaker Magazin

- [Ausgabe 6/2020, Seite 25](https://filemaker-magazin.de/neuigkeit/4118-Appetithappen-FMM_202006)

### Example Databases

- [Mac and iOS/UNNotification](https://www.mbsplugins.eu/MBS-FileMaker-Plugin-Examples/Mac%20and%20iOS/UNNotification.shtml#1ScriptAnchor_)

[HTML Version](component_UserNotification.shtml)