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:
11.4
11.5
12.0
12.1
12.2
12.3
12.4
12.5
13.0
13.1
Statistic
FMM
Blog
WindowsUserNotification.SetPriority
Sets the priority of the toast notification.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
WindowsUserNotification | 13.1 | ❌ No | ✅ Yes | ❌ No | ✅ Yes, on Windows | ❌ No |
MBS( "WindowsUserNotification.SetPriority"; Notification; Value ) More
Parameters
Parameter | Description | Example |
---|---|---|
Notification | The reference number for the Windows User Notification. | $Notification |
Value | The new setting. | 0 |
Result
Returns OK or error.
Description
Sets the priority of the toast notification.Requires Windows 10 Creators Update (introduced in 10.0.15063.0)
The priority setting provides hints on how and at what urgency level a notification should be presented to the user (whether to wake up the screen, etc). Whether the notification is displayed in high priority is based on the state and power management policy of the device.
Pass 1 for high and 0 for normal.
Value is -1 to take Windows’ default setting.
See also
- WindowsUserNotification.GetPriority
- WindowsUserNotification.ReleaseAll
- WindowsUserNotification.SetFileName
- WindowsUserNotification.SetGroup
- WindowsUserNotification.SetImagePath
- WindowsUserNotification.SetRemoteId
- WindowsUserNotification.SetScriptName
- WindowsUserNotification.SetTag
- WindowsUserNotification.SetText
- WindowsUserNotification.Setting
Release notes
- Version 13.1
- Added WindowsUserNotification.SetPriority and WindowsUserNotification.GetPriority functions.
Blog Entries
This function checks for a paid license.
Created 21st January 2023, last changed 21st January 2023
WindowsUserNotification.SetNotificationMirroring - WindowsUserNotification.SetRemoteId
