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

AddressBook modification date | custom date


  • Subject: AddressBook modification date | custom date
  • From: "Yvon Thoraval" <email@hidden>
  • Date: Tue, 18 Dec 2007 13:29:38 +0100

Hey all,

i'm writing a synchronization app between a SQLite database from a mobile phone and Address Book.

if i understand well AddressBook the modification date is read only because whn i want to change it i get an "NSInternalError".

then a workaround would be using "custom date" as a synchronization date and i've tried :

tell application "Address Book"

set thePeople to every person whose last name = "Libelulle"

if (count of thePeople) = 1 then

set thePerson to first item of thePeople

set custom date of thePerson to current date

set cDate to custom date of thePerson

end if

end tell



where i get back {} and not current date. The "{}" seems to indicate "custom date" is a list ???


then, how to set a custom date ?

yvon
 _______________________________________________
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: Smile Questions (Was: Bundle Content drawer - what's it good for?)
  • Next by Date: Re: Bundle Content drawer - what's it good for?
  • Previous by thread: Re: Smile Questions (Was: Bundle Content drawer - what's it good for?)
  • Next by thread: FW: [sd-talk] SD4 returning incorrect results
  • Index(es):
    • Date
    • Thread