Get(WindowWidth)

Returns the width, in points, of the window on which the script is acting.

Format 

Get ( WindowWidth )

Parameters 

None

Data type returned 

number

Originated in version 

7.0

Description 

The width of the window is calculated from the leftmost to rightmost outer edge of the window. This position doesn't include shadows or other effects applied to windows.

Notes 

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

Example 1 

Returns 300 when the current window is 300 points wide.