• 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
Re: choose from list defaults
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: choose from list defaults


  • Subject: Re: choose from list defaults
  • From: Michelle Steiner <email@hidden>
  • Date: Sun, 25 May 2008 18:29:23 -0700

On May 25, 2008, at 6:20 PM, Philip Aker wrote:

set choices to {"peas", "potatoes", "pumpkins", "pumpernickels", "parsnips"}
set default_items to {"p"}
choose from list choices default items default_items with multiple selections allowed

In this case, which is the correct choice for a default item set? Parsnips, peas, or every item whose first character is "p"?

There should be no default item because there is no item named "p"

But I think that he meant to type the letter "p" on the keyboard, so potato would be selected.  When I did that both potato and 5 were selected; typing "p" again selected only potato.

-- Michelle

-- 
"Growth for the sake of growth is the ideology of the cancer cell."


 _______________________________________________
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: choose from list defaults
      • From: Philip Aker <email@hidden>
References: 
 >choose from list defaults (From: Luther Fuller <email@hidden>)
 >Re: choose from list defaults (From: Michelle Steiner <email@hidden>)
 >Re: choose from list defaults (From: Robert Poland <email@hidden>)
 >Re: choose from list defaults (From: Philip Aker <email@hidden>)

  • Prev by Date: Re: choose from list defaults
  • Next by Date: Re: choose from list defaults
  • Previous by thread: Re: choose from list defaults
  • Next by thread: Re: choose from list defaults
  • Index(es):
    • Date
    • Thread