Jump to content

Paste custom text on hot key? (do not disrupt or restore clipboard)


Recommended Posts

I would like to use "Copy to Clipboard" action to paste some custom text with a hotkey

 

- automatically paste into front app

- mark as transient

 

but what is the good way to restore clipboard contents afterwards?

 

or an alternative way to paste some custom text on hotkey would be appreciated.

 

thanks!

 

 

Screen shot 2023-04-28 at 17.02.28.png

Edited by gingerbeardman
Link to comment

You don’t need to capture the contents of the clipboard to a variable. Nor to have them be separate connections, they can be done in a row:


Hotkey → Copy to Clipboard with the text you want (plus “paste” and “transient” options) → Delay (because macOS still needs time to react) → Copy to Clipboard with {clipboard:0} as the contents (see more about Dynamic Placeholders).

Link to comment

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