ReFran 15 Posted March 30, 2005 Hello, I want to get the path to a file executed in the active window. I know how to read the filename from title (Acrobat Reader - [Test.pdf]), but I need the full pathname of the file in the active Window (like: c:\documents\Reader\Test.pdf). I tried also WMI. I got all information of the running Acrobat process, but not the path. Is it somehow possible - without using an extra DLL? Thanks, Reinhard Share this post Link to post Share on other sites
Westi 0 Posted March 30, 2005 Hello, try -File -Document Properties For the german version of Reader 7.x : WinWaitActive ( "Adobe Reader - " ) Send ("^d") WinWaitActive ( "Dokumenteigenschaften" ) $text = WinGetText ( "Dokumenteigenschaften" ) Send ("{ENTER}") MsgBox ( 0, "All i can get:", $text) Share this post Link to post Share on other sites
ReFran 15 Posted March 30, 2005 Hello,try-File-Document PropertiesNot really what I'm awaited, but real good. I didn't remember to this menuitem. I write/wrote a script that make fillable PDF-forms saveable with Reader only. Knowing the path makes it more flexible.Because I have already to read text from a window/message box (field-names and field-values) I'm furtheron interested in a more direct solution. I'm realy astonished that it seems, I don't can get it via AutoIT or WMI.Anyway, thanks Westi, nice idea and easy working solution.Reinhard Share this post Link to post Share on other sites