Jump to content

Alfred's clipboard history accessible by Shortcuts?


Idwal

Recommended Posts

Posted

Obviously, I can see that Alfred is not present within the Apps section in Shortcuts on the Mac, but I was wondering if there's anyway to access the content of Alfred's clipboard from within Shortcuts? I can see that Better Touch Tool has this facility, but would prefer to stick with Alfred's clipboard which I've used for years. I also find BTT's settings baffling so would prefer to have one less thing to fiddle with in there.

 

Any ideas would be welcomed. Thanks. 

Posted
2 minutes ago, Idwal said:

I was wondering if there's anyway to access the content of Alfred's clipboard from within Shortcuts?

Sorry that it's not a direct answer to your question, but I always find the easiest and quickest way to access Alfred's clipboard history is to use the keyboard shortcut (which you can set under Alfred Preferences → Features → Clipboard History).

 

Stephen

Posted

Thanks. However, I was more looking to use the various clipboard elements (clipboard1, clipboard2 etc) to set variables within a Shortcut.

Posted

You can access Clipboard History with a bit of code, and you can run code from inside Shortcuts.


I’ll leave adapting that as an exercise to the reader. Accessing the Clipboard History like that is not officially supported.


It would be better if you explained exactly what you’re trying to accomplish, so we avoid the XY problem. You’re not going to get the clipboard placeholders like that, that’s something that Alfred generates when needed. I recommend you either recreate your task completely as a workflow or get those variables inside a workflow then send them as arguments to a shortcut with the Run Shortcut Automation.

Posted

Simplistically, in macOS, there's only one item in the clipboard. In Alfred, there are many. I prefer Shortcuts to Alfred workflows – I find them a bit confusing/too complicated and prefer the linear nature of Shortcuts – so as many mac apps have their own specific actions, was just wondering if the clipboard elements in Alfred could be exposed to Shortcuts. 

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