Jump to content

UserInput return on a msgbox?


layer
 Share

Recommended Posts

when i make a userinput, is there a way that when the user inputs, and they press enter so that there answer comes up in a message box? i just got this program a few days ago so its a little hard but its actually easy :)

FootbaG
Link to comment
Share on other sites

DO NOT POST QUESTIONS TO THE "v3 Sripts and Scraps" section...

Anyway, to answer your question:

$returnValue = InputBox("Title","Prompt goes here")
MsgBox(4096,"Answer", $returnValue)

See the help file for more info.... hope this helps... good lulck

Use Mozilla | Take a look at My Disorganized AutoIt stuff | Very very old: AutoBuilder 11 Jan 2005 prototype I need to update my sig!
Link to comment
Share on other sites

DO NOT POST QUESTIONS TO THE "v3 Sripts and Scraps" section...

Anyway, to answer your question:

$returnValue = InputBox("Title","Prompt goes here")
MsgBox(4096,"Answer", $returnValue)

See the help file for more info.... hope this helps... good lulck

<{POST_SNAPBACK}>

o gees, sry, i meant to post on the help section, thank you for tyhe help and for the tip! :)
FootbaG
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...