In this script I tried to do the following:
*I copy several lines. Ex:
(
line1
line2
line3
)
These lines look like 1 single element on the clipboard, so if I do Ctrl+V, all the text is pasted.
What I would like to achieve is to detect line breaks and paste the lines one by one and press enter to paste the next one. Ex:
(
line1 → *sticks* → {enter}
line2 → *sticks* → {enter}
line3 → *sticks*
)
Thank you in advance, this forum is very useful
Script:
Code: Select all
!a::
Loop, Read, clipboard
{
send %A_LoopReadLine%
sleep 200
}
return