WindowsUserNotification.Initialize
----------------------------------

Initializes notification system.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [WindowsUserNotification](component_WindowsUserNotification.md) [UserNotification](component_UserNotification.md) | [7.2](newinversion72.md) | ❌ No | ✅ Yes | ❌ No | ❌ No | ❌ No |

MBS( "WindowsUserNotification.Initialize"; AppName; Company; Name; Surname; VersionInfo ) 

**MBS**( **"WindowsUserNotification.Initialize";** /\* Initializes notification system. \*/  
**$AppName**; /\* The application name.e.g. "FileMaker Pro" \*/   
**$Company**; /\* The company name.  
Used to build unique app id.e.g. "Test" \*/   
**$Name**; /\* The name.  
Used to build unique app id. \*/   
**$Surname**; /\* The surname.  
Used to build unique app id. \*/   
**$VersionInfo**) /\* The version info.  
Used to build unique app id.e.g. "1.0" \*/ 

### Parameters

| Parameter | Description | Example |
|---|---|---|
| AppName | The application name. | "FileMaker Pro" |
| Company | The company name.   Used to build unique app id. | "Test" |
| Name | The name.   Used to build unique app id. |  |
| Surname | The surname.   Used to build unique app id. |  |
| VersionInfo | The version info.   Used to build unique app id. | "1.0" |

### Result

Returns OK or error.

### Description

Initializes notification system.  
Must be called once on startup of solution.  
### Examples

Initialize:

 Set Variable \[$r ; Value:MBS ( "WindowsUserNotification.Initialize"; "FileMaker"; "Test"; "test"; "test"; "1.0 ")\]  
Show Custom Dialog \["Initialize"; $r \]  
### See also

- [WindowsUserNotification.Isinitialized](WindowsUserNotificationIsinitialized.md)
- [WindowsUserNotification.Release](WindowsUserNotificationRelease.md)
- [WindowsUserNotification.ReleaseAll](WindowsUserNotificationReleaseAll.md)
- [WindowsUserNotification.SetFileName](WindowsUserNotificationSetFileName.md)
- [WindowsUserNotification.SetGroup](WindowsUserNotificationSetGroup.md)
- [WindowsUserNotification.SetPriority](WindowsUserNotificationSetPriority.md)
- [WindowsUserNotification.SetRemoteId](WindowsUserNotificationSetRemoteId.md)
- [WindowsUserNotification.SetTag](WindowsUserNotificationSetTag.md)
- [WindowsUserNotification.SetText](WindowsUserNotificationSetText.md)
- [WindowsUserNotification.Setting](WindowsUserNotificationSetting.md)

### Example Databases

- [Win Only/Windows User Notifications](https://www.mbsplugins.eu/MBS-FileMaker-Plugin-Examples/Win%20Only/Windows%20User%20Notifications.shtml#1ScriptAnchor_)

### Blog Entries

- [MBS FileMaker Advent calendar - Door 17 - User Notifications](https://www.mbsplugins.de/archive/2024-12-17/MBS_FileMaker_Advent_calendar_/monkeybreadsoftware_blog_filemaker)

This function is free to use.

Created 2nd April 2017 , last changed 24th May 2017

  
[WindowsUserNotification.HideNotification](WindowsUserNotificationHideNotification.md) - [WindowsUserNotification.Isinitialized](WindowsUserNotificationIsinitialized.md)

[HTML Version](WindowsUserNotificationInitialize.shtml)