Info | ||
---|---|---|
| ||
This routine is available since
|
Syntax
runnerLog(message)
or
...
Note |
---|
Since JJUPIN 3.0.10, runnerLog routine can also render a progress bar by specifiing the percent we want to be set. |
Parameters
Parameter | Type | Required | Description |
---|---|---|---|
message | string | Yes | Specifies the message to be put on the runner console |
percent | number | No | Specifies the percent to be updated on the progress bar |
action | string | No | Specifies the action to be executed (so far, the only action considered is init_progressBar - to initialize the progress bar; everything else will be ignored) |
Return type
string, can be always ignored
Example
Let's modify the example used here:
The scripts would look like below:
...
Code Block | ||
---|---|---|
| ||
gadget_createDatePicker("Start Date", currentDate(), true, "Choose a start date"); gadget_createInput("Tanks", "500", true, "The number of tanks"); gadget_createInput("Infantry", "1600", true, "The number of tanks"); gadget_createCheckboxGroup("Rockets", {"A big one", "A lot of small ones"}, "", false, "Do you want to use rockets?"); |
...
In this case, using the new runnerLog routine, when the script execution is done, the runner will look like this:
...