peter1234 Posted November 29, 2005 Share Posted November 29, 2005 Is there a way to insert a carriage return in msgbox text in order to get multiple lines? Link to comment Share on other sites More sharing options...
Valuater Posted November 29, 2005 Share Posted November 29, 2005 like this msgbox(0,"test", "this is one line" & @CRLF & "this is another line") 8) Link to comment Share on other sites More sharing options...
themax90 Posted November 29, 2005 Share Posted November 29, 2005 You beat me to the punch Valuater but he is looking for a Carriage Return. Carrage Return : @CR Line Feed : @LF Carrage Return + Line Feed = @CRLF Anything you wish to add that is not a string ("") that you have already added, you need to use the & parameter. For example. $Variable = "Hello" MsgBox(0, "Test", $Variable & " World!") Or $Hello = "Hello" $World = "World MsgBox(0, "Test", $Hello & " " & $World & "!") Hope you can understand this!!! AutoIt Smith Link to comment Share on other sites More sharing options...
peter1234 Posted November 29, 2005 Author Share Posted November 29, 2005 My thanks to both of you. I could not find it using search, there are too many items for msgbox. Link to comment Share on other sites More sharing options...
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