Jump to content

Keywords Enable/Disable

Recommended Posts


I have set a workflow/keyword for working. But when I am not working, I want to disable it automatically.

I have two commands "start_work", "end_work", in these workflows I integrate something like a variable "work" = true, and then the keyword should be activated and seen in Alfred Search Interface. And then I say "end_work" it will be closed to disable all keywords from that set. Without disabling the start keyword.

Is it possible to define something like this?


I can't find anything in the forum or with google. 


Edited by fschuermeye
Link to comment
  • fschuermeye changed the title to Keywords Enable/Disable
On 5/12/2021 at 3:58 PM, fschuermeye said:

Is it possible to define something like this?

There’s no option for it, no. You may be able to do it by having the commands directly edit the Workflow’s Info.plist, which would require some coding.

Link to comment
On 5/12/2021 at 4:58 PM, fschuermeye said:

Without disabling the start keyword.


You can set keywords from variables (i.e. set {var:my_keyword_variable} for its keyword).


You could then unset the variables using PlistBuddy or Alfred's own AppleScript API, which effectively disables the elements. Set the variables again to re-enable the keywords.

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