AutoHotkey Homepage AutoHotkey Community
Let's help each other out
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Folder Monitoring Software

 
Reply to topic    AutoHotkey Community Forum Index -> Ask for Help
View previous topic :: View next topic  
Author Message
ProfessorY91



Joined: 03 Mar 2008
Posts: 12
Location: Inside your mind.

PostPosted: Tue Dec 15, 2009 6:26 pm    Post subject: Folder Monitoring Software Reply with quote

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
View user's profile Send private message
MasterFocus



Joined: 08 Apr 2009
Posts: 3035
Location: Rio de Janeiro - RJ - Brasil

PostPosted: Tue Dec 15, 2009 8:58 pm    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
ProfessorY91



Joined: 03 Mar 2008
Posts: 12
Location: Inside your mind.

PostPosted: Tue Dec 15, 2009 10:29 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    AutoHotkey Community Forum Index -> Ask for Help All times are GMT
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum


Powered by phpBB © 2001, 2005 phpBB Group