Skip to content

Drag Element (win)

Function Description

TIP

Drag the element to the specified position in the specified window

Drag Element (win)

Configuration Item Description

General

Command Input

  • Window ObjectTWinObj: The acquired window object

  • Operation TargetTTarget: Select the window element to be operated on

  • Drag MethodInteger: Choose the drag method

  • XInteger: The horizontal coordinate of the target position

  • YInteger: The vertical coordinate of the target position

  • Target ElementTTarget: Select the target element

Command Output

No output for the current command

Advanced

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

  • Delay Time (ms)Integer: The time to continue waiting after the instruction is executed

  • Mouse Button Down Element PartInteger: Drag element position

  • Movement SpeedInteger: Speed of mouse movement

  • Mouse Button Release Element PartInteger: Drag element position

  • CustomInteger: Custom Position

  • Horizontal PanningInteger: Enter a positive number to move right, a negative number to move left

  • Vertical PanningInteger: Enter a positive number to move down, a negative number to move up

  • Wait for Element to Exist (ms)Integer: Timeout for waiting for the element to exist

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