Skip to content

Export New PDF Document

Function Description

TIP

This command is used to extract part of the content from the current PDF file and save it as a new PDF document. Please install the PDF plugin first from [Settings] - [Plugin Center] before use.

Export New PDF Document

Configuration Item Description

General

Command Input

  • Original File Pathstring: Please enter the original file path

  • Extract RangeInteger: Select the page range to extract

  • Page NumberInteger: Please enter the page number to be exported. The page index starts from 1

  • Start Page NumberInteger: Please enter the start page number to extract. The page index starts from 1

  • End Page NumberInteger: Please enter the end page number to extract. The page index starts from 1

  • Save New File Tostring: Please enter the save path for the new file

  • If File ExistsInteger: Please select the file saving method when the file already exists

Command Output

  • Save New File Path Tostring: Specify a variable to save the new file path

Advanced

  • Use PasswordBoolean: Whether a password is required to open the file

  • Passwordstring: Password required to open the file

  • 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