script.note
Shows a note to the user before the process runs, alongside its prompts. Call it in pre(). Use it to explain the prompts or warn what the process will do. Each call adds another note, in order.
js
script.note(note)Parameters
| Parameter | Type | Description |
|---|---|---|
note | string | The text to show. |
Examples
js
function pre() {
script.note("This process reloads actuals for the selected month and can't be undone.");
script.prompt("Month", "month", "Jan");
}