0
Exprot PDF/X-4:2008 with Illustrator settings
Explorer
,
/t5/illustrator-discussions/exprot-pdf-x-4-2008-with-illustrator-settings/td-p/14092714
Sep 18, 2023
Sep 18, 2023
Copy link to clipboard
Copied
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
TOPICS
Scripting
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more
Explore related tutorials & articles
Guide
,
/t5/illustrator-discussions/exprot-pdf-x-4-2008-with-illustrator-settings/m-p/14094680#M381057
Sep 18, 2023
Sep 18, 2023
Copy link to clipboard
Copied
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.
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more
Goldberg_1453
AUTHOR
Explorer
,
LATEST
/t5/illustrator-discussions/exprot-pdf-x-4-2008-with-illustrator-settings/m-p/14095696#M381109
Sep 19, 2023
Sep 19, 2023
Copy link to clipboard
Copied
It's exactly the solution I want. Thank you
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more

