我写了一个不支持脚本的Mac应用程序,我想用Applescript运行它。以下任一脚本都会收到“发生10660型错误。”。经过几个小时的搜索,我还没有找到解决方案或错误的解释。Applescript无法打开应用程序
if exists application "RotorDCU" then
display dialog "Found." buttons {"OK"}
else
display dialog "Not found." buttons {"OK"}
end if
tell application "RotorDCU"
activate
end tell
“xcode”标签是关于IDE本身的问题,而不是任何与Mac相关的编程问题。 – 2013-02-17 18:34:45