06.07.2015, 12:23
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.
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
?
Many thanks and best regards
RSV4
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