Jump to content

Clean Duplicate AppleScript Dictionaries


Recommended Posts

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

 


 

There's just one command: "clean dict"

 


 

(Now with Alleyoop support).

Edited by rice.shawn
Posted

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.

Posted

Running the command from the Terminal has the expected effect. On 10.8.3.

 

Is the language of the script usr/bin/php right?

Posted

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.

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