在 AppleScript 中访问文本框(在 Keynote 幻灯片中)
需要一些帮助来弄清楚如何使用 Applescript 访问 Keynote 幻灯片中的文本框。我尝试使用 ASDictionary 但找不到任何类似于文本框对象的内容。我担心它们无法在 Keynote 中编写脚本,但也许我可以通过 Applescript Cocoa 桥访问它们?有什么想法吗?谢谢!
Need some help to figure out how to access Text Boxes inside a slide in Keynote with Applescript. I tried to use ASDictionary but I couldn't find anything that would resemble a text box object. I fear that they are not scriptable in Keynote, but perhaps I can access them through Applescript Cocoa bridge? Any thoughts? Thanks!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
如果(且仅当)Keynote 不提供通过 AppleScript 对幻灯片上的对象进行访问时,您应该执行以下两件事:
据我所知,Keynote 的 XML 文档格式没有文档记录,但至少您可以访问它。您只需要小心您下方的格式变化即可。
If (and only if) Keynote doesn't provide access to objects on a slide via AppleScript, then you should do two things:
Keynote's XML document format is not documented, as far as I know, but at least you can access it. You just have to be careful about the format changing out from under you.