Applescript 错误 -10810 [英] Applescript Error -10810

查看:17
本文介绍了Applescript 错误 -10810的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个 Applescript,它在我的 Macbook Retina 上运行良好,但在 Mac Mini 上运行失败.

I have an Applescript that runs fine on my Macbook Retina but fails on a Mac Mini.

两者都运行 MacOS 10.9.2.

Both are running MacOS 10.9.2.

稍微剥洋葱皮后,我可以用一行 Applescript 重现这个问题:

After peeling the onion a bit I'm able to reproduce the problem with a one-line Applescript:

tell application "MidiPipe" to activate

在抛出错误的 Mini 上:

On the Mini that throws the error:

An error of type -10810 has occurred.

在 Macbook 上,MidiPipe 应用程序打开.

On the Macbook the MidiPipe application opens.

当从 Finder 或 Launchpad 启动时,MidiPipe 在 Mini 上正常工作.

MidiPipe works normally on the Mini when started from the Finder or from Launchpad.

Google 没有提供有关此错误的信息.

Google provides no insight into this error.

推荐答案

嗯,我发现了这个:http://www.thexlab.com/faqs/error-10810.html 和这个:http://osxdaily.com/2010/02/09/mac-error-10810/ 和这个:http://forums.adobe.com/thread/1389805.其中至少有一项表明存在 RAM 问题.

Well, I found this: http://www.thexlab.com/faqs/error-10810.html and this: http://osxdaily.com/2010/02/09/mac-error-10810/ and this: http://forums.adobe.com/thread/1389805 . At least one of these suggests a RAM problem.

但为了确保您尝试过所有奇怪的变体,您是否尝试过以下方法:

But just to make sure you've tried every weird variation, have you tried the following:

1) 使用完整路径:

tell application "Full:Path:To:MidiPipe.app" --(probably "YourHDName:Applications:MidiPipe.app"?

2) 使用实际的 tell 块:

2) using an actual tell block:

tell application "MidiPipe"--or full path
 activate
end tell

3) 使用 Finder:

3) using the Finder:

tell application "Finder" to open "Full:Path:To:MidiPipe.app"

4) 使用外壳:做shell脚本打开/Applications/MidiPipe.app"

4) using shell: do shell script "open /Applications/MidiPipe.app"

?

这篇关于Applescript 错误 -10810的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆