Jump to content

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


Recommended Posts

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)
Link to comment
Share on other sites

$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)
Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...