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
#1
Hi all,

I am using a lot of little scripts for presence simulation. Up to now I have to manually activate all those scripts before I go on holiday. Alternatively I could write a script as follows to enable all simulation scripts, but that would mean typing in approx. 100 lines manually.

Code:
script.enable('Simulation 1: Entrance on')
script.enalbe('Simulation 1: Office on')
...

Since all the scripts start with the word "Simulation": Is it possible to use a wildcard to enable/disable all scripts that start with "Simulation", something like

Code:
script.enable('Simulation*')

?

Many thanks and best regards
RSV4
Reply


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

Forum Jump: