Page 1 of 1

"Enable All Features" in Adobe Acrobat (Work Around)

Posted: 05 Feb 2018, 14:20
by clina1j
So, I am currently working on a script to automate the downloading of a file as a PDF, then opening up the file in Adobe Acrobat, then saving it as a PowerPoint, then formatting it in PowerPoint.

So far, I have managed to automate the downloading of the file, despite the fact that almost nothing on that website had an ID. I then wait for a time period and hope that the file finished down loading, because though there is a spinning wait on the screen, there is not at the top of the website, so "WBReady" doesn't work. At that point I send "Alt-o", to open the file Adobe Acrobat.

But when it opens, it opens in Protected View. I have combed the Adobe Acrobat website, and I cannot find any sort of a keyboard short cut or automation to automatically enable the features of the PDF, so that I can export it as a ".ppt". Given that this script is going to have to run on other people's computers, with different and unknown screen sizes, I would really rather not just position the mouse on a certain place on the screen and click. Does anyone have any suggestions for how to enable features in a PDF file?

I cannot just turn Protected View off, because of my company's Security settings.
Because I am having my computer "open" the file, I cannot have the temporary download location added to the "Privileged Locations"
Adding the website where the file is downloaded to the list of "Privileged Locations" has also failed

Has anyone ever run into this problem before? What is the best work around?

Re: "Enable All Features" in Adobe Acrobat

Posted: 06 Feb 2018, 13:04
by clina1j
Bump for help!

Re: "Enable All Features" in Adobe Acrobat

Posted: 06 Feb 2018, 13:26
by bballjoe12
Where exactly would you actually click to "Enable All Features?"

Re: "Enable All Features" in Adobe Acrobat

Posted: 06 Feb 2018, 13:41
by clina1j
See picture below.
Protected view File.png
Protected view File.png (20.74 KiB) Viewed 5986 times
When you open a file from an "unsafe location", it opens in Protected view.

Re: "Enable All Features" in Adobe Acrobat

Posted: 06 Feb 2018, 13:49
by Guest
Before opening the file, try

Code: Select all

FileDelete, %PathToDownloadedFile%:Zone.Identifier:$DATA
first

Re: "Enable All Features" in Adobe Acrobat

Posted: 06 Feb 2018, 13:55
by bballjoe12
Do you have WindowsSpy to see what values you get when you hove over it?

Re: "Enable All Features" in Adobe Acrobat

Posted: 06 Feb 2018, 14:12
by clina1j
I didn't see anything useful, but I could be wrong. See attached screen shot.
Window Spy Info.png
Window Spy Info.png (37.08 KiB) Viewed 6240 times

Re: "Enable All Features" in Adobe Acrobat

Posted: 07 Feb 2018, 13:52
by clina1j
Bump for help today. Anyone have any suggestions?

Re: "Enable All Features" in Adobe Acrobat (Work Around)

Posted: 15 Feb 2018, 11:57
by clina1j
I eventually found a work around. It involved using "FindClick()" to click on the "Enable All" button. It is not as reliable as I would have preferred, but it will do.