Skip to main content
Participant
Mar 7, 2025 8:59 AM UTC
Question

How can i detect if pdf is opened in program or adobe website extension?

I need to detect if pdf is opened in program or adobe website extension. Adobe website extension displays pdf (i have form inside) different than its showed in program. I need to check where is it opened and move form fields. Any help would be appreciated.

10 replies

Participant
Mar 7, 2025 10:10 AM UTC

I need to check it via js.

Translate
try67
Community Expert
Community Expert
Mar 7, 2025 10:51 AM UTC

So you want to check if a specific file is opened in the app? What you can do is scan the app.activeDocs array and check the path property of each item in it, and compare it to the path of the file you're interested in. However, this must be done from a privileged context, such as the JS Console.

Translate
Participant
Mar 7, 2025 11:08 AM UTC

Thanks for help but unfortunatelly this wont work in my case.

Translate
Rene Andritsch
Community Expert
Community Expert
Mar 7, 2025 10:07 AM UTC

On Windows and Mac you can check the files infos or properties and set the app to open the PDF with.

Translate
Participant
Mar 7, 2025 10:10 AM UTC

Oh i might forgot to add that i need to check it via js. These pdfs are available on a websice for customers to fill

Translate