KenB Posted February 18, 2009 Posted February 18, 2009 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? Thanks, Ken i.e. 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",_ "","",150,250,150,150) If @error = 1 Then MsgBox(4096, "Error", "You pressed 'Cancel' - try again!") Else $bLoop = 0 EndIf WEnd
Aceguy Posted February 18, 2009 Posted February 18, 2009 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. [u]My Projects.[/u]Launcher - not just for games & Apps (Mp3's & Network Files)Mp3 File RenamerMy File Backup UtilityFFXI - Realtime to Vana time Clock
KenB Posted February 18, 2009 Author Posted February 18, 2009 Aceguy said: 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).
Aceguy Posted February 18, 2009 Posted February 18, 2009 look in the helpfile for clipget() clipput() controlsettext() in the helpfile. an inputbox is not what you need here, i think. [u]My Projects.[/u]Launcher - not just for games & Apps (Mp3's & Network Files)Mp3 File RenamerMy File Backup UtilityFFXI - Realtime to Vana time Clock
ProgAndy Posted February 18, 2009 Posted February 18, 2009 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
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now