Changes

CONTROLS/Macros

50 bytes removed, 23:19, 29 August 2018
Commands
Optional parameter variables (content must be in quotes):
{| class="wikitable"
|-
! Parameter || Description || Example
|-
| title || Main text to show || <pre>title:"Trim Filament"</pre>
| markdown || The contents of the message in Markdown formatted text. May contain images from the internet. Use <br> for line breaks || <pre>markdown:"Trim the end of the filament to ensure a good load.<br>![](https://www.matterhackers.com/r/c3zLyf)<br>Make sure you trim it at a slight angle."</pre>
|-
| Example wait_ok || Example Script execution will wait for the user to click 'Continue' || Example<pre>wait_ok:"true"</pre>
|-
| Example repeat_gcode || Example G-Code to repeat until expire time reached. Lines can be separated with a <nowiki>|</nowiki>. | Example| <pre>repeat_gcode:"G1 E.1 F150|G4 P10"</pre>
|-
| Example expire || Example The max amount of time to run repeate_gcode or show this message (seconds) || Example<pre>expire:"300"</pre>
|-
| Example count_down || Example Show a timer counting down from this time || Example|-| Example || Example || Example<pre>count_down:"28"</pre>
|}
 
*: [the contents of the message in Markdown formatted text]
*image: [a url of the image you wish to show]
*wait_ok: [script execution will wait for the user to click 'ok']
*repeat_gcode: [gcode to repeat until expire time reached (separate lines with a |)]
*expire: [the max amount of time to run repeate_gcode or show this message]
*count_down: [show a timer counting down from this time]
<code>choose_material</code>
Optional parameter variables (content must be in quotes):
*title: [main text to show]
=== Example Script ===