ActiveWindow
Obsah
Description
Alias: AW
Provides information about active window.
Detects the header and handle of the window in the foreground and saves this information into the Title and Handle parameters. It also obtains the process and thread identifiers that belong to this window and stores their values in the ProcessId and ThreadId parameters.
Input parameters
Enabled
Number type
Enables or disables the command. If the value is 0, the command will not be executed.
PreWait
Number type
Delay in milliseconds before executing the command. It has no effect if Enabled=0.
PostWait
Number type
Delay in milliseconds after executing the command. It has no effect if Enabled=0.
Output parameters
Title
String type
Active windows title.
Handle
Number type
Active windows handle.
ProcessId
Number type
Active window process identifier.
ThreadId
Number type
Active window thread identifier.