Jump to content

How to determine file that's open in WordPad?


qwert
 Share

Recommended Posts

An alternative could be open the process read memory strings search for the name file that notepad tittle bar show. then good back till ":" + Disk letter. Maybe I'll write something when I got some free time.

Saludos

Link to comment
Share on other sites

Maybe this one's worth a try:

http://www.codeproject.com/Articles/18975/Listing-Used-Files

OpenFileFinder.dll export:

  • void GetOpenedFiles( LPCWSTR lpPath, OF_TYPE Filter,OF_CALLBACK CallBackProc,UINT_PTR pUserContext );

If you call this function and pass a callback pointer, for each file handle that matches the input path, the callback function will be called.

Link to comment
Share on other sites

Problem is,from what I can gather from post #12 the OP wants to open wordpad, write something in it and without it being saved, to get the path of it.

I don't see myself how that could possibly be done since the file does not even have a path yet.

AutoIt Absolute Beginners    Require a serial    Pause Script    Video Tutorials by Morthawt   ipify 

Monkey's are, like, natures humans.

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...