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:
12.1
12.2
12.3
12.4
12.5
13.0
13.1
13.2
13.3
13.4
Statistic
FMM
Blog
Creates a new notification.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
WindowsUserNotification UserNotification | 7.2 | ❌ No | ✅ Yes | ❌ No | ❌ No | ❌ No |
none
Returns reference number or error.
Create new notification:
Set Variable [$r; Value:MBS( "WindowsUserNotification.NewNotification")]
If [MBS("IsError")]
Show Custom Dialog ["Error"; $r]
Else
Set Field [Windows User Notifications::ID; $r]
Set Variable [$r; Value:MBS( "WindowsUserNotification.SetImagePath"; Windows User Notifications::ID; Windows User Notifications::ImagePath)]
Set Variable [$r; Value:MBS( "WindowsUserNotification.SetText"; Windows User Notifications::ID; 0; Windows User Notifications::Text1)]
Set Variable [$r; Value:MBS( "WindowsUserNotification.SetText"; Windows User Notifications::ID; 1; Windows User Notifications::Text2)]
Set Variable [$r; Value:MBS( "WindowsUserNotification.SetText"; Windows User Notifications::ID; 2; Windows User Notifications::Text3)]
Set Variable [$r; Value:MBS( "WindowsUserNotification.SetText"; Windows User Notifications::ID; 3; Windows User Notifications::Text4)]
Set Variable [$r; Value:MBS( "WindowsUserNotification.SetScriptName"; Windows User Notifications::ID; "Trigger")]
Set Variable [$r; Value:MBS( "WindowsUserNotification.SetFileName"; Windows User Notifications::ID; Get(FileName))]
End If
This function checks for a license.
Created 2nd April 2017, last changed 9th November 2021
WindowsUserNotification.List - WindowsUserNotification.Release