| ECS-L Home Automation and Security Archives |
| Subject: From: Date: | RE: [ECS] Can ECS monitor a directory? A.J. Griglak Wed, 1 Mar 2000 10:36:33 -0500 |
Hmm.. Thanks for the quick reply. Great idea! I will look into, but I am
really weak with reading text files and converting them for ECS... (I'll
post a related question in a separate message)
[A.J. Griglak]
-----Original Message-----
From: David Kindred [mailto:david_kindred@iname.com]
Sent: Wednesday, March 01, 2000 10:25 AM
To: ecs-list@netbloc.com
Subject: RE: [ECS] Can ECS monitor a directory?
A.J.,
I've got a kludge of an idea. This will only let you know (potentially) if
you have WAV files at all in the directory. Have a batch file named
"check.bat" such as the following:
DEL check.txt
DIR *.WAV /b >check.txt
This will put the listing of any WAV's into a file, without the header
information you generally get with a DIR. Then, use ECS to check the first
character of the file to see if it's non null. Might work.
--David
-----Original Message-----
From: A.J. Griglak [mailto:aj@griglak.com]
Sent: Wednesday, March 01, 2000 10:17 AM
To: ECS List
Subject: [ECS] Can ECS monitor a directory?
Can ECS monitor a directory and tell (without knowing any specific
filenames) if a new file is in a particular directory?
I would like this capability to track whether I have new messages from
my voicemail software, and be able to play them through ECS. They are saved
as *.WAV files in a directory by themselves. However, the filename is
complicated - it's based on the time and date - and it's never the same.
Thanks!
-=A.J.
A.J.,I've got a kludge of an idea. This will only let you know (potentially) if you have WAV files at all in the directory. Have a batch file named "check.bat" such as the following:DEL check.txtDIR *.WAV /b >check.txtThis will put the listing of any WAV's into a file, without the header information you generally get with a DIR. Then, use ECS to check the first character of the file to see if it's non null. Might work.--David-----Original Message-----
From: A.J. Griglak [mailto:aj@griglak.com]
Sent: Wednesday, March 01, 2000 10:17 AM
To: ECS List
Subject: [ECS] Can ECS monitor a directory?Can ECS monitor a directory and tell (without knowing any specific filenames) if a new file is in a particular directory?I would like this capability to track whether I have new messages from my voicemail software, and be able to play them through ECS. They are saved as *.WAV files in a directory by themselves. However, the filename is complicated - it's based on the time and date - and it's never the same.Thanks!-=A.J.