Thank you, that is greatly appreciated. I am confused to find that this macro works exactly as intended, however, the pastebot clipboard does not reflect the changes, but the Keyboard Maestro clipboard does.
I will make a macro that serves the purpose of the sequential paste using Keyboard Maestro. That should be pretty straightforward.
Hi @stationagent - it’s not the saving macro that is removing the duplicates. That is what Keyboard Maestro’s Clipboard History does. And as you are using a Keyboard Maestro macro to paste past clipboards it will not allow duplicates.
I had another think about this. Instead of having two macros it would be simpler to just have a Paste Macro that pastes each line of a single multi-line Clipboard entry one line each time. In other words, no need to split the Clipboard entry into multiple past Clipboards or into Variables.
To use the below Macro, copy the multiple-lined selection to the Clipboard as you normally would by selecting all the lines in one go and pressing ⌘C
Then each time the below Macro is run it pastes one line from the copied text, working its way down the lines one each time. The good thing is that it will allow duplicate lines.
(The method to remove the first line of the Clipboard entry each time is by @Tomhere.)
Another thing. If you leave the Keyboard Maestro History Switcher open (and make it as small as you can) the top entry will show what lines remain and you can see what line will be pasted next (a bit like Pastebot).
EDIT: I have updated my Macro in my post above to version 2.00 to clean up the past clipboards and make this display clearer.