Quitter
  • Communauté internationale
    • Langue:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티

exportForScreens using suffix

Nouveau ici ,
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

SUJETS
Scripting
5.6K
Traduire
Signaler
Directives de la communauté
Restez bienveillant et courtois, ne vous attribuez pas la paternité des créations d’autrui et assurez-vous de l’absence de doublons avant de poster du contenu. En savoir plus
community guidelines

correct answers 1 bonne réponse

Explorateur , 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

Traduire
Adobe
Explorateur ,
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

Traduire
Signaler
Directives de la communauté
Restez bienveillant et courtois, ne vous attribuez pas la paternité des créations d’autrui et assurez-vous de l’absence de doublons avant de poster du contenu. En savoir plus
community guidelines
Nouveau ici ,
Jun 13, 2018 Jun 13, 2018
LA PLUS RÉCENTE

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.

Traduire
Signaler
Directives de la communauté
Restez bienveillant et courtois, ne vous attribuez pas la paternité des créations d’autrui et assurez-vous de l’absence de doublons avant de poster du contenu. En savoir plus
community guidelines