Jump to content

Recommended Posts

Posted

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 :D

The output should be:

Hi

Leave me a Line Please.

:D

And not:

Hi @CRLF Leave me a Line Please. @CRLF :huh:

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)
Posted

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
Posted

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)

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...