Address Book BUGS
Address Book BUGS
- Subject: Address Book BUGS
- From: Paul Berkowitz <email@hidden>
- Date: Wed, 29 Jan 2003 09:56:13 -0800
There are still bugs in Address Book scripting, even though much was fixed
in OS 10.2.2.
1) It appears that birth date, when set by AppleScript, is set as Universal
time, not local time. So even if you
set theDate to date "Friday, January 1, 1971 12:00:00 AM" -- "1/1/1971"
tell application "Address Book"
set birth date of thePerson to theDate
save addressbook
set getBirthdate to birth date of thePerson
end tell
--> date "Friday, January 1, 1971 8:00:00 AM" -- PST
Big deal, you might say. It still displays as Fri, Jan 1, 1071.
But NOT anywhere east of Calais. In places in Australia, for example that
will be
--> date "Thursday, December 31, 1970 1:00:00 PM" -- US style
and will display as
Thursday, 31 December, 1970
Not good for remembering birthdays.
2) You still can't delete any of the Instant Messenger fields (AIM Handle,
MSN Handle, etc.). If you set the value to "", it becomes uneditable in the
UI, which is terrible. The rather awful workaround is to set the value to
" " which is not good.
3) You also can't make a new AIM Handle (or other IM handle) if there
already is one. You can reset the value of any existing handle, but you
can't make a second or subsequent one.
--
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.