IF window exists
Function Description
TIP
Check if the specified window exists
Configuration Item Description
General
Command Input
Get window method
Integer
: Select the method to get the windowWindow object
TWinObj
: Pass in a window object obtained through the 'Get Window Object' functionTarget
TTarget
: Capture a new element or select a previously recorded window element from the listWindow title
string
: Select or enter the window titleAdd window type
Boolean
: Whether to add a window typeWindow type
string
: Select or enter the window type. Typically used when multiple windows have the same title and cannot be distinguished by title aloneMatch by wildcard
Boolean
: Whether to enable wildcard matching, which determines if common wildcards are used as regular characters or as wildcards. For example, when selected, ‘*Notepad’ matches windows whose titles end with ‘Notepad’Window existence
Integer
: Select whether to check if the window exists or does not exist
Command Output
No output for the current command
Error Handling
Print Error Logs
Boolean
: Whether to print error logs to the "Logs" panel when the command fails. Default is checked.Handling Method
Integer
: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