Paste modified clipboard

Hi all, I've a very basic question:

I wish, when pressing a combination of keys, to paste the content of my clipboard, in my case web link to a file, but I wish to paste it twice, the second time with some text pasted in.

Eg: my clipboard is

http:\www.mysite.mine\myfile.mov

I want to paste this:

Mobile:
http:\www.mysite.mine\myfile.mov

Download:
http:\www.mysite.mine\myfile.mov.zip

I think I can do it with KM without using AppleScript right?
Anyone may help me showing how to do it?

Thanks!

This can be done like the macro below.
The file is saved to the desktop.

I have not set a keypress. Add it by clicking plus in front of New Trigger.

Keyboard Maestro “Write clipboard to file” Macro

Write clipboard to file.kmmacros (1.6 KB)

Thanks Jimmy!

There is a way also to get it to my clipboard? I wish to you this to paste the result in a email…

  • Marco.

Yes, there is.

But you also still need it written to a file?

No Jimmy, sorry, my best use is having it in my clipboard :slight_smile:

Then I would do it like this.

Remember that you could perhaps have Keyboard Maestro zip and upload the files as well.

Keyboard Maestro “Set Clipboard to Text” Action

Set Clipboard to Text.kmactions (0.6 KB)

1 Like

Thanks Jimmy, very kind, so I guess KM can also do this, but for now this is already very useful to me!

Best,

  • Marco.

Yes, as you will probably find out. Keyboard Maestro is a very versatile program.
In my experience it is best to learn in small steps.
So start small like this and the build upon it.

1 Like

If you want to paste it directly, just use Insert Text by Pasting with the same text as @JimmyHartington showed, ie:

Mobile:
%CurrentClipboard%

Download:
%CurrentClipboard%.zip
1 Like

Thanks!