Noob Posted January 10, 2007 Share Posted January 10, 2007 Sorry if this is obvious... I may be overlooking it in the Help file... Is it possible to get file name and directory of an active window? Tnx. Link to comment Share on other sites More sharing options...
hearurscream Posted January 10, 2007 Share Posted January 10, 2007 Define what the active window is? Like MS Word or like Internet Explorer? Most "Active Windows" cannot be defined with a file name and directory. Infinity is a floorless room without walls or ceiling.Anyone who cannot cope with mathematics is not fully human. At best he is a tolerable subhuman who has learned to wear shoes, bathe, and not make messes in the house. Link to comment Share on other sites More sharing options...
Helge Posted January 10, 2007 Share Posted January 10, 2007 WinGetTitle("") + WinGetPath Link to comment Share on other sites More sharing options...
Noob Posted January 10, 2007 Author Share Posted January 10, 2007 (edited) Define what the active window is? Like MS Word or like Internet Explorer? Most "Active Windows" cannot be defined with a file name and directory.It's Microsoft Streets & Trips 2007 and/or the European equivalent Microsoft AutoRoute 2007.If it's not possible, can one think of a workaround? Edited January 10, 2007 by Noob Link to comment Share on other sites More sharing options...
Noob Posted January 10, 2007 Author Share Posted January 10, 2007 WinGetTitle("") + WinGetPathThanks, but if that gets me the exe path of the application, that's not exactly what I want The above mentioned programs are I guess more like MS Word: I need a path to the actual saved file a user is working on (not the path to word.exe) 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