Jump to content
Sign in to follow this  

InputBox and pasting multiple lines

Recommended Posts


Hello all,

I haven't found the answer in the help file or these forums, so if it's there and I missed it I apologize. I want to be able to paste something into the InputBox field, but sometimes what I paste would be more than one line long (maybe 20 lines sometimes). I've been able to make the input box wider, but not multiple lines. Is there a way can I do this using InputBox?




Here's and example of what I want to cut:

This is my test text.

Here's the second line of my test text.

and now I want to paste it into the InputBox, but the second line gets cut off using the code below

$bloop = 1

While $bLoop = 1

$desc = InputBox("Description",_

"Enter the ticket description and click OK",_


If @error = 1 Then

MsgBox(4096, "Error", "You pressed 'Cancel' - try again!")


$bLoop = 0



Share this post

Link to post
Share on other sites

can i ask what you intend to do with with data you pasted into the input box....

a list in a gui sounds like a better idea.

I take it and paste it into a field. The program it's being pasted into is peregrine service center, which is a ticket-generating package (if that helps).

Share this post

Link to post
Share on other sites

Do you want something like this? [MultilineInputBox]

*GERMAN* [note: you are not allowed to remove author / modified info from my UDFs]My UDFs:[_SetImageBinaryToCtrl] [_TaskDialog] [AutoItObject] [Animated GIF (GDI+)] [ClipPut for Image] [FreeImage] [GDI32 UDFs] [GDIPlus Progressbar] [Hotkey-Selector] [Multiline Inputbox] [MySQL without ODBC] [RichEdit UDFs] [SpeechAPI Example] [WinHTTP]UDFs included in AutoIt: FTP_Ex (as FTPEx), _WinAPI_SetLayeredWindowAttributes

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.