Sign in to follow this  
Followers 0
Noob

How to get full path of an active window?

5 posts in this topic

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.

Share this post


Link to post
Share on other sites



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.

Share this post


Link to post
Share on other sites

#4 ·  Posted (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 by Noob

Share this post


Link to post
Share on other sites

WinGetTitle("") + WinGetPath

Thanks, 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)

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0