Delete last two entries in clipboard

Attached macros address -> and %>% to clipboard. How do I delete both from clipboard? I've played with 'Delete Past Clipboard' and also tried setting clipboard to blank text, but neither appear to be working and both -> and %>% are retained in clipboard.

replace -> and %>%.kmmacros (6.0 KB)

Just end your macro with two "Delete Current System Clipboard" actions:

...which should take you back to the clipboard state before your 5th-action "Copy".

If it still doesn't work, show the Clipboard History Switcher and step through your macro with the Debugger so you can troubleshoot. And watch out for other clipboard managers that may be interfering...

2 Likes