|
ECS-L Home Automation and Security Archives |
learn more
| view messages for this
month | NetBloc® | terms of use | search
subject (prev) or (next) |
time (prev) or (next) |
author (prev) or (next) |
view more subjects
Subject: From: Date: | Re: [ECS] Event programming question Mark Gilmore Mon, 08 Mar 1999 12:18:48 -0800 |
DUH ! Sorry about that Peter :-):
Make your command (text of Text item) "ED {file} /K:X.EDM",
where {file} is the name of the file to edit.
Then create "X.EDM" with commands:
D
W
Q
peter kraus wrote:
>
> i did this and the ed program loaded with the text file but the D W Q
> commands did not get to the ed program? any thing that i might not be doing
> correct?
> -----Original Message-----
> From: Mark Gilmore <omnip@usit.net>
> To: ecs-list@netbloc.com <ecs-list@netbloc.com>
> Date: Sunday, March 07, 1999 10:26 AM
> Subject: Re: [ECS] Event programming question
>
> :Martin,
> :Create a batch file (e.g. "X.BAT") containing:
> : ED X.TXT (or any other filename)
> : D
> : W
> : Q
> :
> :Then create a Text Item whose text is "X".
> :Setting it to EXECUTE will then delete the
> :1st line of X.TXT.
> :
> :Martin Terry wrote:
> :>
> :> Mark (or anybody else that can answer this)-
> :>
> :> I'm a little fuzzy about the T(d)<-T(d) operator in event programming,
> even
> :> after reading the description. Can you give a short example of how this
> is
> :> used?
> :>
> :> Also, what I'm really driving at is having an event delete the first line
> of
> :> a text file, but leaving remaining lines as is. Is anyone doing something
> :> like this in ECS? Can you post a short example?
> :
> :--
> :Mark Gilmore
> :Omnipotence (ECS Home Automation Software)
> :omnip@usit.net
> :http://www.usit.com/omnip
> :
--
Mark Gilmore
Omnipotence (ECS Home Automation Software)
omnip@usit.net
http://www.usit.com/omnip
subject (prev) or (next) |
time (prev) or (next) |
author (prev) or (next) |
view more subjects