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] Appending Text
Martin Terry
Thu, 10 Sep 1998 12:39:06 -0700

As an aside to this thread, I really didn't like the way ECS wouldn't
let you create text strings on the fly, so I wrote an event that loads a
text string from a text file. I use this method for all the mundane
messages that ecs needs to say or log, but only use a single text item.
They are referenced in events by a number and that number is passed to
an event that loads the message.


> -----Original Message-----
> From:	Daniel Dubay [SMTP:ddubay@umich.edu]
> Sent:	Thursday, September 10, 1998 12:32 PM
> To:	ecs-list@vancouver.ml.org
> Subject:	Re: [ECS] Appending Text
> 
> I see what you mean Carl.  I just paste the initial part of the
> sentence
> over the message and then append the rest of hte statement.  I
> construct
> the entire message from scratch each time overwriting the old message.
> 
> This can be used for any kind of message then.
> 
> Dan Dubay
> 
> >>> Carl Keyes <Ckeyes@duey.california.com> 09/10 3:02 AM >>>
> Daniel Dubay wrote:
> > 
> > Carl,  If you are using a second text item why do you have to reset
> it?
> > Just leave it until the next overwrite?
> 
> Dan,
> If I don't "reset" it, it just keeps getting longer  with each use.
> Ex. The current time is 6:am. The time being the appended text.
> Next time I access it, it will be: The current time is 6:00am  6:00am.
> and so on. So I have a second text item,The current time is,
> that I copy back to the first after the time is spoken.
> 
> Thanks,
> 
> Carl

  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
.