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 

WatchDirectory()
Goto page Previous  1, 2, 3
 
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Scripts & Functions
View previous topic :: View next topic  
Author Message
HotKeyIt



Joined: 18 Jun 2008
Posts: 2195
Location: GERMANY

PostPosted: Fri Jul 03, 2009 9:49 pm    Post subject: Reply with quote

Roland wrote:
Hi HotKeyIt,

Thanks for the great function.

I think I found a bug in the new function.

Code:
If (Dir%r%T!="")
   SetTimer,TimerDirectoryChanges, %T%


should be

Code:
If (Dir%r%T!="")
   SetTimer,TimerDirectoryChanges, % Dir%r%T


It seems %T% is blank and therefore the timer is always created with the default (250 ms).

Many thanks Roland, I have corrected this Wink
_________________
AutoHotFile - ToolTip(n,text,title,options) Wink
Back to top
View user's profile Send private message
e1miran



Joined: 17 Apr 2009
Posts: 9
Location: Tampa, FL

PostPosted: Tue Oct 13, 2009 3:29 pm    Post subject: Reply with quote

Great script. However, I'm having trouble getting it to detect anything on a network drive here at work.

I've tried both scripts (initial one and the revised with more options) and both work fine monitoring a directory on my local machine. But when I try to monitor a directory such as "\\10.202.0.150\vol1\SHARED"... nothing. This is a shared directory on the server here at work. Any ideas?
Back to top
View user's profile Send private message
HotKeyIt



Joined: 18 Jun 2008
Posts: 2195
Location: GERMANY

PostPosted: Tue Oct 13, 2009 7:34 pm    Post subject: Reply with quote

e1miran wrote:
Great script. However, I'm having trouble getting it to detect anything on a network drive here at work.

I've tried both scripts (initial one and the revised with more options) and both work fine monitoring a directory on my local machine. But when I try to monitor a directory such as "\\10.202.0.150\vol1\SHARED"... nothing. This is a shared directory on the server here at work. Any ideas?


It works fine for me at home and work.
Try to map a network drive and see if that works?
_________________
AutoHotFile - ToolTip(n,text,title,options) Wink
Back to top
View user's profile Send private message
Cristobal16
Guest





PostPosted: Fri Nov 20, 2009 4:49 pm    Post subject: Any way to have WatchDirectory display the modifying user? Reply with quote

This works great for me, but I would really like to be able to see which users do the modification / file creation. Is there any way that the user that modifies the file could pop up as part of the tooltip message? Thanks!
Back to top
Ender



Joined: 10 Apr 2009
Posts: 8
Location: Michigan, USA

PostPosted: Fri Nov 20, 2009 4:58 pm    Post subject: YES! Track users! Reply with quote

That is something I have been wondering about for a while too - is this possible? Please help!
_________________
This catacomb has got me by the throat.
--Sers, Depp. Ich will WORSCHT.--
----Tu madre tiene un bigote----
Back to top
View user's profile Send private message
HotKeyIt



Joined: 18 Jun 2008
Posts: 2195
Location: GERMANY

PostPosted: Fri Nov 20, 2009 5:36 pm    Post subject: Reply with quote

Try here, looks to be not easy and will not work for all files I think Smile
Using the Summary Information Stream (Windows) MSDN
_________________
AutoHotFile - ToolTip(n,text,title,options) Wink
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Scripts & Functions All times are GMT
Goto page Previous  1, 2, 3
Page 3 of 3

 
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