is there a AppleScript command like switch in C# or select case in Visual Basic?
No. The usual approach is to use a cascade of ifs
if cond1 then
inst1
else if cond2 then
inst2
else if cond3 then
inst3
else
inst4
end if
ok
thank you anyway!