AutoHotkey Homepage AutoHotkey Community
Let's help each other out
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

What is `r

 
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Ask for Help
View previous topic :: View next topic  
Author Message
ChrisM



Joined: 28 Nov 2004
Posts: 58

PostPosted: Sat Feb 26, 2005 1:03 pm    Post subject: What is `r Reply with quote

In the help files for Loop (parse a string) there is this example:
Quote:
; Example #2: This one is useful whenever the clipboard contains
; files (such as those copied from an open Explorer window).
; The program automatically converts such files to their file names.

Loop, parse, clipboard, `n, `r

Which means the `r is an omitted character?

And the help for Clipboard contains these lines:
Quote:
To write the filenames on the clipboard to a file via FileAppend, first replace `r`n with `n as in this example:

StringReplace, clipboard, clipboard, `r`n, `n, All

Does `r always appear before `n?
Is it a carriage return?

Thanks
_________________
ChrisM
Back to top
View user's profile Send private message
BoBo
Guest





PostPosted: Sat Feb 26, 2005 3:52 pm    Post subject: Reply with quote

Quote:
`r carriage return (CR)
Yeeeeeha ! Very Happy

Check AHK's help for this keyword: #EscapeChar and you'll find a list of chars and their meanings.

Cool
Back to top
Display posts from previous:   
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Ask for Help All times are GMT
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum


Powered by phpBB © 2001, 2005 phpBB Group