Requires: IP-Symcon >= 3.1
string IPS_GetScriptContent (integer $ScriptID)
|ScriptID||ID of the script|
The content of the script
This function returns the content of the script with the ID ScriptID. The content is read from the script file that is defined within the script object.
As a practical example for this function, it is possible to read the script in an external editor that cannot use the JSON-RPC API or other methods to access the file system.
$Content = IPS_GetScriptContent($ScriptID);