简体   繁体   English

如何使用 Apple 脚本访问 Powerpoint(Mac 版)的对象事件?

[英]How to access Object Events of Powerpoint(Mac Version) using Apple script?

I want to add a call back function to identify the Save action in Powerpoint.我想添加一个回调函数来识别 Powerpoint 中的保存操作。 Using VBA we can execute this scenario using Application.PresentationSave Event ( https://msdn.microsoft.com/en-us/library/office/ff744230.aspx?f=255&MSPPError=-2147217396 ).使用 VBA,我们可以使用 Application.PresentationSave 事件 ( https://msdn.microsoft.com/en-us/library/office/ff744230.aspx?f=255&MSPPError=-2147217396 ) 执行这个场景。

During the research I found that Application Object events not enabled or not supported in Powerpoint mac version.在研究过程中,我发现 Powerpoint mac 版本未启用或不支持应用程序对象事件。 ( http://youpresent.co.uk/powerpoint-application-events-in-vba/ ) http://youpresent.co.uk/powerpoint-application-events-in-vba/

Is there any way to achieve this scenario using apple script.有什么办法可以使用苹果脚本来实现这个场景。

Scenario: I want to check that which slides are modified while user pressing save button in powerpoint.场景:我想检查用户在 powerpoint 中按下保存按钮时修改了哪些幻灯片。 So If I can use ApplicationSave event, I will compare modified slide with master slide when user press save button.因此,如果我可以使用 ApplicationSave 事件,当用户按下保存按钮时,我会将修改后的幻灯片与母版幻灯片进行比较。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 如何从 PowerPoint 中的 Excel 单元格访问数据(使用 VB 6.3) - How to access data from Excel cells in PowerPoint (using VB 6.3) 使用VBA在Powerpoint中复制对象? - Replicate an object in powerpoint using vba? 打开任何演示文稿后,有什么方法可以从Powerpoint进行回叫? (Powerpoint 2016-Mac版本) - Is there any way to get call back from powerpoint, when any presentation opens? (Powerpoint 2016- Mac version) PowerPoint加载项直接访问其对象 - PowerPoint Add-in directly access its object 在Vb.net中以编程方式处理PowerPoint Presenter View对象事件 - Handle PowerPoint Presenter View object Events programmatically in Vb.net 使用Excel VBA关闭Powerpoint对象(不使用Powerpoint.Application) - Close Powerpoint Object with Excel VBA (NOT using Powerpoint.Application) Powerpoint 2011 Mac报告对象'_Slide'的方法'导出'失败 - Powerpoint 2011 Mac reports Method 'Export' of object '_Slide' failed 在Powerpoint中-是否存在对象变量之类的东西,如果存在,如何将其传递到VBA脚本中? - In powerpoint- is there such thing as object variables and if so, how do I pass that into a VBA script? 使用VBA将Powerpoint信息迁移到Access数据库 - Migrating Powerpoint information to Access database using VBA 在Excel宏中使用Powerpoint Shape对象 - Using Powerpoint Shape object in Excel Macro
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM