Sign in to follow this  
Followers 0
Zohar

How Can I Get the Full Path to the Image Currently Worked On, with Paint.EXE?

3 posts in this topic

Hi

I am using Windows XP SP3,

and I have a question regarding PAINT.EXE.

If I work on some image now, how can I get the full path for it?

(like: C:\Folder\Folder\Image.BMP)

Thank you

Share this post


Link to post
Share on other sites



I've found the last opend file in paint.exe in this MRU list:

[HKEY_USERSS-1-5-21-2268375843-2861569591-1031337158-1001SoftwareMicrosoftWindowsCurrentVersionAppletsPaintRecent File List]
"File1"="C:UsersPublicPicturesshot0001.png"

Share this post


Link to post
Share on other sites

#3 ·  Posted (edited)

Hi KaFu

Thank you for that idea!

Is there a chance maybe to get it also from the Common Filfe Save Dialog?

I can do this to open the Save File Dialog:

Send("!f")    ;Alt-F for the File menu
Send("a")    ;A for "Save As..."

then the dialog will open.

Is there any way that I can "ask" from it to return its current path?

(and then I will close it)

Edited by Zohar

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