将一个特定的应用程序接受AppleScript的是什么? [英] What applescript will a particular application accept?

查看:205
本文介绍了将一个特定的应用程序接受AppleScript的是什么?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我看到了很多,可以像这样回应的AppleScript消息的应用程序。

I see a lot of applications that can respond to applescript messages such as this one.

tell application "Safari"
    return URL of front document as string
end tell

我如何可以查询应用程序,找出什么命令会接受吗?是否有一个工具,这样做?

How can I query an application to find out what commands it will accept? Is there a tool for doing so?

推荐答案

在AppleScript的编辑器,做开放词典中,选择您感兴趣的应用程序,你会得到一个不错的浏览器,显示命令和它们的文档(如开发商纷纷选择提供任何)。

In AppleScript Editor, do "Open Dictionary", select the application you are interested in, and you get a nice browser that shows the commands and their documentation (if the developers have chosen to provide any).

这篇关于将一个特定的应用程序接受AppleScript的是什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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