[Message Prev][Message
Next][Thread Prev][Thread Next][Message
Index][Thread Index]
Floorplan Sripting Help
I've have being trying to write Raw script to check the alarm status
of
Comfort and run an autoscript dependent on the outcome. The autoscript
is working fine, but Scipt Debug gives the following error:
Script error : *AlarmStateChecking* : 01/11/2006 21:11:46
Line : 11
Error Text :
AlarmState=xap.GetText(mi4.homeseer.server.93:comfortplugin.modedesc)
Error Description :Expected ')'
Here is my raw script:
Sub Main()
'
' gets alarm state, runs NightMode script if security is off
'
'
AlarmState=xap.GetText("mi4.homeseer.server.93:comfortplugin.modedesc")
'
if AlarmState = "Mode: security off, user 1" then
'
xap.ScriptRun(NightMode)
else
end if
'
End Sub
My scripting experience is next to none, but I just can't see where I'm
going wrong with this one.
Max
xAP_Automation Main Index |
xAP_Automation Thread Index |
xAP_Automation Home |
Archives Home
|