Jump to content

Capture directory access of Windows process X?

Recommended Posts

Hi all,

is there a way to make an AutoIt script to capture a directory access of a Windows process x (by PID or by exe name) returning the directory's path as Russinovich's procmon.exe does (see the attached image)?

The purpose would be to capture the last selected directory in the 3rd party software Picasa3.exe whose main user interface doesn't follow the Windows standards, therefore the most operations are impenetrable to the AutoIt's discovery methods. The idea (rather primitive one) would be to update a predefined text file with the last accessed folder, allowing other AutoIt scripts to read it and to get know the folder's path.

Other way around (perhaps?) would be to capture the related WM message?

I did some reading in the forum and elsewhere, but didn't find a possible solution so far...



Immagine 2022-12-16 131846.jpg

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

  • Recently Browsing   0 members

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