Components All New MacOS Windows Linux iOS
Examples Mac & Win Server Client Guides Statistic FMM Blog Deprecated Old

WindowsUserNotification.SetSuppressPopup

Sets whether a toast's pop-up UI is displayed on the user's screen.

Component Version macOS Windows Linux Server iOS SDK
WindowsUserNotification 13.1 ❌ No ✅ Yes ❌ No ❌ No ❌ No
MBS( "WindowsUserNotification.SetSuppressPopup"; 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 whether a toast's pop-up UI is displayed on the user's screen.
Set to 1 to suppress the popup message; otherwise, 0. The default value is 0, meaning the toast's pop-up message will be shown. Setting this property to true places the toast notification silently into the action center. This enables your app to communicate with the user without interrupting them.

Value is -1 to take Windows’ default setting.

See also

Release notes

Blog Entries

This function is free to use.

Created 21st January 2023, last changed 21st January 2023


WindowsUserNotification.SetScriptName - WindowsUserNotification.SetTag