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

Get(WindowLeft)

Returns the horizontal distance, in points, of the outer edge of the window on which the script is acting, relative to the leftmost edge of the screen.

Format 

Get(WindowLeft)

Parameters 

None

Data type returned 

number

Originated in 

FileMaker Pro 7.0

Description 

In macOS, the origin of the reference coordinate system is at the leftmost corner below the menu bar. In Windows, the origin is the left edge of the screen. A negative value indicates the portion of the left side of the window that is hidden.

Notes 

The window on which the script is acting may not necessarily be the foreground window.

In FileMaker WebDirect, this function is not supported and returns an empty string.

Example 1 

Returns 52 when the outer edge of the active window is 52 points from the left edge of the screen.

Returns 0 when the active window is 0 points from the left edge of the screen.

For an example script, see New Window script step.

Related topics 

Functions reference (category list)

Functions reference (alphabetical list)

About formulas

About functions

Defining calculation fields

Using operators in formulas