Jump to content

How to get full path of an active window?


Noob
 Share

Recommended Posts

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

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
Link to comment
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)

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...