Page 1 of 1

search option for scripts

Posted: Sunday 12 May 2019 13:38
by poudenes
Hi ,

Maybe a nice option to have a search option for all scripts where created inside domoticz with the editor.
When you change a IDX or replace it you can search for the IDX or value name so you cant forget any scripts that use this IDX inside the code.

Re: search option for scripts

Posted: Sunday 12 May 2019 13:45
by waaren
poudenes wrote: Sunday 12 May 2019 13:38 Hi ,

Maybe a nice option to have a search option for all scripts where created inside domoticz with the editor.
When you change a IDX or replace it you can search for the IDX or value name so you cant forget any scripts that use this IDX inside the code.
something like ?
grep -irn <IDX> <domoticz dir>/scripts/

Re: search option for scripts

Posted: Sunday 12 May 2019 15:32
by poudenes
waaren wrote: Sunday 12 May 2019 13:45
poudenes wrote: Sunday 12 May 2019 13:38 Hi ,

Maybe a nice option to have a search option for all scripts where created inside domoticz with the editor.
When you change a IDX or replace it you can search for the IDX or value name so you cant forget any scripts that use this IDX inside the code.
something like ?
grep -irn <IDX> <domoticz dir>/scripts/
Damn you're good !!