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

Export for screens - Exporting multiple documents

New Here ,
Oct 20, 2017 Oct 20, 2017

What I'm trying to do is save time when I'm saving files. I can't find an appropriate solution for my use case. The "export for screens" interface seems to be the closest solution, but the problem is that it doesn't allow to save the document types that I need.

What I want is to be able, at the end of each project, or even during if possible, to have multiple documents exported to multiple folders, with their assigned suffixes.

For example,

Folder nameDocument NameSuffixExtension
ArtworkArtboard 1.ai
PressArtboard 1.pdf
ProofArtboard 1LR.pdf
TiffArtboard 1.tiff

Is there something within Illustrator that allows me to automate this, that I've overlooked?

4.0K
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
Adobe
Community Expert ,
Oct 21, 2017 Oct 21, 2017

You will need at least scripting to do this, if not a plugin.

Maybe someone knows if this already exists somewhere, but if not: Contract a developer to make this for you.

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 ,
Nov 01, 2017 Nov 01, 2017

Willing to do the scripting myself if needed, would be good to have a starting point.

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
LEGEND ,
Nov 01, 2017 Nov 01, 2017

Then try over at Illustrator Scripting. Check the forums home for access.

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
Adobe Employee ,
Nov 02, 2017 Nov 02, 2017

Hi Daniel,

Greeting from Adobe,

Scripting support for export for screen is available, please refer guides from following article

Illustrator Scripting | Adobe Developer Connection

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
Adobe Employee ,
Nov 02, 2017 Nov 02, 2017

refer below code for sample script,

var doc = app.documents[0];

var assets = doc.assets; 

var whatToExport = new ExportForScreensItemToExport();

whatToExport.artboards = '20-59';

whatToExport.document = true;

var jpegParam = new ExportForScreensOptionsJPEG();

jpegParam.compressionMethod = JPEGCompressionMethodType.PROGRESSIVE;

jpegParam.progressiveScan = 4;

jpegParam.antiAliasing = AntiAliasingMethod.None;

jpegParam.embedICCProfile = true;

jpegParam.scaleType = ExportForScreensScaleType.SCALEBYFACTOR;

jpegParam.scaleTypeValue = 3;

var path=new File(InitialFolderPath);

doc.exportForScreens(path, ExportForScreensType.SE_JPEG80,  jpegParam, whatToExport, "JPEG80_");

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
Community Beginner ,
Nov 14, 2017 Nov 14, 2017

In the Illustrator Scripting link you provide no such internal functions are provide like "ExportForScreensItemToExport()" without that we are unable to know its properties right? so, please can you guide us where we can find these function to build some custom scripts

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
Community Expert ,
Nov 14, 2017 Nov 14, 2017

were the export for screens functions added to the scripting reference for CC 2018? has this been published anywhere?

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
Community Beginner ,
Nov 14, 2017 Nov 14, 2017

i found this page, hope this is helpful to you What's New in Illustrator Scripting CC2018

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
Community Expert ,
Nov 14, 2017 Nov 14, 2017

aha, good old Carlos. so yes, access to export for screen was introduced with the most recent version.

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
Advisor ,
Jan 29, 2020 Jan 29, 2020
LATEST

They need to update their docs. How does Carlos come by this info?

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
Community Beginner ,
Nov 16, 2017 Nov 16, 2017

@hitsharm21091 I had tried to execute the sample code provided by you in illustrator CC 2017. But it throws an error.

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
Advisor ,
Jan 29, 2020 Jan 29, 2020

Why are you pointing to guides and then come with code which not in any oftheir outdated documentation?

The parts for saveforscreen is not in any of the PDF files. Those date back to cc 2017 and are written in 2016?!?!

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