lua:scripts_editor
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
lua:scripts_editor [2021/11/02 10:15] – [Editor toolbar (4)] emozolyak | lua:scripts_editor [2022/05/27 12:10] – [Property area (2)] emozolyak | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | {{ : | + | {{ network: |
===== Scripts Editor ===== | ===== Scripts Editor ===== | ||
Line 10: | Line 10: | ||
- Create new script button | - Create new script button | ||
- Debbuging console | - Debbuging console | ||
+ | |||
+ | <wrap em>As of 4.0 fw verstion there is a global search box above the script list:</ | ||
+ | {{ : | ||
The main editor' | The main editor' | ||
{{ : | {{ : | ||
- | |||
==== Script list (1) ==== | ==== Script list (1) ==== | ||
- | {{ : | + | {{ network: |
In the example list provided, the script titles are named as accroding to their possible execution types. | In the example list provided, the script titles are named as accroding to their possible execution types. | ||
Line 38: | Line 40: | ||
***Script for calendar** - the script is set as start or end task action in the calendar | ***Script for calendar** - the script is set as start or end task action in the calendar | ||
***Execute once on project start** - runs one time on the very first scan during project start | ***Execute once on project start** - runs one time on the very first scan during project start | ||
+ | ***Library for other programs** - the library body is included into another scritps with the command <code lua> include " | ||
==== Editor (3) ==== | ==== Editor (3) ==== | ||
Line 78: | Line 81: | ||
In the following picture, the full editor mode with console activated is shown: | In the following picture, the full editor mode with console activated is shown: | ||
- | {{ :editor_with_console.png?800 |}} | + | {{ :lua: |
+ | |||
==== Adding script (5) ==== | ==== Adding script (5) ==== | ||
When there are no scripts yet in the project, the **+Add script** button is placed in the page center. After adding a script it is moved to the top-right page corner. | When there are no scripts yet in the project, the **+Add script** button is placed in the page center. After adding a script it is moved to the top-right page corner. | ||
+ | ==== Debugging console (6) ==== | ||
+ | |||
+ | The console has two controls: | ||
+ | - You can drag the top border to change the console size | ||
+ | - You can run/stop output to console with the run/stop button in the top right corner. | ||
+ | |||
+ | {{ : |
lua/scripts_editor.txt · Last modified: 2022/05/27 12:16 by emozolyak