Get(WindowDesktopHeight)

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

Format 

Get ( WindowDesktopHeight )

Parameters 

None

Data type returned 

number

Originated in version 

7.0

Description 

In FileMaker Pro, 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.

Notes 

  • If the Data Viewer is the active window, the value returned by this function in the Data Viewer is based on the monitor on which the Data Viewer is displayed.

Example 1 

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

Example 2 

Returns 1347 in macOS when there is a single monitor, its resolution is set to 2560 x 1440, the menu bar is 23 points, and the Dock is 70 points and located at the bottom of the screen.