Copy link to clipboard
Copied
When a pdf file is opened in Windows 10, where does its metadata (current scrolled positon, current page etc. ) stored in OS? Can we as a third party access these information?
Copy link to clipboard
Copied
If you're referring to the function of the application that restores the last view setting of a file then it's saved somewhere internally in the app. It is not a part of the file's metadata.
Copy link to clipboard
Copied
@try67 Thank you for the reply. Is there a posibility to access those saved information related to last view setting from outside the application (as a third party) ?
Copy link to clipboard
Copied
There's no API for it. If you discover where it's saved, and it's in a format that can be easily read (like a text file, or a registry setting), then yes, you can do it.
Copy link to clipboard
Copied
May be that this information is stored in the registry of Windows.
Copy link to clipboard
Copied
Thank you.
Found the details in the registry in Computer\HKEY_CURRENT_USER\SOFTWARE\Adobe\Acrobat Reader\DC\.
The currently opened document informaton can be found in Computer\HKEY_CURRENT_USER\SOFTWARE\Adobe\Acrobat Reader\DC\SessionManagement as well as the last pdf details found in Computer\HKEY_CURRENT_USER\SOFTWARE\Adobe\Acrobat Reader\DC\RememberedViews
Copy link to clipboard
Copied
Thanks for sharing it with us. It's good to know where these things are located...