Using the Split document action
- Updated: 2021/03/03
Using the Split document action
Use the Split document action to split a PDF file into multiple files.
Procedure
To split a PDF file into multiple files, follow these steps:
- In the Actions palette, double-click or drag the Split document action from the PDF package.
-
In the PDF path, select one of the following options to
specify the location of the PDF:
- Control Room file: Enables you to select a PDF file that is available in a folder in the Control Room.
- Desktop profile: Enables you to select a PDF file that is available on your device.
- Variable: Enables you to specify the file variable that contains the location of the PDF file.
- Optional:
In the User password or Owner
password field, enter a password to restrict access to the
encrypted PDF file.
- User password: Allow users to perform specific operations on the encrypted PDF file.
- Owner password: Allow users to use a password to open the file.
-
In the Output file creation options, select one of the
following options to specify how to split the PDF file:
- Number of pages per extracted PDF: Enables you to specify the number of pages each new file will contain. For example, you can enter 8 if you want each output file to contain only 8 pages.
- Single file with selected pages: Enables you to create a single output file that contains the pages you have specified from the original file.
-
Blank page as a separator: Creates a new output
file whenever a blank page is encountered in the original PDF file.
PDF split separates a blank page from pages with scanned images.
-
Bookmark level per file: Enables you to split the
PDF file according to the bookmark level available in the file. For
example, if a file contains three bookmark levels, you can split the PDF
file based on these three levels.
If you selected this option, specify the bookmark level in the Bookmark Level field.
- In the Folder path field, specify the location.
-
In the File prefix field, enter a value.
The image files are suffixed with index numbers. For example, if you have specified Report as the File prefix, the name of the image files will be Report_1, Report_2, and so on.
-
Select the Overwrite files with the same name check box
to overwrite existing files with the same name.
Note: If this option is not selected and the bot encounters a file with the same name at the specified location, the bot will fail.
- Optional:
From the Assign PDF properties to a dictionary variable
list, select a dictionary variable to hold the file properties.
For more information, see Using a dictionary variable for PDF properties.
- Click Save.