stevenzhang Posted September 15, 2022 Posted September 15, 2022 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?
Stephen_C Posted September 15, 2022 Posted September 15, 2022 Doesn’t checking Mark item as transient in clipboard achieve what you want? Sorry if I have misunderstood something. Stephen
vitor Posted September 16, 2022 Posted September 16, 2022 Welcome @stevenzhang, I’m somewhat confused too. What exactly are you doing in the Workflow and what result are you looking for?
stevenzhang Posted September 17, 2022 Author Posted September 17, 2022 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.
vitor Posted September 18, 2022 Posted September 18, 2022 Attach another Copy to Clipboard and have it copy {clipboard:1}. That will copy back the previous clipboard entry.
stevenzhang Posted September 19, 2022 Author Posted September 19, 2022 Do I chain them like this or in parallel? when I do either, the original copy paste no longer functions
vitor Posted September 19, 2022 Posted September 19, 2022 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.
stevenzhang Posted September 21, 2022 Author Posted September 21, 2022 Still doesn't work. Here's the full configuration I'm using: When I run it with previous clipboard content I end up with nothing to paste after the 6-digit code is spit out
vitor Posted September 21, 2022 Posted September 21, 2022 Please share the workflow so I can take a proper look. transfer.sh is good temporary storage.
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now