模拟“Skype会议”上的点击在Outlook中 [英] Simulate a click on "Skype Meeting" in Outlook

查看:115
本文介绍了模拟“Skype会议”上的点击在Outlook中的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好,

我正在尝试编写一个Outlook插件,该插件将模拟"Skype会议"中的点击次数。 Outlook 2016中的按钮 

I'm trying write an Outlook plugin that will simulate a click on "Skype Meeting" button in Outlook 2016 

我试图使用  Inspector.CommandBars.ExecuteMso(" OnUCExplorerOnActionO14");但没有运气

I was trying to use Inspector.CommandBars.ExecuteMso("OnUCExplorerOnActionO14"); but no luck

任何想法如何调用Outlook中的按钮?

Any idea how to invoke a button in Outlook ?

推荐答案

Hello Marius,

Hello Marius,

你从哪里得到传递给方法的字符串?

Where did you get the string passed to the method?


ExecuteMso
CommandBars类的方法e xecutes由  idMso  参数标识的控件。
。适用于内置按钮,toggleButtons和splitButtons的控件。 您可以在以下文档中找到内置控件列表:

The ExecuteMso method of the CommandBars class executes the control identified by the idMso parameter. . Works on controls that are built-in buttons, toggleButtons and splitButtons. You can find the list of built-in controls in the following documents:

Office 2010帮助文件:Office Fluent用户界面控件标识符

Office 2013帮助文件:Office Fluent用户界面控件标识符

Office 2016帮助文件:Office Fluent用户界面控件标识符

需要承认,并非所有idMso值都是由Microsoft发布的。

Need to admit, not all idMso values were published by Microsoft.

作为一种解决方法,您可以尝试使用
辅助功能API
 

As a workaround you may try to use Accessibility API . 


这篇关于模拟“Skype会议”上的点击在Outlook中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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