This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
comfilehmi:web_api:index [2023/02/01 17:26] COMFILE Technology [Command] |
comfilehmi:web_api:index [2024/02/01 13:12] (current) COMFILE Technology [Command] |
||
---|---|---|---|
Line 36: | Line 36: | ||
=== `script` === | === `script` === | ||
- | This command utilizes the same scripting engine as that of [Action > Script] in the ComfileHMI Editor. The ''{expression}'' can be one or more expressions separate by semicolons ('';''). Use ''vars_to_json'' and/or ''mem_to_json'' to return the values of variables or internal memory as JSON to the browser. See | + | This command utilizes the same scripting engine as that of [Action > Script] in Comfile Studio. The ''{expression}'' can be one or more expressions separate by semicolons ('';''). Use ''vars_to_json'' and/or ''mem_to_json'' to return the values of variables or internal memory as JSON to the browser. See |
Example: | Example: | ||
Line 155: | Line 155: | ||
| 3012 | The remote control password was incorrect. | | | 3012 | The remote control password was incorrect. | | ||
| 3013 | Script syntax error. | | | 3013 | Script syntax error. | | ||
+ | |||
+ | [[comfilehmi:#Shapes_and_Graphics:|Back to ComfileHMI]] |