Table plus |
---|
applyColStyleToCell | true |
---|
heading | 0 |
---|
columnTypes | s,s,s,s |
---|
multiple | false |
---|
columnAttributes | style="background:#e5e7ea;font-weight:bold,,style="background:#e5e7ea;font-weight:bold, |
---|
enableSorting | false |
---|
|
Syntax | runnerLog(message [, treatAsHtml], percent]) or runnerLog(message [, percent, action]) | Package | | Alias | | Pkg Usage | | |
Description
Excerpt |
---|
|
Puts the 'message' on Print a message in the console of a runner gadget. the dashboard item or sil manager |
Puts the 'message' on the console of a runner gadget or sil manager. The use of it has no effect in other places besides for the runnerdashboard item or sil manager.
Parameters
Table plus |
---|
applyColStyleToCell | true |
---|
columnTypes | s,s,s,s |
---|
heading | 0 |
---|
multiple | false |
---|
enableSorting | false |
---|
|
Parameter name | Type | Required | Description |
---|
message | String | Yes | Specifies the message to be put on the runner console. | treatAsHtml | Boolean | No | Specifies either to show the message as a string, or treat it and render it in the browser as HTML code. | percent | NumberInteger | 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) |
treatAsHtml | Boolean | No | Specifies either to show the message as a string, or treat it and render it in the browser as HTML code. |
Return Type
StringNone
Return The returned value has no meaning and should be ignored.
Examples
...
Returns: Hello John Smith. How are you today?
Code Block |
---|
|
runnerLog("Hello " + userFullName(currentUsername()) + ". How are you today?"); |
Returns: Hello John Smith. How are you today?
Example 2
Using HTML as output. Returns: This is a red text! (text will be red)
Code Block |
---|
|
runnerLog("<font color='red'>This is a red text!</font>", true); |
This is a red text! (text will be red)
See also
Filter by label (Content by label) |
---|
showLabels | false |
---|
max | 25 |
---|
showSpace | false |
---|
cql | label = "basic_routine" and space = currentSpace ( ) |
---|
labels | array_routines |
---|
|
We've encountered an issue exporting this macro. Please try exporting this page again later.