Jump to content

New Lines In Message Boxes

Recommended Posts

I know in v2 it was a \n but I've searched through the help file and I don't see it anywhere in V3. any tips?

Thanks Again,


I'm a pain in the a** huh :whistle:

 "I believe that when we leave a place, part of it goes with us and part of us remains... Go anywhere, when it is quiet, and just listen.. After a while, you will hear the echoes of all our conversations, every thought and word we've exchanged.... Long after we are gone our voices will linger in these walls for as long as this place remains."

Link to post
Share on other sites
  • Developers

you can use @LF for that..

msgbox(4096,"Title","Line1" & @LF & "Line2")

Edited by JdeB

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
Live for the present,
Dream of the future,
Learn from the past.

Link to post
Share on other sites

I prefer @CRLF if you get used to it, you won't make any dos conversions on later scripts, such as FileWriteLine($file, "Line2" & @CRLF) of course it is more typing.

Some windows programs will act a bit funny if you have @cr or @lf instead of @CRLF.

AutoIt3, the MACGYVER Pocket Knife for computers.

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
  • Recently Browsing   0 members

    No registered users viewing this page.

  • Create New...