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: sample xplhal scripts to process xap messages?


  • Subject: Re: sample xplhal scripts to process xap messages?
  • From: "rleong1" <rleong1@xxxxxxxxx>
  • Date: Sat, 28 May 2005 22:47:21 -0000

--- In ukha_xpl@xxxxxxx, "rleong1" <rleong1@y...> wrote:
> --- In ukha_xpl@xxxxxxx, "Tony Tofts" <tony@x> wrote:
> > Kevin H is the best one for this, I don't have any scripts for
this
> myself.
>
> he has scripts to go from xpl to xap but not from xap to xpl.
>
> maybe you can help me if my syntax, set up is OK to work w/ xplhal.
> say for example i have an xap mail monitor running & i get this
message:
>
> xap-header
> {
>     v=12
>     hop=1
>     uid=FF125001
>     class=Mail.Incoming.New
>     source=KCSoft.MailMonitor.xyz:my_isp_com.myname
> }
> Message
> {
>     msgid=<4298EE47.9030308@a...>
>     subject=test
>     timestamp=Sat, 28 May 2005 15:18:47 GMT
>     size=1714
>     total=1
>     msg=1
>     to=myname <myname@m...>
>     from=someone@a...
> }
>
> i create a script called XAP_KCSOFT_MAILMONITOR_XYZ.xap
> with contents:

typo, the script should be:
sub XAP_KCSOFT_MAILMONITOR_XYZ(xapmsg)
call
xpl.SendMsg(XPL-STAT,"","tts.basic","speech=test")
end sub




xPL Links: http://www.xplproject.org.uk http://www.xplhal.com http://www.xpl.myby.co.uk
To Post a Message: ukha_xpl@xxxxxxx
To Subscribe:  ukha_xpl-subscribe@xxxxxxx
To Unsubscribe:  ukha_xpl-unsubscribe@xxxxxxx

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.