Hello Vinicius,
You can use any command for write-in console, that is output text the RunWindowsScript
Here have some sample:
defVar --name exit --type Numeric
defVar --name output --type String
defVar --name error --type String
runWindowsScript --scripttype "VBScript" --source "Text" --script "WScript.Echo \"IBM RPA\"\r\nWScript.StdOut.Write \"IBM \"\r\nWScript.StdOut.WriteLine \"RDA\"" --blockexecution exit=exitcode output=output error=error
logMessage --message " ${output}" --type "Info"
runWindowsScript --scripttype "VBScript" --source "Text" --script "Dim StdOut : Set StdOut = CreateObject(\"Scripting.FileSystemObject\").GetStandardStream(1)\r\n\r\nStdout.WriteLine \"IBM Process\"\r\nStdout.Write \"IBM Workflow\"" --blockexecution exit=exitcode output=output error=error
logMessage --message "${output}" --type "Info"
------------------------------
Angelo Alves
------------------------------