This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm that you accept these cookies being set.

Wildcard for activation of scripts
#13
Hi Edgars

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
Reply


Messages In This Thread
Wildcard for activation of scripts - by RSV4 - 06.07.2015, 12:23
RE: Wildcard for activation of scripts - by RSV4 - 11.08.2015, 19:28

Forum Jump: