Hi,
I wish to compare two values and then either stop the current event, or continue to the next THEN in line. Can you control further event execution in one line?
I just started with scripting, so not quite sure where to proceed (and I got stuck in some endless loops as well).
I tried EasyTrigger but I am having some troubles, and would like to manually log and inspect what is going on.
So I would like to write somemething like this
if hs.devicevalue(1234) < hs.devicevalue(5678) then thisEventContinue, else thisEventStopRightThere
Is this possible? or would I have to split it in two events, and then if true just call the other event? (uglier solution, but if it works...)
I wish to compare two values and then either stop the current event, or continue to the next THEN in line. Can you control further event execution in one line?
I just started with scripting, so not quite sure where to proceed (and I got stuck in some endless loops as well).
I tried EasyTrigger but I am having some troubles, and would like to manually log and inspect what is going on.
So I would like to write somemething like this
if hs.devicevalue(1234) < hs.devicevalue(5678) then thisEventContinue, else thisEventStopRightThere
Is this possible? or would I have to split it in two events, and then if true just call the other event? (uglier solution, but if it works...)
Comment