How do you use 'choose from list'?

I want to be able to bring up a dialog where I can choose an item from a list. How do I do it?


Here’s a simple example…

choose from list {"1", "2", "3", "4"}

set myChoice to choose from list {"hello", "goodbye", "whatever"}

display dialog myChoice

Thank you both. I got it to work just fine in what I needed it for. I had never used it before in anything.