No answer as to why it doesn’t work for you but this script works fine on
my OS 9.1/AppleScript 1.6 setup. I wonder if your version of AppleScript
might be the problem.
Does it make any difference if you use this for the last line? It works both
ways for me.
set kindOf to choices's item (radioDialog's item 3)
it occurs to me that radioDialog’s item 3 does not exist, as the firs is the size, and the second a list of contents. dot no third item. on top of that, from this nonexistent item, you seem to expect a positive int in type, because its an argument to item from the choices: ---------- set choices to {“ch01”, “ch02”, “ch03”, “ch04”} from this item, that clearly is of type string, you are trying to get the value of the text-property? i’d say: set kindOf to contents of item 3 of item 2 of radioDialog --from here, kindOf is a simple string, so: display dialog kinfOf
try it out, i can’t test it right now
take care, karl