dfay Posted May 21, 2014 Share Posted May 21, 2014 (edited) I am working on a workflow that lists all installed hotkeys by parsing the .plists for installed workflows. It can be found here: http://www.alfredforum.com/topic/4384-workflow-picker/?p=26471 and the specific file that's causing me problems is list_hotkeys.py . Everything worked fine until I installed a new version of one of my other workflows (Case Hotkeys) -- it would show all the installed hotkeys as expected. After updating the other workflow, its hotkeys no longer appear. And if I run the script from the terminal, they do not appear in the output. There are no error messages in the Alfred debugger, and all the other hotkeys still appear, just not the ones from the newly updated workflow. But if I go into the python interpreter and manually execute the code, it will read the .plist in question correctly, and I can see that all the properties that should lead it to be included are there. So I am puzzled. Just to double-check, I installed the latest version of the Mavericks Tags workflow ( http://www.alfredforum.com/topic/3383-mavericks-tags-file-and-email-tagging-with-alfred-2-updated-to-v14/ ), which used to appear, and now my script can't find the hotkeys for that workflow either. Any suggestions? Edited May 21, 2014 by dfay Link to comment
jdfwarrior Posted May 21, 2014 Share Posted May 21, 2014 I am working on a workflow that lists all installed hotkeys by parsing the .plists for installed workflows. It can be found here: http://www.alfredforum.com/topic/4384-workflow-picker/?p=26471 and the specific file that's causing me problems is list_hotkeys.py . Everything worked fine until I installed a new version of one of my other workflows (Case Hotkeys) -- it would show all the installed hotkeys as expected. After updating the other workflow, its hotkeys no longer appear. And if I run the script from the terminal, they do not appear in the output. There are no error messages in the Alfred debugger, and all the other hotkeys still appear, just not the ones from the newly updated workflow. But if I go into the python interpreter and manually execute the code, it will read the .plist in question correctly, and I can see that all the properties that should lead it to be included are there. So I am puzzled. Just to double-check, I installed the latest version of the Mavericks Tags workflow ( http://www.alfredforum.com/topic/3383-mavericks-tags-file-and-email-tagging-with-alfred-2-updated-to-v14/ ), which used to appear, and now my script can't find the hotkeys for that workflow either. Any suggestions? I'm not sure on this one but as a place to start I would suggest looking at the plist for one that is known to work and then create a new blank workflow, add a hotkey, and check it to make sure that hotkey configuration is stored the same. I would think it is but.. with the recent changes to add scoped hotkeys, I'm not sure it they are or not. I can also ask Andrew if you'd like but, you could probably just find that out a lot quicker and easier. Link to comment
dfay Posted May 21, 2014 Author Share Posted May 21, 2014 Yeah, you're right, something must have changed in the hotkey config .plist b/c I've discovered that in fact no newly-added workflows with hotkeys appear....I shouldn't have based my code off of a year-old workflow....now to figure it out. Link to comment
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