Documentation
IPS_GetScriptContent
Require: Symcon >= 3.1
string IPS_GetScriptContent (int $ScriptID)
Parameters
| ScriptID | ID of the script |
Returns
The content of the script
Description
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.
A practical example for this function is reading a script into an external editor that has no access to the file system, e.g., when using the JSON-RPC API.
Example
$Content = IPS_GetScriptContent($ScriptID);