BotreamDocs Website Türkçe v0.1.1

Messages & Logs commands

comment · log · logtofile · messagebox · prompt

comment Comment

Descriptive comment; has no effect on execution.

Parameters

ParameterValueDefaultDescription
--text requiredtext

Examples

comment --text:"This section handles the login process"

log Log

Writes a log entry.

Parameters

ParameterValueDefaultDescription
--message requiredtext
--levelone of debug, info, warning, errorinfo

Examples

log --message:"Processing started" --level:info
log --message:"Value is: $myVar$" --level:debug

logtofile Log to file

Writes a line of text to a file on the agent machine.

Parameters

ParameterValueDefaultDescription
--file requiredtextLog file path A file on the agent machine.
--text requiredtextText to write (variables allowed)
--timestamptrue / falsefalsePrefix the line with the current date and time
--timestampformattextyyyy-MM-dd HH:mm:ssDate/time format for --timestamp
--appendtrue / falsetrueAdd to the end of the file; false overwrites it
--encodingtextutf-8

messagebox Message box

Displays a message dialog on the agent machine.

Parameters

ParameterValueDefaultDescription
--titletextMessage Box
--message requiredtext
--buttonsone of ok, yesno, okcancel, yesnocancelok
--autoclosenumberClose automatically after this many seconds; the answer is then "timeout"
--outputvariable nameVariable that receives the result

Examples

messagebox --title:"Confirmation" --message:"Continue processing?" --buttons:yesno --output:userChoice

prompt Prompt

Asks the person at the agent machine for a value: text, a password, a number, one of a list of choices, or a file or folder. Cancelling the dialog fails the command (handle it with try/catch).

Parameters

ParameterValueDefaultDescription
--titletextBotream
--message requiredtextThe question shown above the input
--typeone of text, password, number, choice, file, foldertextpassword is hidden while typed and masked in logs; file and folder offer a Browse button
--optionsany valueThe choices of --type:choice: a list variable or comma-separated values
--defaultany valueValue filled in when the dialog opens
--output requiredvariable nameVariable that receives the result

Examples

prompt --title:"Order" --message:"Which order number?" --output:orderNo
prompt --message:"Unit?" --type:choice --options:"kg, lt, pcs" --default:kg --output:unit
prompt --message:"Report file" --type:file --output:reportPath
Botream 0.1.1 · Generated 2026-10-14