Skip to content

Move Word Cursor

Function Description

TIP

Move the cursor in a Word document

Move Word Cursor

Configuration Item Description

General

Command Input

  • Word ObjectTDocumentApplication: Enter a Word object created through the 'Open or Create Word' function

  • Move DirectionInteger: Choose the direction to move the cursor

  • Move LengthInteger: Enter the unit length to move

  • Is Shift Key PressedBoolean: If checked, the Shift key is held down during movement, and the text in the moved area is selected

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