Sign in to follow this  
Followers 0
peter1234

carriage return in msgbox?

4 posts in this topic

Is there a way to insert a carriage return in msgbox text in order to get multiple lines?

Share this post


Link to post
Share on other sites



like this

msgbox(0,"test", "this is one line" & @CRLF & "this is another line")

8)


NEWHeader1.png

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

My thanks to both of you. I could not find it using search, there are too many items for msgbox.

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  
Followers 0