• 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
Addressbook: delete custom date
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Addressbook: delete custom date


  • Subject: Addressbook: delete custom date
  • From: Timothy Bates <email@hidden>
  • Date: Wed, 14 Nov 2007 11:16:46 +0000

Does anyone know of a work around for this bug (can't delete  custom dates)

tell application "Address Book"
--ensure you have a person selected, and that they have a custom date entry
set thePeople to item 1 of the selection
set o to custom dates of currentPerson
repeat with a in o
return properties of a --shows the properties of the date we wish to delete
delete a --comment out the above line to reveal the bug: you can't delete the custom date.
(*
--
this is my application: the address book has dozens of contacts with 4-6 custom dates with the year seat to "02" thanks to an interaction with iSync
if year of (get value of a) < 1900 then
delete a
end if
*)
end repeat
end tell

 _______________________________________________
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

  • Follow-Ups:
    • Re: Addressbook: delete custom date
      • From: Paul Scott <email@hidden>
    • Re: Addressbook: delete custom date
      • From: Paul Scott <email@hidden>
  • Prev by Date: Removing focus from a text frame in AppleWorks
  • Next by Date: Re: Addressbook: delete custom date
  • Previous by thread: Removing focus from a text frame in AppleWorks
  • Next by thread: Re: Addressbook: delete custom date
  • Index(es):
    • Date
    • Thread