Jump to content
stephenfrench9

[SOLVED] Different Workflows, Same Hotkey

Recommended Posts

Consider my two workflows, projectA and projectB. 

1886059889_ScreenShot2020-04-10at11_59_41AM.png.9d1da28c8a507ac12c567d96617262cc.png

I only ever have one of those workflows enabled at a time.

I would like to have the same "Hotkey" in both Workflows.

783404203_ScreenShot2020-04-10at12_01_39PM.png.028a722e0800acf846a07f5d06217807.png

But Alfred won't let me, is it trying to prevent collisions between hotkeys? Can I override this?

Share this post


Link to post
1 hour ago, stephenfrench9 said:

is it trying to prevent collisions between hotkeys? Can I override this?

 

Yes, and yes. Alfred is trying to prevent you from shooting yourself in the foot, but you can shoot away by directly editing the workflows' info.plist files. The simplest way is to set each workflow's Hotkey to something similar (i.e. just with different modifiers), then edit the info.plist of the second workflow and change the value of the appropriate hotmod key to be the same as in the first workflow.

 

People do this fairly often when they have each Hotkey assigned to different applications (Alfred also won't let you set the same Hotkey even then), and it works fine, but who knows how badly things might go wrong if you forget to deactivate one of the workflows.

Share this post


Link to post

Thank you deanishe! this was very helpful! To create a new project (for example, to create a new project called projectA), I now do this: 
2007754213_ScreenShot2020-04-11at7_13_44PM.thumb.png.c72d977e6e84476191a99f320b2c8963.png

 

And then edit the right <name> element so it looks like <name>projectA<name/>

Much appreciated for the help, thank you!

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...