I've just been playing around with this scripting function for the first time.
As a test, I created 2 buttons that can run a script:
hs.DeviceButtonAdd ("T1","Test.vb(""Main"",""Up"")","Up")
hs.DeviceButtonAdd ("T1","Test.vb(""Main"",""Down"")","Down")
I may have missed it in the docs but how do you get the status page to update a virtual device graphic and device string in real time (like if you pressed a normal "on or off on an X10 device) when you push the generated up/down buttons?
I've quickly tried hs.devicevaluesadd and hs.DeviceValuesGraphicsAdd within the test.vb script but that does not seem to work.
As a test, I created 2 buttons that can run a script:
hs.DeviceButtonAdd ("T1","Test.vb(""Main"",""Up"")","Up")
hs.DeviceButtonAdd ("T1","Test.vb(""Main"",""Down"")","Down")
I may have missed it in the docs but how do you get the status page to update a virtual device graphic and device string in real time (like if you pressed a normal "on or off on an X10 device) when you push the generated up/down buttons?
I've quickly tried hs.devicevaluesadd and hs.DeviceValuesGraphicsAdd within the test.vb script but that does not seem to work.
Comment