rice.shawn Posted March 28, 2013 Posted March 28, 2013 (edited) In another thread (http://www.alfredforum.com/topic/792-alfred-applescript-dictionary-installed-multiple-times/), a solution was posted for a problem in which AppleScript dictionaries would have multiple entries. These duplicates don't have any effect on your system, and removing them doesn't either. Here you go: https://github.com/shawnrice/alfred2-workflow-remove-dup-applescript-dicts/raw/master/Clean%20AS%20Dictionaries.alfredworkflow There's just one command: "clean dict" Github repo: https://github.com/shawnrice/alfred2-workflow-remove-dup-applescript-dicts (Now with Alleyoop support). Edited March 30, 2013 by rice.shawn Enhorn, bencfd and mklement0 3
bencfd Posted March 28, 2013 Posted March 28, 2013 This is a great idea, I'm looking for that since months! However, duplicates are still here...
rice.shawn Posted March 29, 2013 Author Posted March 29, 2013 The command that I used was here: /System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Support/lsregister -kill -r -domain local -domain system -domain user & Try that in terminal, and see if it works for you. (http://www.alfredforum.com/topic/792-alfred-applescript-dictionary-installed-multiple-times/) I'm using 10.8.2, so the command might be different between different different versions os OS X.
bencfd Posted March 29, 2013 Posted March 29, 2013 Running the command from the Terminal has the expected effect. On 10.8.3. Is the language of the script usr/bin/php right?
rice.shawn Posted March 30, 2013 Author Posted March 30, 2013 The script included is in php, but it just has a shell_exec() call with the command inside of it. I just pushed a new version of the workflow that changed the escaping, which might make it work better for people. Also, I added alleyoop update functionality to it. So, it can now be self-updating (although I don't think this will ever need an update). I can't really test it again because I need to wait until some program updates itself again in order to get that duplicate entry to test. Maybe when we get the next Alfred2 update I'll test it again.
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