以编程方式导航 PowerPoint
我的 Mac 上运行着 PowerPoint 2008。有没有办法使用 Python、Java、C/C++ 或其他语言的某些程序来导航(如向前和向后)PowerPoint 演示文稿?
I have PowerPoint 2008 running on my Mac. Is there a way to navigate, like forward and backward, the PowerPoint presentation using some program in Python, Java, C/C++ or other language?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
是的,使用 Applescript。如果您无法直接编写 Powerpoint 脚本(使用编辑器查看其脚本库),您可以使用辅助功能框架向其发送按键。
Yes, using Applescript. If you can't script Powerpoint directly (look in its script Library using the editor) you can send keypresses to it using the accessibility framework.
AppleScript。这里有一些示例:http://www.mactech.com/articles/mactech/Vol.23/23.03/23.03AppleScriptPowerPoint/index.html" mactech.com/articles/mactech/Vol.23/23.03/23.03AppleScriptPowerPoint/index.html。遗憾的是,所有 Mac Office 2008 VBA 到 AppleScript 示例均已从 Microsoft 站点中永久删除。
AppleScript. There are some examples here: http://www.mactech.com/articles/mactech/Vol.23/23.03/23.03AppleScriptPowerPoint/index.html. Unfortunately, all of the Mac Office 2008 VBA to AppleScript samples have been removed permanently from Microsoft's site.