RESULTSCRIPT

Returns or sets the result (Boolean) of a script. The result is default false when a script is run and should be set by the script if is later required to notify if a script has failed or passed. In console mode, a result=true will return an exit code 1, else an exit code 0.

When ResultPass and ResultFail are set, the returned value is that specific string, instead of a Boolean.

RW

RESULTPASS

If empty, ResultScript will return Boolean if result=True, else this text will be returned by ResultScript.

W

RESULTFAIL

If empty, ResultScript will return Boolean if result=False, else this text will be returned by ResultScript.

W


INPUT

Returns or sets the content. Before the script is run, the textbox text is copied to the input/content variable.

RW

OUTPUT

Returns or sets the output. After the code run, this variable is copied to the textbox. When this variable is set to “#IGNORE_CONTENT_UPDATE#”, the textbox is not updated after the code run.
This is also the case when the variable IGNORECONTENTUPDATE is set to true.


Note that for large text, the output is truncated in the textbox, while the internal Output variable still contains the complete text.

RW

ADD2OUTPUT

Adds the provided text to the current output.

W

IGNORECONTENTUPDATE

Variable to set if the content should be update at the end of a script. This variable is set to false at the beginning of each script.

RW



TEXT

Returns or sets the actual text in the textbox.

RW

ADD2TEXT

Adds text to the actual text in the textbox.

W

STATUS

Returns or sets the actual text in the statusbox

RW

ADD2STATUS

Adds text to the actual text in the statustbox.

W

STATUSONFINISHED

WriteOnly variable to set the status text when the code is finished. This will override the setting:

<StatusTextForCodeFinished>

W

SHOWSTATUSEVENTS

This will override  the default setting.

StatusChanged events from functions  (for example from WebRequests) are now depended on this setting SHOWSTATUSEVENTS. The value is either 0 (disabled), 1, 2, 3 (status added to first, second or third line) or 4 (overwrites current status text)

RW


InputBox(Prompt As String, Optional Title As String = "", Optional defaultResponse As String = "", Optional Xpos As Integer = -1, Optional Ypos As Integer = -1) As String

MsgBox(Text As String, Optional Type As Integer = 4096, Optional Title As String = "") as boolean

MessageBox(Text As String, Optional Type As Integer = 0, Optional Title As String = "") as boolean

FlexMsgBox(Text As String, Optional Type As Integer = 0, Optional Title As String = "") as boolean


Only OK or Yes will return the value True. Type can have the following (or combination of ) values:

0

Displays OK button only.

1

Displays OK and Cancel buttons.

4

Displays Yes and No buttons.

16

Displays Critical Message icon.

32

Displays Warning Query icon.

48

Displays Warning Message icon.

64

Displays Information Message icon.

0

First button is default.

256

Second button is default.

4096

Always on Top

Created with the Personal Edition of HelpNDoc: Produce electronic books easily