Element Screenshot (Win)
Function Description
TIP
Take a screenshot of an element in the desktop software and save it to a specified file
Configuration Item Description
General
Command Input
Window object
TWinObj
: Enter a captured window objectOperation target
TTarget
: Select the window elementSave image to clipboard
Boolean
: Save image to clipboardSave folder
string
: The folder where the screenshot will be savedUse automatic random file name
Boolean
: Automatically generate a unique file nameCustom file name
string
: Custom file name
Command Output
- Screenshot save location
string
: Specify a variable to save the screenshot location
Advanced
Delay Before(milliseconds)
Integer
: The waiting time before instruction executionWait for element to exist (milliseconds)
Integer
: Timeout for waiting for the target element to exist
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