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]

dummy scripting question


  • Subject: dummy scripting question
  • From: happy_hammer66
  • Date: Tue, 27 Jan 2004 16:47:00 +0000

trying to get the tack info the rio is playing onto the PCOSD.
Can get the rio XPL STAT msg recognised with Status=PLAYING so that
i'm able to send an xpl message to PCOSD or send an x10 command.

what i cant do is get a script to work to extract the
albim/artist/title from the rio xap msg.

Steve had posted on this (shown below) but still no joy. Has anyone
done this, if so can they post the script.

thanks, bill

----------------------------

Sub TONYT_RIO_YourRioInstance_Status(xPLMessage)

' process message
if
UCASE(xpl.getparam(xplmessage,"Status",true))="PLAYING"
then
strmsg="Command=clear"+chr(10)
strmsg=strmsg+"Text=" +
xpl.getparam(xplmessage,"Artist",true) + "
\n"
strmsg=strmsg+ xpl.getparam(xplmessage,"Track",true) +chr(10)
call xpl.sendmsg("","*","OSD.BASIC",strmsg)
end if

End sub







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.