Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
pdf_export [2018/02/20 05:15] – [2.0.2] o2adminpdf_export [2024/04/03 07:19] o2admin
Line 1: Line 1:
 +==== 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*|
 +|timestamp|Timestamp| 2024-02-03 14:33:12|
 +|time|Time HH:MM:SS|14:33:12|
 +|weekday|Weekday|Monday|
 +|shortweekday|Short Weekday|Mon|
 +|day|Day|3|
 +|month~Month|7|
 +|year~Year|2024|
 +|linked.filename~Filename of First Linked File|*Empty if none found|
 +|pdf.preset|PDF Preset Name| |
 +|artboard.width|Artboard Width in document units | |
 +|artboard.height|Artboard Height in document units| |
 +|artboard.number|Artboard Page Number|  |
 +|artboard.name|Artboard Name|  |
 +|artboard.count|Total Artboard Count| |
 +|export.number|Current count of pages being exported| |
 +|export.count|Total Number of pages being exported|  |
 +|doc.rulerunits|Ruler Units|mm|
 +|doc.colorSpace|Document Color Space|RGB|
 +|doc.filename|Document filename|example.ai|
 +|?Question|Uses the text to ask a question| {?Customer Name} will prompt for "Customer Name"|
  
  
 ==== Release Notes ==== ==== 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 ===== ===== 2.1.0 =====
-  * Added option to check speklking before creating PDF+  * Added option to check spelling before creating PDF