Economy-x-Talk - Sample Scripts
Choose from List AS
This AppleScript shows a dialog with a list and lets you choose an item from that list.
A problem (in AS 1.8.3) is that the list window gets larger accordingly the number of items in the list. The scroll bar does not work.
on run()
set choices to {"one", "two", "three", "four", "five"} & ¬
{"six", "seven", "eight", "nine", "ten"} & ¬
{"eleven", "twelve", "thirteen", "fourteen", "fifteen"} & ¬
{"sixteen", "seventeen", "eighteen", "nineteen", "twenty"} as list
set thistest to (choose from list choices default items (item 1 of choices) ¬
OK button name "Process" cancel button name ¬
"Quit" without multiple selections allowed) as text
end run
Keep this extensive resource of tutorials and samples on-line! Support RunRev.info!
| Yes, this script is useful. I make a donation and choose freely how much I want to donate on-line (PayPal). Click here if you want to make a donation in dollars. | This script has not (completely) solved my problem and I want Economy-x-Talk to take care of it. Let me contact you. |
Copyright©2002-2008 by Mark Schonewille, Nijmegen, the Netherlands. This web site is in no way affiliated with Runtime Revolution Ltd., but we do recommend the Revolution development platform.