Difference between revisions of "Import-script"
Jump to navigation
Jump to search
(Marked this version for translation) |
|||
Line 1: | Line 1: | ||
<languages/> | <languages/> | ||
<translate> | <translate> | ||
− | ===Example of description in XML=== | + | ===Example of description in XML=== <!--T:1--> |
+ | <!--T:2--> | ||
<syntaxhighlight lang="xml" line> | <syntaxhighlight lang="xml" line> | ||
<import-script NAME="1" id="100" path="cond-with-err.txt"/> | <import-script NAME="1" id="100" path="cond-with-err.txt"/> | ||
</syntaxhighlight> | </syntaxhighlight> | ||
− | ===Parameters=== | + | ===Parameters=== <!--T:3--> |
+ | <!--T:4--> | ||
{|class="wikitable" | {|class="wikitable" | ||
|- | |- | ||
Line 22: | Line 24: | ||
|} | |} | ||
+ | <!--T:5--> | ||
<nowiki>*</nowiki> – required fields | <nowiki>*</nowiki> – required fields | ||
</translate> | </translate> |
Latest revision as of 12:49, 26 January 2022
Example of description in XML
1<import-script NAME="1" id="100" path="cond-with-err.txt"/>
Parameters
Name | type and variety | description |
---|---|---|
id* | number 1..2048 | ID of the device where this element is located physically |
path* | string | path to script file relatively to server folder |
body* | string | contents of script (instead of path) |
NAME | string | parameters sent to script |
* – required fields