【发布时间】:2018-03-15 06:23:42
【问题描述】:
Applescript 的“从列表中选择”用户交互有一个“取消”按钮——我希望这个“取消”告诉脚本立即停止执行。换句话说:
set wmColor to choose from list {"Black", "Black for all", "White",
"White for all"} with prompt "What color should the watermark be?"
default items "White for all" without multiple selections allowed and
empty selection allowed
if wmColor is false
*tell script to stop executing*
end if
似乎找不到怎么做——有人知道怎么做吗?
【问题讨论】:
标签: applescript