• 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: Remove a Person from Address Book
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Remove a Person from Address Book


  • Subject: Re: Remove a Person from Address Book
  • From: Paul Berkowitz <email@hidden>
  • Date: Wed, 12 Mar 2003 10:44:27 -0800

On 3/12/03 9:47 AM, "Darwin Zins" <email@hidden> wrote:

> if found_in_z is false then
> tell me to display dialog "Removing " & a_first_name & " " &
> a_last_name
> remove aCard
> end if
> end repeat
>
> When it runs I get this error: "Address Book got an error:
> NSCannotCreateScriptCommandError"
>
> How do I tell the Address Book to delete this person?

Read the dictionary.

delete aCard


'delete' is in the Standard Suite. You're just looking in the Address Book
Suite. Always look first in the Standard Suite if you're not familiar with
it. 'remove' is just for removing people from groups, as in the UI. 'delete'
is for deleting them from the Address Book.

--
Paul Berkowitz
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.

References: 
 >Remove a Person from Address Book (From: Darwin Zins <email@hidden>)

  • Prev by Date: Re: Remove a Person from Address Book
  • Next by Date: Re: Remove a Person from Address Book
  • Previous by thread: Re: Remove a Person from Address Book
  • Next by thread: RE: tell block in a tell block (tangent)
  • Index(es):
    • Date
    • Thread