Idwal Posted Friday at 12:18 PM Posted Friday at 12:18 PM 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.
Stephen_C Posted Friday at 12:22 PM Posted Friday at 12:22 PM 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
Idwal Posted Friday at 12:25 PM Author Posted Friday at 12:25 PM Thanks. However, I was more looking to use the various clipboard elements (clipboard1, clipboard2 etc) to set variables within a Shortcut.
vitor Posted Friday at 01:26 PM Posted Friday at 01:26 PM 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.
Idwal Posted Friday at 04:18 PM Author Posted Friday at 04:18 PM 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.
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