Sign in to follow this  
Followers 0
ken82m

New Lines In Message Boxes

4 posts in this topic

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,

Kenny

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


My Contributions _StringMultiReplace PC Builders Console - Secure PDF Creator - Cisco VPN Installer MS DNS Server Backup Script - MS DHCP Backup Script IT Admin Console - Toggle Admin Mode - MyMovies-Add Discs Script - IT Help Desk and System Information Tool - Set On Lid Close Power Option - Streaming Media Server & Website "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."

Share this post


Link to post
Share on other sites



#2 ·  Posted (edited)

you can use @LF for that..

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

Edited by JdeB

Visit the SciTE4AutoIt3 Download page for the latest versions        Beta files                                                          Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Share this post


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.

Share this post


Link to post
Share on other sites

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

.. and some DOS programs too (isql.exe for SYBASE seems to be particularly picky :whistle: )

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