Scripts for Contacts that always have worked well suddenly stopped working (I think after update to Mac OS X 10.8.5).
Contacts will not even launch:
tell application "Contacts"
launch
end tell
--> "An error of type -10661 has occurred"
??
Same error message if I simply try: path to application "Contacts"
Restarting the machine does not help.
Launching any other app from the script works fine, as usual.
Launching Contacts manually (double clicking it) works fine, and it behaves normally in every respect.
And after such a manual launch, I can do: path to application "Contacts"
How do I solve this?
I really need the script to launch the app.