• 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: can't delete custom dates in Address Book
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: can't delete custom dates in Address Book


  • Subject: Re: can't delete custom dates in Address Book
  • From: Rob Lewis <email@hidden>
  • Date: Wed, 7 Nov 2007 14:38:30 -0800

My bug report on this is #5512384. When I run my test program I get "Address Book got an error: NSInternalScriptError". 

At least it's nice to know I'm not the only one with the problem. 

On Nov 7, 2007, at 12:03 PM, email@hidden wrote:

hmm. seems the case. I added a bugreport (5584812)


The user can create custom dates in contacts in Addressbook using  

applescript, but they cannot delete them


tell application "Address Book"

-- 1 make a custom date to play with

make new custom date at end of custom dates of person 1 with  

properties {label:"blind date", value:current date}

save addressbook

--2 check that it is there

tell person 1 to return properties of every custom date

end tell



tell application "Address Book"

--3 THE BUG try and delete it

delete (every custom date whose label is "anniversary") of person 1

--fails

delete custom date 1 of person 1

--also fails

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

  • Prev by Date: Re: Applescript and Bluetooth
  • Next by Date: Re: Applescript and Bluetooth
  • Previous by thread: Re: Grammar and spelling checker
  • Next by thread: ANN: MetaData.osax 1.0.7 update for Mac OS X 10.5
  • Index(es):
    • Date
    • Thread