AceJosh Posted January 29, 2007 Posted January 29, 2007 Does anyeone have tips on how to display Mulitple lines in MsgBox? I have stored like 10 Values in variable and would like to restore taht value to show in a Msgbox, but in one dialog box. THanks fro your help in advance. AceJosh
_Kurt Posted January 29, 2007 Posted January 29, 2007 Using @CRLF : Msgbox(0,"","This is a test" & @CRLF & "using multiple lines in a msg box") Kurt Awaiting Diablo III..
AceJosh Posted January 29, 2007 Author Posted January 29, 2007 Thanks for the reply This is my script Msgbox(1,"M Factor","Seat-1 M Factor :" & @CRLF & $answer1 & @CRLF & "Seat-2 M Factor :" & @CRLF & $answer2) how do get it Seat-1 M Factor : and answer1 in one line
AceJosh Posted January 29, 2007 Author Posted January 29, 2007 never mind i figured it out it is @tab
_Kurt Posted January 29, 2007 Posted January 29, 2007 (edited) Thanks for the reply This is my script Msgbox(1,"M Factor","Seat-1 M Factor :" & @CRLF & $answer1 & @CRLF & "Seat-2 M Factor :" & @CRLF & $answer2) how do get it Seat-1 M Factor : and answer1 in one lineHmm, you're not understanding the concept of @CRLF. @CRLF is like saying "make new line", so in your case you do not want your @CRLF's between your $var's. So try this: Msgbox(1,"M Factor","Seat-1 M Factor : " & $answer1 & @CRLF & "Seat-2 M Factor : " & $answer2) Kurt EDIT: Minor correction Edited January 29, 2007 by _Kurt Awaiting Diablo III..
Helge Posted January 29, 2007 Posted January 29, 2007 (edited) how do get it Seat-1 M Factor : and answer1 in one lineIf you want it on one line why do you put a CRLF between them ? Msgbox(1,"M Factor","Seat-1 M Factor :" & $answer1 & @CRLF & "Seat-2 M Factor :" & $answer2) EDIT : zhaij...doh. Edited January 29, 2007 by Helge
AceJosh Posted January 29, 2007 Author Posted January 29, 2007 Thanks again Guys That worked..But I ahve another quesitons if I want to extract some text values from another GUI how do i extract it..any example will work from me. Thanks again
_Kurt Posted January 29, 2007 Posted January 29, 2007 ControlGetText? WinGetText? Not sure on this one Kurt Awaiting Diablo III..
AceJosh Posted January 29, 2007 Author Posted January 29, 2007 When i do the wingettext...I get doubles of all the data..any idea why
Infinitex0 Posted January 29, 2007 Posted January 29, 2007 what do you get with conrolGetText? The below statement is False.The above statement is True.a lesson I learned from Greenmachine; give a man a code and he'll solve one problem. Teach a man to code and he'll solve all his problems.P.S please don't use autoIt as a virus creator/spyware maker(keyLogger especially)Cick this and help me[center]My Scripts:[/center][center]Port Scanner[/center]
AceJosh Posted January 31, 2007 Author Posted January 31, 2007 I don't get anything with controlgettext just blank. Any idea why wingettext is double ppl. Any help is appericiated THanks
Shevilie Posted February 1, 2007 Posted February 1, 2007 Well can you read some of the text with the Autoit Info Tool ?? Start here if you are new Valuater's AutoIT 1-2-3Looking for an UDF - Look hereDo you need to do it twice - Autoit
AceJosh Posted February 5, 2007 Author Posted February 5, 2007 When I use the Wingettext, I use it to copy to a variable User1... When I reterive it, the information comes out as double Ex: AceJoshAceJosh. I can't figure out why. Any advice to this problem is appricated
Moderators SmOke_N Posted February 5, 2007 Moderators Posted February 5, 2007 When I use the Wingettext, I use it to copy to a variable User1... When I reterive it, the information comes out as double Ex: AceJoshAceJosh.I can't figure out why.Any advice to this problem is appricatedReading your previous "Topics" and such, I'm sure we all know what application(s) you are trying to use it on. But in the future, posting such application(s) may get you a quicker response on how to fix your issue(s)... In other words, provide a working example with the application to test on that duplicates the issue you are having. Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.
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