Jump to content

Recommended Posts

Posted (edited)

Hi all

Have a rather simple but highly irritating problem.

I have a Msgbox which needs two different lines in the text.

ie. 1st line should say "MD5 for File 1: XXX" and then the next line says "MD5 for File 1: YYY"

MsgBox (0, "File Hashes Different.", "MD5 for File 1:" & $Hash1 & "" & "MD5 for File 2:" & $Hash2)

My msgbox however shows everything in one line only and using \n doesn't helps. Its hardly a major deal but everytime I see that messagebox with everything in a single line, I burn a quart of my delightful blood.

Any suggestions in this regards will be much appreciated.

thanks and regards.

Edited by Rishav
Posted

a linebrak is encoded with the macro @CRLF :)

*GERMAN* [note: you are not allowed to remove author / modified info from my UDFs]My UDFs:[_SetImageBinaryToCtrl] [_TaskDialog] [AutoItObject] [Animated GIF (GDI+)] [ClipPut for Image] [FreeImage] [GDI32 UDFs] [GDIPlus Progressbar] [Hotkey-Selector] [Multiline Inputbox] [MySQL without ODBC] [RichEdit UDFs] [SpeechAPI Example] [WinHTTP]UDFs included in AutoIt: FTP_Ex (as FTPEx), _WinAPI_SetLayeredWindowAttributes

Posted

MsgBox (0, "File Hashes Different.", "MD5 for File 1:" & $Hash1 & @CRLF & "MD5 for File 2:" & $Hash2)

[center]It's a question of mind over matter, if I don't mind, it doesn't matter.[/center]
Posted

Thanks a lot guys. Can't believe how much that tiny thing irritated me. I ended up spending an hour using various permutations of "\n". :)

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
×
×
  • Create New...