Page 1 of 1

Inserting an enter between every line upon pasting

Posted: Aug 18th, ’19, 16:36
by Oblomov
Hello,

I'm using an app/website called Simplenote, to sync notes between my PC and iPhone, however recently, due to their recent update, whenever I copy x lines into a Notepad from it, which looks like something like this (inside of Simplenote):

"item 1
item 3
item 2"

Upon pasting into the Notepad, it ends up coming out as:

"item 1item 3item 2"

So yeah, would be really nice to have a macro that puts an enter between every line, to combat this nefariousness

Re: Inserting an enter between every line upon pasting

Posted: Aug 18th, ’19, 17:14
by Marko
Item1{Enter}Item2{Enter}Item3
?

Re: Inserting an enter between every line upon pasting

Posted: Aug 18th, ’19, 18:00
by Oblomov
Marko wrote: Aug 18th, ’19, 17:14 Item1{Enter}Item2{Enter}Item3
?
Sorry for a somewhat vague thread description... basically what I mean by items, is lines, where I usually have 10+ lines, that should have an enter between them, but for some reason now, do not, whenever I paste them into Notepad

Re: Inserting an enter between every line upon pasting

Posted: Aug 18th, ’19, 18:26
by Marko
Try a new paste shortcut (Type: Command):

Code: Select all

StringReplace, Clipboard, Clipboard, `r, `r`n, All
Send, % Clipboard
Maybe replace first `r with `n.

Re: Inserting an enter between every line upon pasting

Posted: Aug 18th, ’19, 19:34
by Oblomov
Marko wrote: Aug 18th, ’19, 18:26 Try a new paste shortcut (Type: Command):

Code: Select all

StringReplace, Clipboard, Clipboard, `r, `r`n, All
Send, % Clipboard
Maybe replace first `r with `n.
That did it, thanks! 😁