greghoch Posted August 4, 2017 Share Posted August 4, 2017 Does Alfred support hotkey sequence as a trigger? For example, I want that "cmd+k, cmd+u" triggers an event. Sublime Text (ST) supports these sequences and it would be very useful in Alfred as well. For example, in ST "cmd+k, cmd+u" changes text to upper case and "cmd+k, cmd+l" changes text to lower case. Note that the cmd key doesn't has to be released for the sequence. Is there a way to do this in Alfred? Link to comment
vitor Posted August 4, 2017 Share Posted August 4, 2017 This is not possible, no. This idea is a duplicate. Link to comment
GuiB Posted August 5, 2017 Share Posted August 5, 2017 (edited) Dear @greghoch, you made me thought that I could write a small post about a workaround that I had in mind... The idea is to use the Snippets trigger as a workaround. So please, look at my post in the other thread to have a look and idea of how this could be done ("in some way") (Just click the link below). I've made an example like Sublime to modify text to uppercase using cmd+k, cmd+u in the attached workflow (translated to alt+k, alt+u using a snippet trigger). It's not as transparent, but could be useful Hope this helps! ---- Edit ---- Have a look at it or you may also prefer to use a List Filter or Script Filter that is activated using a Hotkey with the text selection and that would output a list of actions... Example: cmd+k as the hotkey and then you write "u" to filter the list to the Uppercase action or "l" for the Lowercase action, so the keypress combination could be something like: cmd+k+u+Enter Edited August 5, 2017 by GuiB greghoch 1 Link to comment
GuiB Posted August 5, 2017 Share Posted August 5, 2017 Here is a workflow to show you the second idea using a Hotkey and a List Filter. You would need to put the Hotkey combination inside the Hotkey object, but this could work great as well. Workflow example: https://nofile.io/f/Y6DdDhAn9lF/Multi-Stage+Action+Shortcuts.alfredworkflow greghoch 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