Category Archives: Address Book

Contacts won’t launch

Screen Shot 2014-03-04 at 21.42.46
I’ve seen this problem crop up from time to time, and it seems to have reared its head again with the 10.9.2 update *.

Try running the following script in AppleScript editor:

tell contacts to activate

If you get an error message back from the AppleScript editor mentioning error number -10661 has occurred, then you’re going to need the following procedure.

The problem stems from the launch services database being out of sync and not knowing which app to launch when it gets passed “Contacts” as input. To solve that, we’re going to do a couple of things in Terminal (roll up your sleeves!).

First up, we’re going to ensure that the locate database is loaded. We’re going to need that to find the address of the Launch Services database, so

1. Open (/Applications/Utilities/ and type

locate lsregister


You should get one of two possible results. Either you get a message telling you that the locate database doesn’t exist, and instructions on a command to run to create it:

sudo launchctl load -w /System/Library/LaunchDaemons/


or you get a path back that looks something like



In the first case, use the command suggested in the reply to create the database. The Terminal prompt will probably reappear almost instantaneously after you run that, but your database may not have finished creating yet. Wait a few minutes before running the ‘locate lsregister’ command again.

In the second case or once you’ve got your locate database loaded and working, copy the address returned to the clipboard by dragging across the whole thing to highlight it and hitting ‘command-C’ on your keyboard.

Still with Terminal active, hit ‘command-V’ to paste that address at the prompt. Hit the spacebar once, and then complete the command by adding

-kill -r -all l,s,u


So the whole thing should look something like this:

/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/LaunchServices.framework/Versions/A/Support/lsregister -kill -r -all l,s,u


Finally, hit ‘return’ to enter the command. It’ll take a few seconds to return the prompt (it’s about 10 seconds on my machine, but your mileage may vary).

After the prompt returns, go test that AppleScript again. Hopefully, Contacts fires up without issue. 🙂

*Thanks go to Yvan and Deivy on the AppleScript users list for identifying and solving this problem.

remove leather-look from iCal and Address book

It is not often that Apple have a design disaster, but frankly someone needs to hang their head in shame over the nasty leather-look skin for the new iCal and Address book.

I didn’t really use these utilities much in Leopard, so I probably wouldn’t have noticed had it not been for the fact that the new iCal has a very handy ‘Day view’ (see the first shot below), which basically means you can use it as a To-Do list or scheduler much more easily than the old one. Inputting events at a certain time is also really easy and just requires you to click on the time on the page. The only downer being that nasty “leather-look” skin:

However, thanks to this great post from MacNix, you can now change the skin back to the default Apple silver/platinum style but keep all the new features. Thanks MacNix, that’s a real eye-relief!

%d bloggers like this: