AppleScript的通用应用软件 [英] Applescript Universal application

查看:129
本文介绍了AppleScript的通用应用软件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有没有为我创造一个AppleScript作为运行的应用程序只将在10.5以上的工作方式?

Is there a way for me to create an Applescript as a run only application that would work on 10.5 and above?

我运行的狮子。每当我我的脚本保存为一个运行应用程序只有它不与10.5工作,并给了我一个不与这个体系工作的错误。

I am running Lion. Whenever I save my script as a run only application it does not work with 10.5 and gives me a "does not work with this architecture" error.

奇怪的是,我曾经救了它,并成功地启动它的10.5机器上,但是当我去编辑,并重新保存它没有工作了。

The weird thing is that I saved it once and successfully launched it on the 10.5 machine but when I went to edit it and re-save it did not work anymore.

THX

推荐答案

您不能和苹果公司的文档不清晰。我的经验,根据大量的试验和错误的,一直是保存一个AppleScript时,作为一个应用程序,它必须被保存在目标环境中,就好像你在编译的X $ C $时,针对特定的操作系统C。在过去,我不得不作出独立的应用程序为10.6和10.7,以及PowerPC和Intel完全相同的code内。

You can't and Apple's documentation isn't clear. My experience, based on a lot of trial and error, has been that when saving an Applescript as an application, that it has to be saved in the target environment, just as though you were targeting a specific OS when compiling for Xcode. In the past, I have had to make separate apps for 10.6 and 10.7 as well as PowerPC and Intel with the exact same code inside.

这篇关于AppleScript的通用应用软件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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