Jump to content
erusev

Is it possible to set multiple hotkeys?

Recommended Posts

I don't think this can be done within settings, but two workarounds:

 

- If you have Keyboard Maestro it's simple to assign a "hot key trigger" (whatever key combo you want to use for Alfred) to a macro that simulates the keystroke that is already set in Alfred. For example, you can tell KM to fire command-space when you press x and it will show Alfred (if you have the Alfred Trigger set to command-space in settings)

 

- Another solution would be to set up a Hotkey in Alfred that simulates a key combo using AppleScript. Like this to show Alfred :

 

on alfred_script(q)
   tell application "System Events" to keystroke {Space} using {command down}
end alfred_script

Not sure if there are any downsides, like delay or conflicts, to doing it internally with Alfred using the Hotkey+AppleScript.

Share this post


Link to post
On 12/16/2018 at 4:47 PM, evanfuchs said:

Another solution would be to set up a Hotkey in Alfred that simulates a key combo using AppleScript.

 

That's a bit more complicated than it need be. In the Hotkey, just change Action from "Pass through to workflow" to "Show Alfred". Job done.

 

I think you do need to simulate a key combo to show the Clipboard Viewer, however.

Edited by deanishe

Share this post


Link to post
On 12/18/2018 at 9:44 AM, deanishe said:

That's a bit more complicated than it need be. In the Hotkey, just change Action from "Pass through to workflow" to "Show Alfred". Job done.

 

Good to know!

Share this post


Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...