Jump to content

Copy to clipboard while preserving existing clipboard


Recommended Posts

Posted

I have a keyboard-shortcut that triggers the following output (see image)

 

However, since i'm using the "copy to clipboard" action, my existing clipboard history /item is erased. Is there a workaround?

 

image.thumb.png.cb24d47364b3552ea977a061f90e6984.png

Posted

Thanks! 

 

@Stephen_C marking as transient doesn't seem to work :(

 

@vitor here's the workflow I want:

 

1 I copy something to my clipboard say "foo"

2 i press the keyboard shortcut to execute myworkflow and a 6 digit date code is generated (for today that would be "220917")

3 I cmd+v and foo is still on my clipboard and pasted.

 

Posted

Add a short delay between them. 0.5 seconds or below should be enough. Also, if you have the option to mark as transient turned on it will be {clipboard:0} in the second one instead.

Posted

Still doesn't work.

 

Here's the full configuration I'm using:

 

image.thumb.png.0ef1a5c6ead3061f140c110b78848cb4.png

 

image.thumb.png.385d8d03703830dd8d7499044383f5d8.png

image.thumb.png.ad9d6354bdb2dfa8ebc3065551f2ff07.pngimage.thumb.png.1a5e356859dc4de4059c8152568d8e1d.png

 

When I run it with previous clipboard content I end up with nothing to paste after the 6-digit code is spit out

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...