WindowAction
Obsah
Description
Alias: WA
Performs a specified action with the window
Performs an action specified by the Action parameter in the window specified by the parameters Handle or Title.
Input parameters
Handle
Type Number
Handles windows where the action specified by the Action parameter will be performed.
Title
Type String
Unless the Handle is specified, it works with a window containing this text in the title.
Action
Type Number
Specifies the action to be performed with the window (0=no action, 1=minimize, 2=maximize, 3=normal size, 4=restore and activate, 5=activate, 6=maximize and activate, 7=put in foreground, 8=switch to window, 9=switch to window (Alt+Tab), 10=close).
Enabled
Type Number
Enables or disables the command. If the value is 0, the command will not execute.
PreWait
Type Number
Delay in milliseconds before executing the command. It has no effect if Enabled=0.
PostWait
Type Number
Delay in milliseconds before executing the command. It has no effect if Enabled=0.