address book problem...
address book problem...
- Subject: address book problem...
- From: Vince Angeloni <email@hidden>
- Date: Sat, 17 May 2008 15:02:16 -0500
Hi,
Is this a bug?
This script works:
tell application "Address Book"
set mylist to the name of every person whose first name contains "Dave"
end tell
set the_choice to choose from list mylist
But putting the "choose from list" call inside the tell block causes
Address Book to activate, come to front and the script keeps running
without any dialog coming up. The menubar in Address Book is disabled,
and you must force quit Address Book;
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
vince
G5 Quad
Leopard 10.5.2
_______________________________________________
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