Jump to content
Sign in to follow this  
Aro2220

Is there a way to pop up a box with a text field?

Recommended Posts

Aro2220

I'm trying to pop up a box that lets the user type a string and then click 'ok'

on 'ok' it will pass that data into the script which will then manipulate it

pseudocode:

PopUpBoxWithTextICanEnter($number, "What's your favourite number?")
$math = $number * 2
MsgBox(0, "Your number is half as good as ", $math)

Share this post


Link to post
Share on other sites
Aro2220

$math = InputBox("Question", "What is your favourite number?")

Share this post


Link to post
Share on other sites
l3ill

$math = InputBox("Question", "What is your favourite number?")

Looks like your found it but I just had to make one of these so here it is with your prerequisites just in case.

happy coding !!

$value = InputBox("Free Goo...", "Enter your favorite Number", "", " M2")
$j = $value*2

MsgBox(4096, "Something", "This is your Number x 2" & @crlf & $j)

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.