Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

exportForScreens using suffix

New Here ,
Jun 13, 2018 Jun 13, 2018

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

TOPICS
Scripting
5.6K
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Explorer , Jun 13, 2018 Jun 13, 2018

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

Translate
Adobe
Explorer ,
Jun 13, 2018 Jun 13, 2018

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

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jun 13, 2018 Jun 13, 2018
LATEST

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.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines