Applescript错误-1700
我按compile进行预测试,结果如下: Applescript错误 无法将{按钮返回:“否”}转换为布尔类型。尝试:Applescript错误-1700,applescript,Applescript,我按compile进行预测试,结果如下: Applescript错误 无法将{按钮返回:“否”}转换为布尔类型。尝试: display dialog "Play game?" buttons {"Yes", "No"} with title "Play?" if {button returned:"No"} end if AppleScript到底是什么?看起来像VisualBasic+Bash。 set buttonChoice to (display dialog "Play game?"
display dialog "Play game?" buttons {"Yes", "No"} with title "Play?"
if {button returned:"No"}
end if
AppleScript到底是什么?看起来像VisualBasic+Bash。
set buttonChoice to (display dialog "Play game?" buttons {"Yes", "No"} with title "Play?")
if button returned of buttonChoice = "No" then
return "no"
end if