Re: address book problem...
Re: address book problem...
- Subject: Re: address book problem...
- From: Michelle Steiner <email@hidden>
- Date: Sat, 17 May 2008 14:32:34 -0700
On May 17, 2008, at 1:02 PM, Vince Angeloni wrote:
Bad script:
tell application "Address Book"
set mylist to the name of every person whose first name contains
"Dave"
set the_choice to choose from list mylist
end tell
Works for me. iMac Core 2 Duo, 10.5.2. I had to change the name,
though; I don't have anyone named "Dave" in my AB.
This also works for me:
tell application "Address Book"
set the_choice to choose from list (get the name of every person
whose first name contains "mike")
end tell
I didn't even have to tell anything to activate. Were you running it
from Script Editor?
-- Michelle
--
Don't anthropomorphize computers. They hate that.
_______________________________________________
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