Terminals

Get Text from Terminal

Retrieves text from the terminal window, from the place indicated by GUI element (control).
Fill in the terminal name. Drop the control on the activity. Declare the variable (type: string) and put it in Output part of Properties window – it will store retrieved value of specified element (control).

v2_term_gettext1
Parameter NameParameter TypeIn/OutDescription
Alternative Scenario If FailedBooleanInputcheckbox; default is "on"
Display NameLiteralInputchanges display name of the activity
Exclude from Transaction CheckBooleanInputcheckbox; default is "off"
Offset HorizontalInt32Inputnumber of characters by which the beginning of the hunted control is moved in the line (+/-)
Offset VerticalInt32Inputnumber of rows by which the beginning of the hunted control is moved (+/-)
Retry Timeout [s]DoubleInputdetermines behaviour if the activity fails to execute. value < 0: try executing once, 0: try indefinitely; value >0: time in seconds during which the activity repeatedly tries to execute (if time elapses without success then Result = False, end activity)
Terminal NameStringInputcustom internal name Wizlink will use to identify the terminal window
Acquired TextStringOutputtext value retrieved from application
ResultBooleanOutputreturns a Boolean value. True if no error in activity, otherwise will return False
Result CodeInt32OutputResult Code will return 0 if there is no error in activity, otherwise in most cases it will return 1, the extended result code will show only in several chosen activities