| ECS-L Home Automation and Security Archives |
| Subject: From: Date: | Re: [ECS] Touchscreen-K-Text Kevin Trainor Sat, 16 Dec 2000 11:37:34 -0600 |
Mark:
Thanks. That helped.
Now, I'm stuck on displaying text on a new screen. My code is in this
sequence:
switch to new screen
load commands into item
load text into item
display item
Unfortunately, I am seeing the text display on the current screen, then the
leopard switches to the new screen and wipes the text out. It looks like
the text writing is faster than the screen switching. Did anyone else have
this
problem? If so, how did they deal with it.
Thanks for your help.
Kevin
----- Original Message -----
From: "Mark Gilmore" <omnip@usit.net>
To: <ecs-list@netbloc.com>
Sent: Saturday, December 16, 2000 8:31 AM
Subject: Re: [ECS] Touchscreen-K-Text
> Yes
> --
> Mark Gilmore
> Omnipotence (ECS home automation software)
> http://omnipotencesoftware.com
> 423-745-0026
> Hours: Mon-Sat, 9AM-8PM/EST
>
>
> Kevin Trainor wrote:
> >
> > Mark:
> >
> > Thanks for your input. Just how do I access the command portion and the
> > text portion of the touchscreen-k-text item? Are you saying that I
should
> > treat the touchscreen-k-text item as a multiline text item where the
command
> > is in the first line (T1) and the text is in the second line (T2)?
> >
> > Kevin
> >
> > ----- Original Message -----
> > From: "Mark Gilmore" <omnip@usit.net>
> > To: <ecs-list@netbloc.com>
> > Sent: Saturday, December 16, 2000 7:44 AM
> > Subject: Re: [ECS] Touchscreen-K-Text
> >
> > > Kevin,
> > > To do this, you would need to have an Event create the desired
> > > command as in a TEXT Item, then "load it" into a TOUCH-TEXT
> > > Item via the T1<-T1 or T2<-T1 operators.
> > > --
> > > Mark Gilmore
> > > Omnipotence (ECS home automation software)
> > > http://omnipotencesoftware.com
> > > 423-745-0026
> > > Hours: Mon-Sat, 9AM-8PM/EST
> > >
> > >
> > > > Kevin Trainor wrote:
> > > >
> > > > All:
> > > >
> > > > I am trying to use the Touchscreen-K-Text item type to display text
on
> > > > my Leopard. As usual, I am having difficulty figuring out the
coding
> > > > conventions. Sometimes I think that I am absolutely ECS learning
> > > > disabled. But, back to my question:
> > > >
> > > > I can't see how to change the command string within an item of this
> > > > type on the fly. I had assumed that I could set up one item and
then
> > > > write text like this:
> > > >
> > > > setup command 1
> > > > setup text string 1
> > > > display item
> > > > setup command 2
> > > > setup text string 2
> > > > display item
> > > > etc.
> > > > etc.
> > > > etc.
> > > >
> > > > But, I can't see how to do this. The SET operator for this type
seems
> > > > to allow you to specify either DISPLAY or an item name. I assume
that
> > > > this covers the "setup text string" and "display" functions above.
> > > > But, I can't see how to assign a new value to the command string. I
> > > > guess that I could create an item for each command string. And,
> > > > perhaps this is the way that it is done.
> > > >
> > > > So, I'm a bit lost here. I would appreciate guidance from anyone
who
> > > > has done this.
> > > >
> > > > Thanks.
> > > >
> > > > Kevin
> > >
>