Help! More Weirdness or I'm blind...
Ger Determan
ger.determan at xs4all.nl
Fri Oct 13 10:20:59 EDT 2017
(Resending, forgot Apple mail always sends XTension list mail with the wrong address)
Hello George,
You're not telling what's not working, but while your unit properties are called RegFailSensorsVoice1 etc, your script refers to them as RegFailSensorVoice1 - without the "s" between sensor and voice. I assume that is the problem...
ger
> On 13 Oct 2017, at 07:08, George Handley <ghandley at kc.rr.com <mailto:ghandley at kc.rr.com>> wrote:
>
> So XTensioneers,
>
> I've got this code below that will not work. I believe it to be written correctly. I know the data lives in the properties of the "Home Status Report Data" unit as displayed below. Why won't this execute? I've tested it till I'm blue in the face, and the only thing I can conclude is that this, as written, doesn't work. Does anyone see anything obvious?
>
> Thanks,
>
> George
>
>
>
> --Global script Arthur Say Morning Reports
>
> set RegFailSensorsVoice1 to ""
> set RegFailSensorsVoice2 to ""
> set RegFailSensorsVoice3 to ""
> set RegFailSensorsVoice4 to ""
> write log "Setting Vars"
> set RegFailSensorsVoice1 to (Get Unit Property "RegFailSensorVoice1" from unit "Home Status Report Data")
> set RegFailSensorsVoice2 to (Get Unit Property "RegFailSensorVoice2" from unit "Home Status Report Data")
> set RegFailSensorsVoice3 to (Get Unit Property "RegFailSensorVoice3" from unit "Home Status Report Data")
> set RegFailSensorsVoice4 to (Get Unit Property "RegFailSensorVoice4" from unit "Home Status Report Data")
> say "Vars Set"
> write log "Vars Set"
> say RegFailSensorsVoice1 & "[[slnc1500]]" & RegFailSensorsVoice2 & "[[slnc1500]]" & RegFailSensorsVoice3 & "[[slnc1500]]" & RegFailSensorsVoice4
> write log "The value of RegFailSensorsVoice1 is: " & RegFailSensorsVoice1
> write log "The value of RegFailSensorsVoice2 is: " & RegFailSensorsVoice2
> write log "The value of RegFailSensorsVoice3 is: " & RegFailSensorsVoice3
> write log "The value of RegFailSensorsVoice4 is: " & RegFailSensorsVoice4
>
> <List 1.jpg>
>
> _______________________________________________
> XTensionList mailing list
> XTensionList at machomeautomation.com <mailto:XTensionList at machomeautomation.com>
> http://mail.machomeautomation.com/mailman/listinfo/xtensionlist
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.machomeautomation.com/pipermail/xtensionlist/attachments/20171013/e3dd8872/attachment.html>
More information about the XTensionList
mailing list