[Message Prev][Message
Next][Thread Prev][Thread Next][Message
Index][Thread Index]
Re: triggering on an XPL message
- Subject: Re: triggering on an XPL message
- From: steve.cooper@xxxx
- Date: Wed, 21 Jan 2004 12:19:00 +0000
> I tried setting the trigger to 'STATUS=PLAYING' or 'STATUS=NEXT' and
It's actually a status message not a trigger one.
Have a look at
<a href="http://www.gadgetshed.co.uk/index.asp?pg=8330">http://www.gadgetshed.co.uk/index.asp?pg=8330</a>
It's a script I use to store the track and artist in a database and update
a couple of global variables. Using that as a base something like below
should work.
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
S.
___________________________________________________________________________
The information contained in this message is confidential and may be
legally privileged. If you are not the intended recipient, please do not
read, copy or otherwise use it and do not disclose it to anyone else.
Please notify the sender of the delivery error and then delete the
message from your system.
Any views or opinions expressed in this email are those of the author only.
Communications will be monitored regularly to improve our service and for
security and regulatory purposes.
Thank you for your assistance.
___________________________________________________________________________
xPL Main Index |
xPL Thread Index |
xPL Home |
Archives Home
|