This is an old revision of the document!


Javascript

You can run Extendscript (Illustrator's built-in version of Javascript) to modify the file and path. Your code will be wrapped in a function so ensure that you include a return statement with the required data structure.

Filename

You can setup the filename template, and the values in the template will be replaced as the PDF file is exported.

{Variable}Description**Example Output*
timestampTimestamp 2024-02-03 14:33:12
timeTime HH:MM:SS14:33:12
weekdayWeekdayMonday
shortweekdayShort WeekdayMon
dayDay3
month~Month7
year~Year2024
linked.filename~Filename of First Linked File*Empty if none found
pdf.presetPDF Preset Name
artboard.widthArtboard Width in document units
artboard.heightArtboard Height in document units
artboard.numberArtboard Page Number
artboard.nameArtboard Name
artboard.countTotal Artboard Count
export.numberCurrent count of pages being exported
export.countTotal Number of pages being exported
doc.rulerunitsRuler Unitsmm
doc.colorSpaceDocument Color SpaceRGB
doc.filenameDocument filenameexample.ai
?QuestionUses the text to ask a question {?Customer Name} will prompt for “Customer Name”

Release Notes

2.3.0

  • Added a Javascript option to allow changing of the path and filename for more automated workflows; for example, use the filename to set the correct path to save to.
  • Allowed Subfolder creation in filename template.

2.1.0

  • Added option to check spelling before creating PDF

2.0.2

  • Fixed issue where UI was crashing

2.0.1

  • Requires PowerScripts 3.4.2
  • CC2018 Compatability Fixes

2.0.0

  • Export artboards as separate files (NEW in 2.0.)
  • Secure the PDF with just a click using a common password
  • Add printers confidence strips for large format printers
  • Export just the currently selected artboard, a range of pages or the entire document
  • Automatically name the PDF, including adding: (NEW in 2.0.0)
    • Custom text
    • Timestamp, weekday name, day, month, year
    • The Linked filename of a placed document
    • Artboard size or name
    • Artboard number
    • Total number of Artboards
    • Exported page count
    • Document color mode (Helps to capture export errors downstream)
    • Document filename
    • Add in custom values which will ask for user input, such as a revision number
  • Set a destination to save (NEW in 2.0.0)
    • Last Exported to Folder
    • Documents Folder
    • Fixed Location
    • Current document working folder
    • Sub folder - creating it if it does not exist
  • Prompt for filenames or save each file without asking
  • Open the destination folder after exporting (NEW in 2.0.0)
  • Set different defaults to use for quick reuse