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: New Desktop Build



------=_NextPart_000_000E_01C4441F.E0D050C0
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

James,

I want to insert some text into a label based on a xAP variable
The variable returns one of the following values, which I can pick up and
d=
isplay no problem.=20

Mode: security off, user 1
Mode: day mode, user 1=20
Mode: night mode, user 1=20
Mode: away mode, user 1

How do I make it more reader friendly, strip out everything upto the first
=
whitespace and everything after (and including if possible) the comma?

Max

------=_NextPart_000_000E_01C4441F.E0D050C0
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0
Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html;
charset=iso-8859-1">
<META content="MSHTML 6.00.2800.1400" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>


<DIV><FONT face=Arial size=2>James,</FONT></DIV>
<DIV><FONT face=Arial
size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>I want to insert some text into a
label based on a
xAP variable</FONT></DIV>
<DIV><FONT face=Arial size=2>The variable returns one of the
following values,
which I can pick up and display no problem. </FONT></DIV>
<DIV><FONT face=Arial
size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>
<DIV><FONT face=Arial size=2>Mode: security off, user
1</FONT></DIV>
<DIV><FONT face=Arial size=2>
<DIV><FONT face=Arial size=2>Mode: day mode, user 1
<DIV><FONT face=Arial size=2>Mode: night mode, user 1
<DIV><FONT face=Arial size=2>Mode:&nbsp;away mode, user
1</FONT></DIV>
<DIV>&nbsp;</DIV></FONT></DIV></FONT></DIV></FONT></DIV></FONT></DIV>
<DIV><FONT face=Arial size=2>How do I make it more reader
friendly, strip out
everything upto the first whitespace and everything after (and including if
possible) the comma?</FONT></DIV>
<DIV><FONT face=Arial
size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Max</FONT></DIV>
<DIV><FONT face=Arial
size=2></FONT>&nbsp;</DIV><!-- **end egp html
banner** -->

<br>

<!-- **begin egp html banner** -->

<table border=0 cellspacing=0 cellpadding=2>
<tr bgcolor=#FFFFCC>
<td align=center><font size="-1"
color=#003399><b>Yahoo! Groups
Sponsor</b></font></td>
</tr>
<tr bgcolor=#FFFFFF>
<td align=center width=470><table border=0 cellpadding=0
cellspacing=0> <tr> <td align=center><font face=arial
size=-2>ADVERTISEMENT</font><br><a href="http://rd.yahoo.com/SIG=129em7j34/M=295196.4901138.6071305.3001176/D=groups/S=1705007709:HM/EXP=1085768517/A=2128215/R=0/SIG=10se96mf6/*http://companion.yahoo.com";
alt=""><img src="http://us.a1.yimg.com/us.yimg.com/a/ya/yahoo_companion/lrec_companion_043004.gif";
alt="click here" width="300" height="250"
border="0"></a></td></tr></table>
</td>
</tr>
<tr><td><img alt="" width=1 height=1 src="http://us.adserver.yahoo.com/l?M=295196.4901138.6071305.3001176/D=groups/S=:HM/A=2128215/rand=436613878";></td></tr>
</table>

<!-- **end egp html banner** -->



<!-- **begin egp html banner** -->

<br>
<tt><hr width="500">
<b>Yahoo! Groups Links</b><br>
<ul>
<li>To visit your group on the web, go to:<br><a
href="http://groups.yahoo.com/group/xap_automation/";>http://groups.yahoo.com/group/xap_automation/</a><br>&nbsp;
<li>To unsubscribe from this group, send an email to:<br><a
href="mailto:xap_automation-unsubscribe@xxxxxxx?subject=Unsubscribe";>xap_automation-unsubscribe@xxxxxxx</a><br>&nbsp;
<li>Your use of Yahoo! Groups is subject to the <a href="http://docs.yahoo.com/info/terms/";>Yahoo!
Terms of Service</a>.
</ul>
</tt>
</br>

<!-- **end egp html banner** -->


</BODY></HTML>

------=_NextPart_000_000E_01C4441F.E0D050C0--


xAP_Automation Main Index | xAP_Automation Thread Index | xAP_Automation 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.