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: xpl_phone & sending osd message


  • Subject: Re: xpl_phone & sending osd message
  • From: Graham Howe
  • Date: Tue, 13 Apr 2004 17:30:00 +0000

--- In <a
href="/group/ukha_xpl/post?postID=qJI7kzDzEzD0z3O43hQYGe9PaURi6LqVtbOmQ1wPI-EoYeuNFZLGP_u4DyCGLeobp20UujKJK5v695Z6Q03qRw">ukha_xpl@xxxxxxx</a>,
"rleong1" <rleong1@y...> wrote:
> i am trying to set up a script for xplphone to send caller id to
> pcosd, including my slimp3s. i am trying to write the number to
the
> 2nd line of the osd (which would display big text for the slimp3)
>
> i tried this &amp; it didn't work:
> mymsg = "command=write" &amp; chr(10) &amp;
"delay=60" &amp; chr(10) &amp;
> "text=" &amp; chr(10) &amp; callerName
> call
xpl.SendMsg("","","osd.basic",mymsg)
>
> the command never shows up in the xplhal log. if i replace the
> chr(10) with chr(13) i get this command in the log:
>
> command=writedelay=60text=12345678
>
> where  is some funny character
>
> what am i doing wrong?

Try using "\n" for the new line character

"text=\n" &amp; callerName.....

Graham

(answering his first ever xPL related question so it may well be
wrong ;-)






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.