我有一个 Applescript,它在我的 Macbook Retina 上运行良好,但在 Mac Mini 上运行失败。
两者都运行 MacOS 10.9.2。
稍微剥洋葱皮后,我可以用一行 Applescript 重现这个问题:
tell application "MidiPipe" to activate
在抛出错误的 Mini 上:
An error of type -10810 has occurred.
在 Macbook 上,MidiPipe 应用程序打开。
当从 Finder 或 Launchpad 启动时,MidiPipe 在 Mini 上正常工作。
Google 没有提供有关此错误的见解。
最佳答案
好吧,我找到了这个:http://www.thexlab.com/faqs/error-10810.html和这个:http://osxdaily.com/2010/02/09/mac-error-10810/和这个:http://forums.adobe.com/thread/1389805 .其中至少有一个表明存在 RAM 问题。
但是为了确保您尝试过所有奇怪的变体,您是否尝试过以下方法:
1)使用完整路径:
tell application "Full:Path:To:MidiPipe.app" --(probably "YourHDName:Applications:MidiPipe.app"?
2)使用实际的告诉块:
tell application "MidiPipe"--or full path
activate
end tell
3) 使用 Finder:
tell application "Finder" to open "Full:Path:To:MidiPipe.app"
4)使用 shell :
做shell脚本“打开/Applications/MidiPipe.app”
?
关于macos - Applescript 错误 -10810,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/23398435/