albertmaathuis Posted August 29, 2012 Share Posted August 29, 2012 Hello,Is there a way to retrieve the full path and filename from an active FOXIT document.I can see in foxit reader in the general tab the full filename and the name of the document, but how do i get this in a variable?(I found how i can retrive the information from a file, but not from an active document) Link to comment Share on other sites More sharing options...
wakillon Posted August 29, 2012 Share Posted August 29, 2012 For get the title of the active tab $_Title = WinGetTitle ( '[CLASS:classFoxitReader]' ) AutoIt 3.3.14.2 X86 - SciTE 3.6.0 - WIN 8.1 X64 - Other Example Scripts Link to comment Share on other sites More sharing options...
albertmaathuis Posted August 29, 2012 Author Share Posted August 29, 2012 This only gives met the name of the document; not the fulle path. Link to comment Share on other sites More sharing options...
wakillon Posted August 29, 2012 Share Posted August 29, 2012 This only gives met the name of the document; not the fulle path.Yes, as your topic title ask.If there is only 1 tab opened in foxit you can try to get the command line of foxit and get full path. AutoIt 3.3.14.2 X86 - SciTE 3.6.0 - WIN 8.1 X64 - Other Example Scripts Link to comment Share on other sites More sharing options...
albertmaathuis Posted August 29, 2012 Author Share Posted August 29, 2012 Ok, but how do I do thet? (Excuse me if this is evident, but I don't know how) Link to comment Share on other sites More sharing options...
wakillon Posted August 29, 2012 Share Posted August 29, 2012 search for _WinAPI_GetProcessCommandLine AutoIt 3.3.14.2 X86 - SciTE 3.6.0 - WIN 8.1 X64 - Other Example Scripts Link to comment Share on other sites More sharing options...
albertmaathuis Posted August 29, 2012 Author Share Posted August 29, 2012 Thx Wakillon, I had to download the latest version of autoIT v3.3.8.1 because of the constants, but now i can find the info I need! Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now