igmeou Posted March 24, 2005 Share Posted March 24, 2005 Hi, How can I send a carriage return/line feed if I read in a variable from a .ini file? Example: Hi @CRLF Leave me a Line Please. @CRLF The output should be: Hi Leave me a Line Please. And not: Hi @CRLF Leave me a Line Please. @CRLF I had tried quite a number of methods but just can't let it leave a line. Someone please advice. [font="Arial"]Thanks[/font]If @error = me Then $sorry Else Do $clarifyMe Until $meClear EndIF MsgBox(0,"Special Message!","Special Thanks to " & $allHadReplied,$Forever) Link to comment Share on other sites More sharing options...
Ejoc Posted March 24, 2005 Share Posted March 24, 2005 did you try $strfromfile = "Hi @CRLF Leave me a Line Please. @CRLF" $newstr = StringReplace($strfromfile,"@CRLF",@CRLF) MsgBox(0,"",$newstr) Start -> Programs -> AutoIt v3 -> AutoIt Help File -> Index -> (The Function you are asking about)----- Links -----DllStruct UDFsRSA Crypto UDFs Link to comment Share on other sites More sharing options...
igmeou Posted March 24, 2005 Author Share Posted March 24, 2005 Hey. Thanks Man, Didn't thought of that. :"> Such a simple thing... [font="Arial"]Thanks[/font]If @error = me Then $sorry Else Do $clarifyMe Until $meClear EndIF MsgBox(0,"Special Message!","Special Thanks to " & $allHadReplied,$Forever) 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