如何以编程方式显示或隐藏Outlook信封图标? [英] How do I programmatically show or hide the Outlook envelope icon?
问题描述
例如,如何从Outlook规则显示或隐藏Outlook信封图标?
For example, how do I show or hide the Outlook envelope icon from an Outlook Rule?
通过以下步骤设置信封图标选项:
The envelope icon option is set by going to:
- 工具->选项...
- 电子邮件选项
- 高级电子邮件选项
- 在通知区域显示信封图标
之所以我以编程方式说是因为没有标准的规则"操作适用. (清除消息标记"操作似乎无效.此外,也没有设置消息标记"操作.)
The reason why I say programmatically is because none of the standard Rule actions apply. (The "Clear the message flag" action doesn't seem to work. Also, there's no "Set the message flag" action.)
这意味着解决方案可能采用VBA脚本,加载项或自定义操作的形式.作为最后的选择,我将编写自己的任务栏通知.
This means that the solution will probably be in the form of a VBA script, Add-in or custom action. As a last resort, I'll write my own task bar notification.
在文档中,我找到了IMsoEnvelope,但这仅用于从其他Office应用程序发送电子邮件.
In the documentation, I found IMsoEnvelope, but that is only for sending email from other Office applications.
推荐答案
操作是清除邮件标志"
The action is "Clear the message flag"
这篇关于如何以编程方式显示或隐藏Outlook信封图标?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!