string PromptInputDialog( text )

text is a string.
Returns a string.

This function will pause the script and show a dialog with the message in the text parameter and a field for the user to enter data. Once the message dialog is dismissed, the script will continue.
The dialog can be used to ask for user input, such as a name or number.


replyVar = PromptInputDialog("Please enter your name")
MessageDialog("Hello "..replyVar)

This would display a dialog asking you to enter your name. When you click the ‘OK’ button, the name will be saved in the variable replyVar which is then used to display a message dialog.

Was this helpful?

Yes No
You indicated this topic was not helpful to you ...
Could you please leave a comment telling us why? Thank you!
Thanks for your feedback.