Difference between revisions of "Import-script"

From Larnitech wiki page
Jump to navigation Jump to search
(Created page with "===Example of description in XML=== <syntaxhighlight lang="xml" line> <import-script NAME="1" id="100" path="cond-with-err.txt"/> </syntaxhighlight> ===Parameters=== {|clas...")
 
(Marked this version for translation)
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
===Example of description in XML===
+
<languages/>
 +
<translate>
 +
===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 20: Line 24:
 
|}
 
|}
  
 +
<!--T:5-->
 
<nowiki>*</nowiki> – required fields
 
<nowiki>*</nowiki> – required fields
 +
</translate>

Latest revision as of 12:49, 26 January 2022

Other languages:
English • ‎русский

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