11.08.2015, 19:28
Hi Edgars
I have no success with the follwing code:
Scripts with the category "Simulation" do not change their status at all, even on shift-refreshing the browser. The "Active" bulb stays the way it was.
Any hints?
Best regards,
Robin
I have no success with the follwing code:
Code:
-- activate/deactivate all scripts for presence simulation
-- get value that triggered this script
evval = event.getvalue()
-- activate/deactivate scripts
if evval == true then
script.categoryenable('Simulation')
else
script.categorydisable('Simulation')
end
Scripts with the category "Simulation" do not change their status at all, even on shift-refreshing the browser. The "Active" bulb stays the way it was.
Any hints?
Best regards,
Robin