• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag
 

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: problem with "Contacts"
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: problem with "Contacts"


  • Subject: Re: problem with "Contacts"
  • From: Christopher Stone <email@hidden>
  • Date: Wed, 26 Feb 2014 14:12:28 -0600

On Feb 26, 2014, at 11:53, koenig.yvan <email@hidden> wrote:
When I run this huge script :

activate application "Contacts"

I get this message :

error "Une erreur de type -10661 est survenue." number -10661 from application "Contacts"
______________________________________________________________________

Hey Yvan,

Hmm...  I used the combo-updater, and I get this result as well.

Okay.  I've got it working, but I went through some rigamarole.

I duplicated the Contacts app to another directory, deleted the original, and copied the new one back.

Didn't fix it.

This compiled as is:

tell application "com.apple.AddressBook"
activate
end tell

But when run it balked and asked me where the app was.  I selected it in the app-picker, the ID compiled to "Contacts", and the script worked.

I then ran this, and it worked.

tell application id "com.apple.AddressBook"
activate
end tell

Now this works:

tell application "Contacts"
activate
end tell

Something was glitchy, but it's working now.

I've seen this business before at least once - maybe twice - with Contacts.

--
Best Regards,
Chris


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden

References: 
 >problem with "Contacts" (From: "koenig.yvan" <email@hidden>)

  • Prev by Date: Re: File URL to Alias?
  • Next by Date: Re: problem with "Contacts"
  • Previous by thread: Re: problem with "Contacts"
  • Next by thread: Re: problem with "Contacts"
  • Index(es):
    • Date
    • Thread