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] Event programming question
stephens.west.net
Mon, 08 Mar 1999 08:16:24 +700

Hey peter;
I had similiar problems with this. try using the command ED /K:x.bat, where
x.bat contains the commands you want processed.
Don
On 1999-03-08 ecs-list@netbloc.com said:
   >X-Priority: 3
   >X-MSMail-Priority: Normal
   >X-Mailer: Microsoft Outlook Express 4.72.2106.4
   >X-MimeOLE: Produced By Microsoft MimeOLE V4.72.2106.4
   >X-Return-Path: pkraus@gettix4u.com
   >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-----
   >Date: Sunday, March 07, 1999 10:26 AM
   >: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
   >:


  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
.