Skip to content

Set Window State

Function Description

TIP

Perform operations to restore, maximize, or minimize a window

Set Window State

Configuration Item Description

General

Command Input

  • Method of Getting WindowInteger: Select the method to get the window

  • Window ObjectTWinObj: The window object obtained

  • Operation TargetTTarget: Select window element

  • Window Titlestring: Enter window title

  • Add Window TypeBoolean: Add window type

  • Window Class Namestring: Enter window class name

  • Match by WildcardBoolean: Match by wildcard

  • Window State to SetInteger: Set the window state

Command Output

No output for the current command

Advanced

  • Delay Before(milliseconds)Integer: The waiting time before instruction execution

Error Handling

  • Print Error LogsBoolean: Whether to print error logs to the "Logs" panel when the command fails. Default is checked.

  • Handling MethodInteger:

    • Terminate Process: If the command fails, terminate the process.

    • Ignore Exception and Continue Execution: If the command fails, ignore the exception and continue the process.

    • Retry This Command: If the command fails, retry the command a specified number of times with a specified interval between retries.

Usage Example

Process logic description:

Common Errors and Handling

None

Frequently Asked Questions

None