Skip to content

Wait for Window(win)

Function Description

TIP

Wait for the window state to change

Wait for Window(win)

Configuration Item Description

General

Command Input

  • Method to get the windowInteger: Choose the method to get the window

  • Operation targetTTarget: Select a window element

  • Window titlestring: Enter the window title

  • Add window typeBoolean: Add window type

  • Window typestring: Enter the window type

  • Wait stateInteger: Choose the window state to wait for

  • Set timeoutBoolean: Whether to set a timeout

  • Timeout (ms)Integer: Please enter the maximum waiting time

Command Output

  • waitResultBoolean:

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