I'm trying to paste some text into asterisks with
Code: Select all
clipboard := clipboard
Send,% "*" ClipBoard "*"
Code: Select all
*text
text text text
text*
Code: Select all
***text
text text text
text
***
Code: Select all
clipboard := clipboard
Send,% "*" ClipBoard "*"
Code: Select all
*text
text text text
text*
Code: Select all
***text
text text text
text
***
Code: Select all
clip:=clipboard
StringReplace, clip, clip, `r`n, `n, All
Send, % clip
return
I see.. although, where would I put in the asterisks?Tom wrote: ↑Mar 8th, ’19, 23:09 Some editors treat `r`n (CR FF) as one break, others as two. Try this:Code: Select all
clip:=clipboard StringReplace, clip, clip, `r`n, `n, All Send, % clip return
Code: Select all
Send, % "*" clip "*"