Automatic Filenamer Detail - Settings fields explained

Accessing Automatic Filenamer settings
Start ScanToPDF

Click the "Edit" menu and choose "Options"
Click the "Automatic File Namer" ICON

File name generation TAB

Output file path - This is the folder and file name of the PDF file when it is saved. This can contain fixed or variable data

Example
C:\PDF Files\{GetBarcode().Text}.pdf

would store the file in the folder C:\PDF Files with the filename of a barcode value read from a document (using the barcode recognition plugin)

Auto create folder (checkbox) - Checking this box indicates that the software should automatically create any folder required for the save process

Show file save dialog (checkbox) - Checking this box indicates that the software should display the Windows save dialog when a save is initiated

Only allow save in this folder (checkbox) - Checking this box indicates that the software should only allow save in the selected folder preventing the user from saving in another folder

If document already exists - Choose an action to be taken if the file being written already exists

  • Insert at the beginning - insert the new pages at the beginning of the existing document
  • Insert after a specific page - insert the new pages after a specific page of the existing document
  • Insert at the end - insert the new pages at the end of the existing document
  • Overwrite the existing file - replace the existing file with the new pages/document

Post-choice re-format - enter syntax to be applied after the file name has been chosen manually

On error proceed with - 
Choose an action to take if the output file cannot be written

  • Error case - use the settings in the Error case file name generation TAB to name the file
  • Save as dialog - Display the save as dialog to enable naming the file manually
  • Cancel save - take no action. Automatic save is cancelled

Error case file name generation TAB

Output file path

Output file path - This is the folder and file name of the PDF file when it is saved following an error condition. This can contain fixed or variable data 

Example
C:\PDF Files\Errors\{Date():yyyyMMdd}\{IncrementCounter():000}.pdf

would store the file in the folder

C:\PDF Files\Errors with a sub folder for each day and a unique counter based file

If document already exists - Choose an action to be taken if the file being written already exists

  • Insert at the beginning - insert the new pages at the beginning of the existing document
  • Insert after a specific page - insert the new pages after a specific page of the existing document
  • Insert at the end - insert the new pages at the end of the existing document
  • Overwrite the existing file - replace the existing file with the new pages/document

Post-choice re-format - enter syntax to be applied after the file name has been chosen manually

On error proceed with - 
Choose an action to take if the output file cannot be written

  • Error case - use the settings in the Error case file name generation TAB to name the file
  • Save as dialog - Display the save as dialog to enable naming the file manually
  • Cancel save - take no action. Automatic save is cancelled

Backup copy TAB
Condition expression - Enter a condition that equates to true or false to control behavior of the backup copy

Example : dept="accounts" (only make a backup copy is the value of the variable bc is "accounts"

Output file path - This is the folder and file name of the PDF file when it is saved following an error condition. This can contain fixed or variable data 

Example
C:\PDF Files\Backup\{Date():yyyyMMdd}\{IncrementCounter():000}.pdf

would store the file in the folder

C:\PDF Files\Backup with a sub folder for each day and a unique counter based file

Counter TAB

Increment - The value of the incremental counter used in the {%increment%} syntax

Automatic counter limits
 (checkbox) - Checking this option indicates that minimum and maximum counters (configured below) apply to the increment setting

Minimum - Set a minimum value for the increment counter
Maximum - Set a maximum value for the increment counter