• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
address book problem...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
  • Follow-Ups:
    • Re: address book problem...
      • From: Christopher Nebel <email@hidden>
    • Re: address book problem...
      • From: Fabrizio Costantini <email@hidden>
    • Re: address book problem...
      • From: Michelle Steiner <email@hidden>
    • Re: address book problem...
      • From: Joe <email@hidden>
  • Prev by Date: Re: Re: Running a script library from within Filemaker Pro 6
  • Next by Date: Re: When is a disk image file encrypted?
  • Previous by thread: Re: Running a script library from within Filemaker Pro 6
  • Next by thread: Re: address book problem...
  • Index(es):
    • Date
    • Thread