Sign in to follow this  
Followers 0
igmeou

Help on Send Command

3 posts in this topic

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)

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

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)

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