Utilizing a prompt command for a desktop automation

For the “Display prompt” workaround: You can use XRunAndWait + VBS file to show an input box that is on top of everything:

Dim sInput
sInput = InputBox("Enter number")
MsgBox "You entered:" & sInput
' Send exit code to UI.Vision 
WScript.Quit sInput

Inside your macro you get the return value (exit code) with ${!xrun_exitcode}

See also Problem with xrun when running batch file with bat extension or converted exe file - #9 by ulrich