Jump to content

Sky Slate Blueberry Blackcurrant Watermelon Strawberry Orange Banana Apple Emerald Chocolate

new line / break line



  • Please log in to reply
20 replies to this topic
MasterFocus
  • Moderators
  • 4323 posts
  • Last active: Jan 28 2016 01:38 AM
  • Joined: 08 Apr 2009
I see no one provided a link to the Escape Sequences, so here it is: <!-- m -->http://www.autohotke..._EscapeChar.htm<!-- m -->

-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

Antonio Fran├ža -- git.io -- github.com -- ahk4.net -- sites.google.com -- ahkscript.org

Member of the AHK community since 08/Apr/2009. Moderator since mid-2012.


rsi
  • Members
  • 2 posts
  • Last active: Dec 05 2014 03:18 PM
  • Joined: 03 Dec 2014

well, the thread is still active...

for me it has not worked yet.

 

i tried to add `r`n to the end of a string:

script := ""
...
script .= DeltaT ":" X ":" Y `r`n
...

but it does not work.

in a .ahk file

i read the manual describing escape sequences, but it didn't really help me.

 

any suggestions?

thanks



tidbit
  • Administrators
  • 2709 posts
  • Hates playing Janitor
  • Last active: Jan 15 2016 11:37 PM
  • Joined: 09 Mar 2008
✓  Best Answer

`r`n is text, just like your other text, it needs to be wrapped in quotes.

 

"`r`n"


rawr. be very afraid
*poke*
. Populate the AutoHotkey city. Pointless but somewhat fun. .


rsi
  • Members
  • 2 posts
  • Last active: Dec 05 2014 03:18 PM
  • Joined: 03 Dec 2014

and i was sure that i tried wrapping it in quotes...

 

well that does work!

thanks!!



tulchiar
  • Members
  • 2 posts
  • Last active: Jun 24 2015 10:21 PM
  • Joined: 15 May 2015
Hi Everyone,
 
you can also use "%0A"
 
it will work great over the eMail web editor (such as Gmail) and in Outlook too (2007 tested) using a "mailto:" function.
 
Bye.

djacolorado
  • Members
  • 1 posts
  • Last active: Aug 07 2015 03:03 PM
  • Joined: 28 May 2015

As was mentioned earlier, don't use an apostrophe 'r'n  use the back quote `r`n found on the top left of the keyboard... I went down that path when I started