Jump to content

Is it possible to set multiple hotkeys?


erusev

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.

Link to comment
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
Link to comment

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...