I know this has been an age old request from many budding, young scripters: "How can I prompt a user for integer input in the middle of a script?".
Any scripting guru will of course know that you can't.
Or can you?
It was this post specifically which inspired me to write this proof of concept ASH script. I don't recommend anyone using this for their production scripts. I merely wrote it for a bit of fun
Simply run the script from your drop down menu and enjoy the integer input!
I've set the maximum number to 255, but that can be edited in the script if you really wanted to change it.
Spoiler:
It also contains a decimal to binary conversion function, which I'm pretty proud of!
Any scripting guru will of course know that you can't.
Or can you?
However, after a script has started, only yes/no can be asked of the user. The problem is that you wish to enter an integer after the script already began.
It was this post specifically which inspired me to write this proof of concept ASH script. I don't recommend anyone using this for their production scripts. I merely wrote it for a bit of fun

Simply run the script from your drop down menu and enjoy the integer input!
I've set the maximum number to 255, but that can be edited in the script if you really wanted to change it.
Spoiler:
It also contains a decimal to binary conversion function, which I'm pretty proud of!
Attachments
Last edited: