script to run a Action Wizard action
I setup a Action Wizard action in Adobe Acrobat Pro, the purpose is to save the PDF as eps. I hope open a pdf file , then automatically perform actions, how to do with script?

I setup a Action Wizard action in Adobe Acrobat Pro, the purpose is to save the PDF as eps. I hope open a pdf file , then automatically perform actions, how to do with script?

My purpose is to batch process save as eps, rather than write a script for each PDF.
Right. The batch process takes care of opening and closing the file(s) for you. You don't need to do that in the code.
This is all you need to add:
this.saveAs({cPath: this.path.replace(".pdf", ".eps"), cConvID: "com.adobe.acrobat.eps"});
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.