Edit part of clipboard

Hello!
Tried to find smth about it but cant :frowning:

Example: I copied link from Google Chrome: http://google.ru
And paste it in another GChrome window. But i need to remove "http://" part. How to do it automatically?

ps. sry for bad english, lul

Hi Nikolay,

This example macro will check the clipboard and remove the "http://" part automatically whenever a URL is copied in Chrome:

Auto-Remove URL Header.kmmacros (2.8 KB)
image

And this one has KM intercept the paste shortcut and only remove the "http://" when a URL is being pasted into Chrome (this kind of macro would best be used in a Chrome-only macro group, rather than one that is available in all applications):

Auto-Remove URL Header (Paste).kmmacros (3.5 KB)
image

1 Like

Thank you so much! It's awesome :smiley:

1 Like