andy4222 Posted July 24, 2022 Share Posted July 24, 2022 Hi, is there a way to clear both the "Clipboard History" in Alfred and the macOS clipboard. I noticed that Automation Tasks have "Clear Clipboard" option, but what about the Alfred history. I was hoping to make a workflow to perform these two actions instead of typing "Clear" in Alfred and execute that Automation Task Link to comment
Alan He Posted July 25, 2022 Share Posted July 25, 2022 18 hours ago, andy4222 said: Hi, is there a way to clear both the "Clipboard History" in Alfred and the macOS clipboard. I noticed that Automation Tasks have "Clear Clipboard" option, but what about the Alfred history. I was hoping to make a workflow to perform these two actions instead of typing "Clear" in Alfred and execute that Automation Task just like this. clear both https://github.com/alanhg/alfred-workflows/tree/master/clipboard-history Link to comment
andy4222 Posted July 25, 2022 Author Share Posted July 25, 2022 Wow this works perfectly. I didn't know about that snippets are stored in the location in SQL DB. Thanks @Alan He! BTW, is this tribal knowledge you've gained over the years or is there some documentation about this? Link to comment
vitor Posted July 25, 2022 Share Posted July 25, 2022 None of this is hidden: if you explore Alfred’s preferences you’ll see everything is organised in logical places with open and readable formats. It allows for other advanced stuff, like accessing clipboard history inside a Workflow. It works pretty well because Alfred is quite fast and stable, but you’re still editing a file in a way it wasn’t intended to. In other words: it works but should still be considered a hack and not an officially supported method, which is why it isn’t officially documented. Alan He 1 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