Javascript to convert all text to curves and save the file as a PDF in a subfolder
Hello! So this is what I want to achieve in order to automate the prepress saving process:
1. I want to execute these functions:
app.executeMenuCommand("unlockAll");
app.executeMenuCommand("selectall");
app.executeMenuCommand("OffsetPath v22");
app.executeMenuCommand("outline");
2. And then to Save the file as a pdf in a relative location: "currentDocPath/Prepress/currentFileName.pdf" (the prepress folder should be created if it doesn't exist and the PDF file should be overwritten if there is already a PDF there.
P.S. the unlock all function unlocks the locked objects. Is there an action that I can place before it to unlock the layers so it doesn't miss some text object in a locked layer?
Thank you for your help!
