Jump to content
rice.shawn

Clean Duplicate AppleScript Dictionaries

Recommended Posts

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

Share this post


Link to post

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.

Share this post


Link to post

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.

Share this post


Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...