Scrypted Documentation / Scriptable
Interface: Scriptable
Methods
saveScript()
saveScript(
script
):Promise
<void
>
Parameters
• script: ScriptSource
Returns
Promise
<void
>
loadScripts()
loadScripts():
Promise
<object
>
Returns
Promise
<object
>
eval()
eval(
source
,variables
?):Promise
<any
>
Parameters
• source: ScriptSource
• variables?
Returns
Promise
<any
>