The UK Home Automation Archive

Archive Home
Group Home
Search Archive


Advanced Search

The UKHA-ARCHIVE IS CEASING OPERATIONS 31 DEC 2024

Latest message you have seen: Re: Recent model SqueezeBox display and control ...


[Message Prev][Message Next][Thread Prev][Thread Next][Message Index][Thread Index]

Re: activex xap object?


  • Subject: Re: activex xap object?
  • From: "rleong1" <rleong1@xxxxxxxxx>
  • Date: Thu, 24 Aug 2006 01:54:19 -0000

>
> Hi,
>
> There are at least three xAP OCX's - one written by Patrick at
> http://patrick.lidstone.net/haweb/html/dev_tools.html
> and a later one by James at
> http://www.mi4.net/modules.php?name=Downloads&d_op=viewdownload&cid=21
> (xAP Intranet OCX v1.2).
> There's also one written by Michael McSharry - available via the
> HomeSeer/MCS forum.
>
> Each of these is very different in how it implements xAP and some
people
> have reported issues with Patricks' re memory management usage during
> high traffic so possibly I would recommend James' which I use within
my
> own applications now. James's xAP OCX even includes an inbuilt web
server .

can i stick this into a script? ie:
xap = new ActiveXObject("???.???");

if so how?

>
> You should also take a look at xAP FloorPlan too as it has much the
same
> scripting capabilities as xPLHAL along with it's own web server based
> using AJAX  so updates are real time - not browser refreshes and you
can
> get at device status and embed your own html too. If you're more
> adventurous then xAP Desktop supports xAP widgets and scripting
allowing
> for realtime updated floating windows with transparency (XP) &
> positional control and click on/through events.
>

i have downloaded floorplan.  how can i embed my own html?  i don't
see this on the floorplan guide on mi4.biz.

> I'll leave the getting variable values into your own asp pages to J to
> tackle...

what app contains variables that i can set?  how can i access them
from another app or script? in xplhal, i set up a script to react to a
message and can set it w/ this:
Sys.value("WEATHER_DAY0") = ....
and can access it from any script with:
xyz = Sys.value("WEATHER_DAY0")

thanks!


>
> Cheers Kevin
>
>
> rleong1 wrote:
> >
> > i use a home automation package that doesn't support xap but has
the
> > ability to use activex objects through scripting. is there an
activex
> > object for xap? something that i could instantiate in a script
and
> > make the software i use appear to be xap enabled? (ie it could
> > receive messages directed to it, etc) is this even possible?
> >
> > one thing i like about xplhal is its global variables to store
> > previous state, on which i can do scripting, etc. is there
something
> > similar in xap to xplhal's global variables? another feature i
like
> > is the ability to display those globals in my own asp page. would
> > this be possible w/ xap?
> >
> > i bring a lot xap stuff across to xpl so i'm looking for a way to
use
> > xap directly instead.
> >
> >
>







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.