24.01.2019, 14:20
Hello,
I would like to make an event script on an alarm address. This script sent the status of the windows that would be open at this time. The problem in the script I could create is that as soon as the first window is open then the script stops.
alarm grp.getvalue = ( '...')
windows1 = grp.getvalue ( '...')
w2 =
w3 =
...
w50 =
if alarm == true and windows1 == true then
log (test)
elseif alarm == true and windows 2 == true then
log (test2) ..... etc
I would like to be able to send an email indicating the window 1, the window 2 and the window 32 are open.
Best regards.
I would like to make an event script on an alarm address. This script sent the status of the windows that would be open at this time. The problem in the script I could create is that as soon as the first window is open then the script stops.
alarm grp.getvalue = ( '...')
windows1 = grp.getvalue ( '...')
w2 =
w3 =
...
w50 =
if alarm == true and windows1 == true then
log (test)
elseif alarm == true and windows 2 == true then
log (test2) ..... etc
I would like to be able to send an email indicating the window 1, the window 2 and the window 32 are open.
Best regards.