Skip to main content
Version: Next

Window process

Window process {( window )} : Integer

ParameterTypeDescription
windowIntegerWindow reference number
Function resultIntegerProcess reference number

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

Description

The Window process command returns the process number that runs the window whose reference number is passed in window. If the window does not exist, 0 (zero) is returned.

If you omit the window parameter, Window process returns the process of the current frontmost window.

See also

Current process