Hi,
I have written a simple Jscript:
// JScript test
if (hs.ison ("A1"))
hs.execx10 ("A1","off",0)
else
hs.execx10 ("A1","on",0)
The good news: It works! But: every time it runs I get the message:
6-11-2008 22:11:58 - Info - Event Trigger "Test script ATS"
6-11-2008 22:11:58 - Info - Running script in background: test.js
6-11-2008 22:11:58 - Debug TI103 - SendX10: A1 Cmd: 2 Dim: 0 Data1/2: 0/0
6-11-2008 22:11:58 - Error - Running script, script run or compile error in file: test.js0: in line 0 More info: Onbekende naam. (Uitzondering van HRESULT: 0x80020006 (DISP_E_UNKNOWNNAME))
What's going wrong? Thanks for your help.
Herbus, The Netherlands
HS 2.2.066
ACT TI203, DooNetwork
I have written a simple Jscript:
// JScript test
if (hs.ison ("A1"))
hs.execx10 ("A1","off",0)
else
hs.execx10 ("A1","on",0)
The good news: It works! But: every time it runs I get the message:
6-11-2008 22:11:58 - Info - Event Trigger "Test script ATS"
6-11-2008 22:11:58 - Info - Running script in background: test.js
6-11-2008 22:11:58 - Debug TI103 - SendX10: A1 Cmd: 2 Dim: 0 Data1/2: 0/0
6-11-2008 22:11:58 - Error - Running script, script run or compile error in file: test.js0: in line 0 More info: Onbekende naam. (Uitzondering van HRESULT: 0x80020006 (DISP_E_UNKNOWNNAME))
What's going wrong? Thanks for your help.
Herbus, The Netherlands
HS 2.2.066
ACT TI203, DooNetwork
Comment