Thanks you so much and I was looking for this script. Put it like this with a starting “{” and a ending “}” in terminal. When using in script and schedule as stated earlier. I have put :terminal style escaped; in to have the text be displayed in a different color.
I played with cuu and el to get the field to enter behind the description but did not manage that.
:terminal
cuu -- move cursor up
el -- erase line
inkey -- read key
style -- set output text style
:local input do={:terminal style escaped; :put $1; :return;}
:local login [$input "Enter login:"]
:local password [$input "Enter password:"]
:put "Login is [$login] and password is [$password]"
Enter login
value: test
Enter password
value: test1
Login is [test] and password is [test1]
Darn even better than expected!
\... :put [:typeof $login]; :put [:typeof $password];
Enter login
value: 1234
Enter password
value: false
num
bool