Definition and Usage
This command allows you to set the width and height of a specified window. You can target the window by using a window object, specifying a window title or class, or selecting a window UI element.
Parameter Values
Input parameters
Parameter | Description | Possible Values | Required | Options / Notes |
Get window by | Specify the window to resize | Window object, Title or class, Window UI element | Yes | Selection determines which subsequent parameters are required |
Window | Select a window object that was obtained earlier |
| Required when "Window object" is selected |
|
Title | Select or enter the window title |
| Required when "Title or class" is selected |
|
Specify window class | Specify window class |
| Optional | Checkbox option |
Class name | Select or enter the window class name |
| Required when "Specify window class" is checked |
|
Use RegEx | Use regular expressions like ^abc (starts with abc), \d+ (any numbers), or .*.csv$ (ends with .csv) to match specific text formats |
| Optional | Checkbox option |
Element | Select or capture an element to operate on |
| Required when "Window UI element" is selected |
|
Width | Set the width of the window |
| Yes |
|
Height | Set the height of the window |
| Yes |
|
Error handling
Parameter Name | Description |
Throw error & stop | When an error occurs, the action will trigger an error and stop the execution of the entire app. |
Retry command | If an error occurs, the action will retry the command in an attempt to resolve the issue and continue the process. |
Ignore error & continue | When an error occurs, the action will be ignored, and the workflow will continue without interruption. |
Variables produced
This action doesn't produce any variables.
Using Variables in Conditions
Parameters with {x} icons indicate that variables can be inserted. You can use previously created variables for any input field, such as window dimensions or window titles. This is particularly useful when you need to resize windows to dynamic dimensions based on other parts of your workflow.
Notes
Before using this command, ensure that the target window exists and is accessible.
Window dimensions are specified in pixels.
If targeting a window by title or class name, make sure the identifier is unique enough to select the correct window.
When using RegEx option, ensure your regular expression pattern correctly matches the desired window.
Some windows may have minimum or maximum size constraints that cannot be overridden.