| View previous topic :: View next topic |
| Author |
Message |
ProfessorY91
Joined: 03 Mar 2008 Posts: 12 Location: Inside your mind.
|
Posted: Tue Dec 15, 2009 6:26 pm Post subject: Folder Monitoring Software |
|
|
Hello AHK community,
I'm trying to write a script that monitors everything that goes on inside a folder. This folder happens to be a networked folder, but we'll get into that later. I need to monitor:
- When a file was created, last modified, and last accessed. I've done that using FileGetAttrib.
- Implementing a strict renaming scheme, done that using File-Loops.
- Who created/accessed/modified a particular file? (Very broad,).
A few details. The folder is networked on an Active Directory system thus, pulling up for example, a Word Document's (or any file's) properties... Right Click, Properties.
Under the Security tab, I can see the name of the user that last modified/accessed/created the file: "Person. A. Lastname" lastname@ad.umn.edu.
This person is also known as the Document Owner.
Is that value retrievable using AHK?
Is there another way of tracking who modifies a file? Maybe the username of the person that logged on to the computer, when that document was created?
Thanks in advance for the ideas/help! _________________

  |
|
| Back to top |
|
 |
MasterFocus
Joined: 08 Apr 2009 Posts: 3035 Location: Rio de Janeiro - RJ - Brasil
|
Posted: Tue Dec 15, 2009 8:58 pm Post subject: |
|
|
Here's a start: WatchDirectory() _________________ "Read the manual. Read it again. Search the forum.
Try something before asking. Show what you've tried."
Antonio França
My stuff: Google Profile |
|
| Back to top |
|
 |
ProfessorY91
Joined: 03 Mar 2008 Posts: 12 Location: Inside your mind.
|
Posted: Tue Dec 15, 2009 10:29 pm Post subject: |
|
|
MasterFocus, you are the bomb. That link leads to an extremely useful script which monitors multiple folders (recursively) very efficiently.
I'd still like to know if there's any way to retrieve the modifier's username, IP, computer name, or any other identifying characteristic.
Thanks! _________________

  |
|
| Back to top |
|
 |
|