The UK Home Automation Archive

Archive Home
Group Home
Search Archive


Advanced Search

The UKHA-ARCHIVE IS CEASING OPERATIONS 31 DEC 2024


[Message Prev][Message Next][Thread Prev][Thread Next][Message Index][Thread Index]

RE: Tivo OSD back


  • Subject: RE: Tivo OSD back
  • From: Kevin Hawkins
  • Date: Sat, 27 Sep 2003 16:20:00 +0000

Hi Tony..

At the moment the xAP OSD feature only works for xPL multiline
osd.basic messages when the "Text" value is delimited with the \n
char. From
the below I now see that you can have identical repeating name value pairs
within one xPL message and there is an implicit sequential inference. I am
guessing this may be frequently used.

So.... if I wish to support this how do I use xpl.getparam within
xplHal to retrieve the repeated values - and how can I tell how many there
are ??

Is there anything easy like repeated calls to
xpl.getparam(xplMessage,"text",True) will return the next value
and null at
the end or do I use xpl.GetParamCount() and then test each one successively
for "text" and then read the values. Obviously I would like the
fastest
method possible.

Kevin



> -----Original Message-----
> From: Tony Tofts [mailto:<a
href="/group/ukha_xpl/post?postID=zOZQ775alsaF6D_uxbOE8I-ivNNSGOgzJSHiAASEZCvAk6i940BFzs5KzT2gbYKKpcQFy0GIMXRz4w">tony@x...</a>]
> Sent: 23 September 2003 19:29
> > I assume you can send successive messages to get text
> > in different colours ?
>
> Yep, or all in one message if you like
>
> E.g.
> Command=clear
> Forecol=1
> Text=hello\nworld
> Row=6
> Backcol=0
> Forecol=10
> Text=goodbye
>
> Etc etc
>
> The command= must appear only once and as the first item,
> All other items are optional and can be repeated at will
>







xPL Main Index | xPL Thread Index | xPL Home | Archives Home

Comments to the Webmaster are always welcomed, please use this contact form . Note that as this site is a mailing list archive, the Webmaster has no control over the contents of the messages. Comments about message content should be directed to the relevant mailing list.