Skip to main content
Version: Next

Frontmost window

Frontmost window {( * )} : Integer

ParameterTypeDescription
*OperatorIf specified, take floating windows into account If omitted, ignore floating windows
Function resultIntegerWindow reference number

This command is not thread-safe, it cannot be used in preemptive code.

Description

The Frontmost window command returns the window reference number of the frontmost window.

See also

Frontmost process
Next window