Programming the address book
Programming the address book
- Subject: Programming the address book
- From: Michelle Steiner <email@hidden>
- Date: Sun, 26 Oct 2003 14:47:13 -0700
The "name" property is read only; you have to parse first name, last
name, middle name (if any), and suffix (if any). In mail.app, "sender"
is plain text. This means you can not simply plug in the name of a
sender into a new person in the address book, but have to parse the
sender text.
This is easy if there's only one or two parts to the name, but what
about a three-element name? is it first, middle, last, or is it first,
last, suffix? (I'm ignoring for the moment senders such as "Doe, John
H."
I can parse this stuff, making certain assumptions, but isn't there an
easier way? If not, shouldn't there be?
Do the Address Book and Mail.app scripting implementors talk to each
other?
--Michelle
--
Discordians don't pray: it is far too dangerous.
_______________________________________________
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.