Call another script possible in LUA ?
Posted: Sunday 06 August 2017 10:38
Hi all,
maybe a stupid question I will ask but is it possible to call a LUA script from another ?
why i'm asking this ? simply because on my side I have several time scripts which are activated every minute, if some of them are used to control the state of some devices, others are scripts running once a day (like blind close or one to define new variable everyday).
then my idea was to run a single script testing the current time and then if the time is equal to launch another complex one.
Yes I could try dzvents but I don't have the time yet to convert all my current scripts
Yes I could run everything in a single script (complex to debug)
thanks for your help
seb
maybe a stupid question I will ask but is it possible to call a LUA script from another ?
why i'm asking this ? simply because on my side I have several time scripts which are activated every minute, if some of them are used to control the state of some devices, others are scripts running once a day (like blind close or one to define new variable everyday).
then my idea was to run a single script testing the current time and then if the time is equal to launch another complex one.
Yes I could try dzvents but I don't have the time yet to convert all my current scripts
Yes I could run everything in a single script (complex to debug)
thanks for your help
seb