从 AppleScript 的列表中选择多个项目
Choosing multiple items from a list in AppleScript
我需要一个从列表中选择的对话框,它的结果显示了另一个从列表中选择的对话框和 returns 结果。我不明白为什么下面的代码没有显示第二个从列表中选择的对话框。
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
set hi to choose from list {"oh, hey", "sup", "bye"}
if hi = {"oh, hey"} then
set hey to choose from list {"how are you?", "no time for sall talk"}
end if
我需要一个从列表中选择的对话框,它的结果显示了另一个从列表中选择的对话框和 returns 结果。我不明白为什么下面的代码没有显示第二个从列表中选择的对话框。
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
set hi to choose from list {"oh, hey", "sup", "bye"}
if hi = {"oh, hey"} then
set hey to choose from list {"how are you?", "no time for sall talk"}
end if