albertmaathuis Posted August 29, 2012 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)
wakillon Posted August 29, 2012 Posted August 29, 2012 For get the title of the active tab $_Title = WinGetTitle ( '[CLASS:classFoxitReader]' ) AutoIt 3.3.18.0 X86 - SciTE 4.4.6.0 - WIN 11 24H2 X64 - Other Examples Scripts
albertmaathuis Posted August 29, 2012 Author Posted August 29, 2012 This only gives met the name of the document; not the fulle path.
wakillon Posted August 29, 2012 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.18.0 X86 - SciTE 4.4.6.0 - WIN 11 24H2 X64 - Other Examples Scripts
albertmaathuis Posted August 29, 2012 Author Posted August 29, 2012 Ok, but how do I do thet? (Excuse me if this is evident, but I don't know how)
wakillon Posted August 29, 2012 Posted August 29, 2012 search for _WinAPI_GetProcessCommandLine AutoIt 3.3.18.0 X86 - SciTE 4.4.6.0 - WIN 11 24H2 X64 - Other Examples Scripts
albertmaathuis Posted August 29, 2012 Author 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!
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