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] File help, please
A.J. Griglak
Fri, 4 Aug 2000 13:18:29 -0400

I'm not quite following what you've said.

Here's what I tried

If    Hour           Is Now     12:00
Then  Text-A         T1<Stt     Month/Date
Then  Text-A         Set        ,
Then  Text-A         Set        <space>
[same thing for time]
Then  File-Item 1    Set        Text-Item 1
Then  Text-A         Set        Text-Item 1
Then  File-Item 2    Set        Text-item 2
Then  Text-A         Set        Text-Item 2
Then  Log-File       Set        Text-A

I think that's close... but it's not working yet...

-=A.J.

-----Original Message-----
From: Mark Gilmore [mailto:omnip@usit.net]
Sent: Friday, August 04, 2000 12:30 PM
To: ecs-list@netbloc.com
Subject: Re: [ECS] File help, please


If you set a FILE Item to a TEXT Item, ECS will
write that Text the the file.
--
Mark Gilmore
Omnipotence (ECS home automation software)
http://www.usit.com/omnip
423-745-0026
Hours: Mon-Sat, 9AM-8PM/EST


"A.J. Griglak" wrote:
>
> I just can't grasp the reading and writing to files.
>
> What is the difference between an item of type TEXT with a value of
> @filename.ext and an item of type FILE with a value of filename.ext?
>
> Also, I'd like to log the contents of two seperate files in one log on the
> same line.
>
> For example, the contents of FILE1.TXT is TEXT#1 BLAH, the contents of
> FILE2.TXT is TEXT#2.
> I would like the log to look like this:
>
> 8/3, 11:30: TEXT#1 BLAH, TEXT#2
>
> I can figure out the date and time, but no matter what I do, I can't get
the
> file contents to log...
>
> TIA,
>
> -=A.J.


  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
.