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

Exporting Ai with exportForScreens

Community Expert ,
Jan 16, 2025 Jan 16, 2025

Copy link to clipboard

Copied

Starting with Illustrator 2025 (29.2), Ai and EPS can be exported with export for screens. How to call it from ExtendScript?

I tried ExportForScreensType.SE_AI, ExportForScreensType.SE_ILLUSTRATOR, etc. as when using exportForScreens, but it was undefined. It is fine even though the functionality does not exist because it can be done with saveAs, but if it is provided by a new, fast-moving technology, I would like to use that.

Here is the code I tried.
try {
  // sccess
  // alert(ExportForScreensType.SE_SVG) ;
  // --> 'ExportForScreensType.SE_SVG'

  // error (undefined)
  alert(ExportForScreensType.SE_AI) ;
  // alert(ExportForScreensType.SE_Ai) ;
  // alert(ExportForScreensType.SE_ai) ;
  // alert(ExportForScreensType.SE_aI) ;
  // alert(ExportForScreensType.SE_ILLUSTRATOR) ;
  // alert(ExportForScreensType.SE_Illustrator) ;
  // alert(ExportForScreensType.ILLUSTRATOR) ;
  // alert(ExportForScreensType.Illustrator) ;
  // alert(ExportForScreensType.SE_EPS) ;
  // alert(ExportForScreensType.SE_Eps) ;
  // alert(ExportForScreensType.SE_eps) ;
  // alert(ExportForScreensType.EPS) ;
  // alert(ExportForScreensType.Eps) ;
  // alert(ExportForScreensType.eps) ;
} catch(e) {
  alert(e) ;
}
TOPICS
Import and export , Scripting

Views

88

Translate

Translate

Report

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

Enthusiast , Jan 17, 2025 Jan 17, 2025

The v29.2 object model doesn't seem to have changed much from previous releases. I also note that the WebP format is not available for ExtendScript either. I wrote about this in the Adobe Illustrator Prerelease Slack, although the problems of script authors are not taken into account 🙂

Votes

Translate

Translate
Adobe
Enthusiast ,
Jan 17, 2025 Jan 17, 2025

Copy link to clipboard

Copied

The v29.2 object model doesn't seem to have changed much from previous releases. I also note that the WebP format is not available for ExtendScript either. I wrote about this in the Adobe Illustrator Prerelease Slack, although the problems of script authors are not taken into account 🙂

Votes

Translate

Translate

Report

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 ,
Jan 17, 2025 Jan 17, 2025

Copy link to clipboard

Copied

LATEST

Thanks for the information, that is unfortunate. Will wait a little longer and give up if no additional information is provided.

Votes

Translate

Translate

Report

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