Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
pdf_export [2024/04/03 07:07] – [2.1.0] o2admin | pdf_export [2024/04/03 07:26] – [Javascript] o2admin | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ==== Javascript ==== | ||
+ | You can run Extendscript (Illustrator' | ||
+ | * Return an array with the find and replace values such as [{ find: " | ||
+ | * Return false to cancel without error | ||
+ | * Return string to show as an error. | ||
- | |Variable|Description|Example Output| | + | **Variables passed your code** |
+ | * ' | ||
+ | * ' | ||
+ | * ' | ||
+ | * ' | ||
+ | |||
+ | **Functions** | ||
+ | * Call getData(variable) to get the standard data from the table below, such as getData(' | ||
+ | * Call setPath(path) to change the destination path | ||
+ | * Call setFilename(filename) to set the filename template (overwriting the existing filename template) | ||
+ | ==== 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| | |timestamp|Timestamp| 2024-02-03 14:33:12| | ||
|time|Time HH: | |time|Time HH: |