I have a simple dialog that I only want 2 answers for. When I run the script, it only accepts the first term as an answer, and treats the second possiblity like it is a wrong answer. Does anyone know the trick to make it accet both answers? Thanks, Ian
set myAnswer1 to the text returned of (display dialog "What do you want me to play now, an artist or playlist?" default answer "artist")
repeat until myAnswer1 is {"artist", "playlist"}
set myAnswer1 to the text returned of (display dialog "I only gave you the choice of an artist or playlist! What do you want?" default answer "artist")
end repeat