mardi 30 octobre 2018

applescript multiple choose from list

I need a choose from list dialog, whose result shows me another choose from list dialog and returns the result. I cannot figure out why the code below does not show the second choose from list dialog.

            set hi to choose from list {"oh, hey", "sup", "bye"}
            if hi = item 1 then
                set hey to choose from list {"how are you?", "no time for sall talk"}
            end if

Aucun commentaire:

Enregistrer un commentaire