Is there a way to copy the device value of one device, and make it the device string of a different device, preferably in a .net script or maybe even better a single script statement I can have run from an event?
Announcement
Collapse
No announcement yet.
Script Question
Collapse
This topic is closed.
X
X
-
Originally posted by nightwalker View PostIs there a way to copy the device value of one device, and make it the device string of a different device, preferably in a .net script or maybe even better a single script statement I can have run from an event?Code:dim A A=hs.devicevalue("A1") hs.devicestring("A2")=a
sigpic
A founder member of "The HA Pioneer Group" otherwise known as the "Old farts club!"
-
i'll say it does. no wonder I get confused with scripting, there's never just 'THE' way to do it.
thanks a lot guys.Marty
------
XPpro SP3 /w HS Standard 2.5.0.80, HSTouch Server - 1.0.0.70, HSTouch Client 1.0.0.73 HSTouch Android - 1.0.0.2, HSTouch iPhone - 1.0.0.2
Playing with HS3 a bit but it's just play at this point.
Comment
-
I have been away and access was limited but now that I'm home I wanted to thank everyone for the script help.
scripting is a real weak spot for me with not enough time to devote to learning I'm afraid. It'll have to come in drips and drabs for now.Marty
------
XPpro SP3 /w HS Standard 2.5.0.80, HSTouch Server - 1.0.0.70, HSTouch Client 1.0.0.73 HSTouch Android - 1.0.0.2, HSTouch iPhone - 1.0.0.2
Playing with HS3 a bit but it's just play at this point.
Comment
-
Originally posted by nightwalker View PostI have been away and access was limited but now that I'm home I wanted to thank everyone for the script help.
scripting is a real weak spot for me with not enough time to devote to learning I'm afraid. It'll have to come in drips and drabs for now.
If I was not getting it right I then would ask the question here.
I discovered early on in HS2 that the manual was not a patch on HS1's. It gives you the commands, but very few examples of how to script the command.sigpic
A founder member of "The HA Pioneer Group" otherwise known as the "Old farts club!"
Comment
-
I have gone to the manual several times and found the same. I know it's not HS's job to educate me on scripting but an example or two would be nice. There are more than a few of the commands where not only was there no example but the description didn't make any sense to me either. Obviously scripting is well over my head at this point in time, I've always been more of a hardware guy. Luckly my scripting needs are small and the people on this board are always quick to jump in and help out.Marty
------
XPpro SP3 /w HS Standard 2.5.0.80, HSTouch Server - 1.0.0.70, HSTouch Client 1.0.0.73 HSTouch Android - 1.0.0.2, HSTouch iPhone - 1.0.0.2
Playing with HS3 a bit but it's just play at this point.
Comment
Comment