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

Exprot PDF/X-4:2008 with Illustrator settings

Explorer ,
Sep 18, 2023 Sep 18, 2023

Hello everyone, I tried to show with the pictures

what I want to do with the script.

Is there someone who can help me with this?

 

1-) File -> Save As

2-) Change pdf file name

3-) Adobe PDF presett -> PDF/X-4:2008 

 

 

Export PDF with Illustrator settings.jpgexpand image

TOPICS
Scripting
197
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
Guide ,
Sep 18, 2023 Sep 18, 2023
var myName = "myPDF";
var myFile = new File("~/Desktop/" + myName);
var myPDF = new PDFSaveOptions();
myPDF.pDFPreset = "[PDF/X-4:2008]";
app.activeDocument.saveAs(myFile, myPDF);
// app.activeDocument.close();

You can change the name of the file in line 1, the location the file is saved to (presetnly the desktop) in line 2, or the name of the preset in line 4. Uncomment (remove // from) line 6 to close the doc after it is saved.

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
Explorer ,
Sep 19, 2023 Sep 19, 2023
LATEST

It's exactly the solution I want. Thank 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