Alex Posted May 22 Share Posted May 22 Hi, I've created a workflow that uses ;; to show the snippets viewer, but to do it I've had to connect a snippet of ;; to a Run Script object with some Applescript that fires off my Snippet Viewer shortcut. Is there a way to do it more directly, without having to assign a keyboard shortcut to the snippet viewer and trigger that keyboard shortcut? Thanks Link to comment
vitor Posted May 22 Share Posted May 22 Yes. Use an Open URL Action with alfredpreferences://navigateto/features>snippets for the URL. The alfredpreferences:// part is easy, but how do you know what the navigate part should be? Well, for that you use Alfred’s ? keyword (open Alfred, type ? then search for something) and search for what you want (in this case: “snippets”). If you ↩ you’re taken directly to that spot in the preferences, but if you ⌘C, you get that navigation path. Textdriven 1 Link to comment
sepulchra Posted May 23 Share Posted May 23 that is pretty brilliant. How long has that been part of the app? Link to comment
vitor Posted May 23 Share Posted May 23 Its current incarnation with the navigateto is about a year old. sepulchra 1 Link to comment
Alex Posted May 23 Author Share Posted May 23 Thanks @vitor. Never doubt there is a way with Alfred! Link to comment
Alex Posted May 23 Author Share Posted May 23 Ahh, there's a problem – I'm trying to open the Snippets Viewer with ;; rather than the Snippets Preferences. Is that possible? Thanks Link to comment
Alex Posted May 30 Author Share Posted May 30 Hi @vitor, just wondering if there's a way to show the snippets viewer, and not snippets preferences? Thanks Link to comment
vitor Posted May 31 Share Posted May 31 I’m not thinking of a better solution than your original. I’ll have a think about it and possibly open an internal issue. Link to comment
Alex Posted June 4 Author Share Posted June 4 Thanks, Vitor. To be fair, it works well as it is. 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