I'm trying to make a command line utility that will read input from the console that it was called from, and write output back to the console.
I have the following code:
;Reads console input and outputs message box
ConsoleWrite("Please enter data:")
$console = ConsoleRead()
$buttoncode = MsgBox(2, "From console I read", $console)
If $buttoncode = 3 Then
$button = "abort"
ElseIf $buttoncode = 4 Then
$button = "retry"