• 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
choose from list revisited w/Snow Leopard
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

choose from list revisited w/Snow Leopard


  • Subject: choose from list revisited w/Snow Leopard
  • From: Robert Poland <email@hidden>
  • Date: Thu, 4 Nov 2010 15:45:08 -0600

A long time ago this script (snippit) was broken by Snow Leopard.

Now, it looks like there might be hope.

My only issue now is that, when run, If i don't like the selection I would like to change it.

If I select a 1, for instance, then try to select a 3 I must wait for a few seconds before it will take.

Any thoughts?

--Script
set colorchoice to 1
set theColorList to {"0-none", "1-orange", "2-red", "3-yellow", "4-blue", "5-purple", "6-green", "7-gray"}

set theDefaultChoice to text item colorchoice of theColorList

set theChoice to choose from list theColorList default items theDefaultChoice with title "Color Selection" with prompt ("Option key down to select entire folder.")

if theChoice is false then
 -- User canceled
return
end if
-- end Script

Robert Poland - Fort Collins, CO



 _______________________________________________
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 revisited w/Snow Leopard
      • From: Michelle Steiner <email@hidden>
    • Re: choose from list revisited w/Snow Leopard
      • From: Stan Cleveland <email@hidden>
  • Prev by Date: Re: Invisible Unix "Icon" File
  • Next by Date: Re: Invisible Unix "Icon" File
  • Previous by thread: Re: Invisible Unix "Icon" File
  • Next by thread: Re: choose from list revisited w/Snow Leopard
  • Index(es):
    • Date
    • Thread