redhotvengeance Posted August 13, 2022 Share Posted August 13, 2022 I'd like to create a workflow that I can trigger from a selection the clipboard history viewer. Here's what I've tried: I've set up a workflow using a Hotkey trigger with the argument set to macOS Clipboard Contents, but that is using the contents of the system clipboard, not the selection in the clipboard history viewer. I've used {clipboard} in a Copy to Clipboard output, but that will only use the last item that was copied into the history. I see that I can use {clipboard:x} to target a particular entry in the clipboard viewer, but I'm not sure how to pass in the currently selected item as an argument. Is there any way to reference the currently selected item in the clipboard history viewer from within a workflow? Link to comment
Andrew Posted August 13, 2022 Share Posted August 13, 2022 @redhotvengeance try setting the hotkey trigger to use Action "Pass through to workflow" and Argument to "Selection in macOS". This will make your hotkey work for any selection in macOS, including Alfred's clipboard viewer. redhotvengeance 1 Link to comment
redhotvengeance Posted August 13, 2022 Author Share Posted August 13, 2022 Thank you @Andrew! I tried that and thought that it didn't work, but it clearly does. Must have gotten mixed up as I was testing! Link to comment
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