ECS-L Home Automation and Security Archives
  learn more | view messages for this month | NetBloc® | terms of use | search

Google
 


  subject (prev) or (next) | time (prev) or (next) | author (prev) or (next) | view more subjects

Subject:
From:
Date:
RE: [ECS] Can ECS monitor a directory?
Steve Rauco
Wed, 1 Mar 2000 13:08:32 -0800 (PST)

That method does work.  I have a scheduled event process that takes my
schedule from Outlook and exports it.  At the appropriate time, it writes
out to a text file which ECS is monitoring.  I use the @ as an arbitrary
check character.  If the file doesn't start with @, it speaks the message,
then writes the file back out with @ as the only character.  May be able to
modify this concept for your use.  Let me know if you'd like the code I
have.


On Wed, 1 Mar 2000 10:36:33 -0500, ecs-list@netbloc.com wrote:

>  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.





_______________________________________________________
Get 100% FREE Internet Access powered by Excite
Visit http://freeworld.excite.com


  subject (prev) or (next) | time (prev) or (next) | author (prev) or (next) | view more subjects




Services provided by [NetBloc]®! NetBloc Solutions Inc.
Terms of use. Indexing software (c) 1999 Lin-De, Inc
.