Another address book question
Another address book question
- Subject: Another address book question
- From: Michelle Steiner <email@hidden>
- Date: Tue, 17 Feb 2004 14:51:46 -0700
Why doesn't this work?
tell application "Address Book"
set this_person to person "Michelle Steiner"
set persons_email to email of this_person
email of items of persons_email whose label is "home" --this line
fails
end tell
"Can't get email of {email 1 of person id
\"8C984718-C1E9-11D6-826B-000A27835F42:ABPerson\" of application
\"Address Book\", email 2 of person id
\"8C984718-C1E9-11D6-826B-000A27835F42:ABPerson\" of application
\"Address Book\"}."
The dictionary says "email: by numeric index, before/after another
element, as a range of elements, satisfying a test, by ID" (I inserted
the colon for clarity.)
So, why doesn't it satisfy the test?
-- Michelle
--
Chastity always takes its toll. In some it produces pimples; in others,
sex laws. -- Karl Kraus
_______________________________________________
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.