Jump to content

When actioning a selection, don’t overwrite the clipboard


vitor

Recommended Posts

I was under the impression this had been discussed before, but am not being able to find it.


Currently, when we enter file selection or use a Hotkey with Argument: Selection in macOS, the last clipboard entry becomes whatever our selection was. Would it be possible for the clipboard to not be overridden (or at least be immediately restored once Alfred is done with what it needs from it)?


My use case is a workflow for text replacements. Specific example: I copy a piece of text to the clipboard; select another piece of text in a document; press a hotkey; the result is [selected_text](text_from_cipboard). A gif exemplifies:

 

ObKp7gm.gif


It would be expected that these two connected nodes would suffice:


pTAj1Q1.png


RPLFbbx.png

 

However, since the last clipboard entry becomes whatever our selection was, by the time Alfred outputs the text, it has already become [iA Writer](iA Writer), which is no good.

Link to comment
Share on other sites

  • 2 months later...
  • 2 weeks later...

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...