Reference > Functions reference > Get functions > Get(WindowDesktopWidth)
 

Get(WindowDesktopWidth)

Returns the width, in points, of the desktop space.

Format 

Get ( WindowDesktopWidth )

Parameters 

None

Data type returned 

number

Originated in 

FileMaker Pro 7.0

Description 

In FileMaker Pro Advanced, the desktop space is the area on the monitor screen in which the active window is located, excluding the taskbar in Windows or the menu bar and Dock in macOS.

In FileMaker WebDirect, the desktop space is the area on the main monitor screen. In macOS, all monitors have menu bars, and the main monitor is where the active window is located. In Windows, the main monitor is where the taskbar is located.

In FileMaker Go, the desktop space is the entire area of the screen.

Example 1 

Returns 1920 in Windows when there is a single monitor and its resolution is set to 1920 x 1080.

Returns 2560 in macOS when there is a single monitor and its resolution is set to 2560 x 1440.

Related topics 

Functions reference (category list)

Functions reference (alphabetical list)

About formulas

About functions

Defining calculation fields

Using operators in formulas