fschuermeye Posted May 12, 2021 Posted May 12, 2021 (edited) Hello, 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 May 12, 2021 by fschuermeye
vitor Posted May 14, 2021 Posted May 14, 2021 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.
deanishe Posted May 14, 2021 Posted May 14, 2021 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. fschuermeye 1
fschuermeye Posted May 14, 2021 Author Posted May 14, 2021 Thanks for the Idea. I don't think about the Variables for this Problem!
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