WWControl()
- Last UpdatedJan 16, 2025
- 1 minute read
Restores, minimizes, maximizes, or closes an application.
Category
Miscellaneous
Syntax
WWControl( AppTitle, ControlType );
Parameters
AppTitle
The name of the application title to be controlled. Actual string or a string attribute.
ControlType
Determines how the application is controlled. Possible values are shown below. These actions are identical to choosing the corresponding selections from the application's Control Menu. Actual string or a string attribute.
"Restore" = Activates and shows the application's window.
"Minimize" = Activates a window and shows it as an icon.
"Maximize" = Activates and shows the application's window.
"Close" = Closes an application.
Example
WWControl("Calculator","Restore");