Copy link to clipboard
Copied
Hello everyone.
Im building a script to be able to export files, But I have to use the suffix option.
I could not find anything about the suffix in the documentation or Illustrator Prefs.
Found this configuration on `Last Used Artboard Export Settings` file, but I do not know how to
build the script to use this kind of configuration.
Anyone have needed it and solved this problem?
Thanks in advance
The artboard object only has 9 properties according to the Adobe Illustrator Javascript Scripting Reference Guide, it doesn't include a suffix property. You can use javascript's string object to add a suffix to the name of your artboard exporter.
Heads up, there a number of existing multiple exporters scripts (javascript) available on GitHub.
Export multiple artboards in Adobe Illustrator to png, or pdf · GitHub
Copy link to clipboard
Copied
The artboard object only has 9 properties according to the Adobe Illustrator Javascript Scripting Reference Guide, it doesn't include a suffix property. You can use javascript's string object to add a suffix to the name of your artboard exporter.
Heads up, there a number of existing multiple exporters scripts (javascript) available on GitHub.
Export multiple artboards in Adobe Illustrator to png, or pdf · GitHub
Copy link to clipboard
Copied
Using ExportFile function Seems possible, as you export one artboard at time.
Was trying to simplify the coding using new CC2018 ExportForScreens function.
there we have the suffix. Maybe Illustrator uses the ExportFile on background and is still missing this parameter.
I have been able to make it work with ExportForScreens when using artboards.
Otherise, i have to use the ExportFile.
Thanks for the clarification.
Find more inspiration, events, and resources on the new Adobe Community
Explore Now