开发者

How to find object model of an OSX application?

Is there any reference documentation on the object model of every OSX application? How can I 开发者_Python百科know that finder has an home attribute and textedit has a document attribute? Is there a way to inspect all commands and events I can use with applescript ?


You can drop the application onto (Apple)Script Editor to view the dictionary. With appscript you can also generate HTML format documentation.


If you're already in AppleScript Editor, you can also select File>Open Dictionary (Cmd-Shift-O) to see a open an application's dictionary. Script Debugger has an additional feature where it will organize running applications near the top of a submenu for ease of selection.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜