Hi Marcus,
very nice function. But what when I want to monitor if a file changed in the last second or 2-5 seconds?
Do I have to use as range: 0.00001157407?
The range in days ist not really comfortable to monitor smaller amounts of time.
Monitor small amounts of time with IfFileChanged>
Moderators: Dorian (MJT support), JRL
Monitor small amounts of time with IfFileChanged>
regards
migro
migro
- Marcus Tettmar
- Site Admin
- Posts: 7394
- Joined: Thu Sep 19, 2002 3:00 pm
- Location: Dorset, UK
- Contact:
Re: Monitor small amounts of time with IfFileChanged>
IfFileChanged only works with a range of days. It doesn't work at the level you want.
FileTime returns the time to the second, so you may be able to poll that.
FileTime returns the time to the second, so you may be able to poll that.
Marcus Tettmar
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar
Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar
Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?
Re: Monitor small amounts of time with IfFileChanged>
Thanks Marcus, this will work for me.
regards
migro
migro