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

Window.Screen

Queries the screen index for the window.

Component Version macOS Windows Linux Server iOS SDK
Window 16.3 ✅ Yes ✅ Yes ❌ No ❌ No ❌ No
MBS( "Window.Screen"; WindowRef )   More

Parameters

Parameter Description Example
WindowRef Window Reference is the unique OS level window ID. You can obtain this by using the Window.FindByTitle or Window.FindByIndex functions. Pass zero to access the frontmost window. 0

Result

Returns number, empty or error.

Description

Queries the screen index for the window.
May return empty result if the window isn't visible.
The main screen has index 0.

See also

Release notes

This function checks for a license.

Created 19th June 2026, last changed 19th June 2026


Window.RunToolbarCustomizationPalette - Window.Screenshot