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: message.display oddity w/ intra. launcher


  • Subject: Re: message.display oddity w/ intra. launcher
  • From: "JamesTraynor" <james@xxxxxxx>
  • Date: Thu, 19 Oct 2006 21:54:07 -0000

It's starting to sound like there is some odd character at an end of a
line or a crlf instead of a lf.  I do remember that the xFx
applications like viewer while extremely picky about message setup
would take crlf as a line ending and not just the chr(10) that it should.
An example bit of code that would send a message would be:

tmp="display.text" & chr(10)
tmp=tmp & "{" & chr(10)
tmp=tmp & "Line1=Hi" & chr(10)
tmp=tmp & "Line2=There" & chr(10)
tmp=tmp & "Duration=10" & chr(10)
tmp=tmp & "Priority=1" & chr(10)
tmp=tmp & "}" & chr(10)
xap.sendxap tmp,"message.display",""

hth
J


--- In xap_automation@xxxxxxx, "rleong1" <rleong1@...>
wrote:
>
> playing around w/ it some more. the triggering event is caller id from
> xpl.tonyt.phone.myserver.  the script sends message display w/ the
> caller info.  if i bring up viewer & replay the xpl caller id
event,
> the same thing happens. floorplan sends out the message.display and
> only jabber picks it up.  now, if i replay the message.display from
> viewer, both jabber & launcher pick it up...
>
> --- In xap_automation@xxxxxxx, "rleong1" <rleong1@>
wrote:
> >
> > i'm writing some scripts w/ floorplan that send message.display
> > messages.  if i have no target specified, it should go to all
> displays.
> >
> > i see it on my IM client via jabber, but i don't see a popup w/
> > launcher.  i have configured launcher's settings to have:
> > Dis=mi4.floor.myserver
> >
> > i also have it set for the xpl sender:
> > Dis=xpl.johnb.sender.myserver
> >
> > now if i send an osd.basic from the xpl sender, floorplan
converts it
> > over and i see it in my im client and on launcher.
> >
> > if i right click on launcher and look at ignore, i see that
> > mi4.floor.myserver is not checked, so it should be seeing the
messages.
> >
> > both messages have priority 1 and duration=30
> >
> > any suggestions?
> >
> > my client sees this, but launcher doesn't
> > xap-header
> > {
> >     v=12
> >     hop=1
> >     uid=FF456200
> >     class=message.display
> >     source=mi4.floor.myserver
> > }
> > display.text
> > {
> >     line1=foo
> >     duration=30
> >     priority=1
> > }
> >
> >
> > they both see this:
> > xap-header
> > {
> >     v=12
> >     hop=1
> >     uid=FFE8CC00
> >     class=message.display
> >     source=xpl.johnb.sender.myserver
> > }
> > Display.Text
> > {
> >     line1=test
> >     duration=30
> >     priority=1
> > }
> >
>







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.