I've been refreshing/expanding my understanding of how to use the Acrobat Interapplication Communication OLE Automation in Powershell to work with PDFs.
I'd appreciate any feedback on the following code, which I view as the basics of creating the App, PDDoc, and AVDoc COM objects needed to open, work with, and clean up after working with a PDF. Are there better/more efficient ways to accomplish the same end?
(I had to paste the code in as an image because I didn't see a way to paste code in this editor.)
To mark code as such select it in the editor, click the Insert tool, then select Syntax Highlighting and then the relevant language:
When sending a reply you must first click the Use Advanced Editor button at the top right-hand corner of the reply window to gain access to this tool, but it should be available by default when creating a new discussion, I believe.