If not, is there any way to get the full path of the file the active acrobat window has open? I want to make a tool that will automaticly attach to whatever acrobat window is openand do stuff with the acrobat object
In JS, this.path will return the path of the currently opened file.
That would require me to have the jsobject already!
Assuming the only things I have are the handle to the window and the process id, is there a wa to get the OLE and JS objects of that acrobat instance? Can I get the AcroExch.PDDoc from the process ID? OR is that somthing I would have to look into the programming language for not Acrobat?
1 person found this helpful
Look in the Interapplication Communication Reference, I'm pretty sure there is a method to return the active AVDoc. (Be sure you understand the difference between PDDoc and AVDoc).
OH thankyou I knew there must be a way
I'd post the code here, but every damn time I try to it keeps insisting that it is a table and messes it up... and I can't find any clear formatting button