Outlook 2010 - 更改菜单选项卡的名称

发布于 2024-10-30 02:41:26 字数 294 浏览 4 评论 0原文

我被要求编写一个脚本来更改所有 Outlook 2010 用户功能区上的第 3 方选项卡的名称。

手动过程是转到“文件”>“选项>自定义功能区>选择右侧的“主要”选项卡并选择“重命名”。

我需要编写此过程的脚本,最好使用 vbscript。我知道我无法使用 Outlook.application 类更改功能区,但我也知道功能区本质上只是一个 XML 文件。我很乐意以编程方式更改 XML 文件。

我的问题是:

有没有更简单的方法?

如果没有,我如何找到功能区 xml 文件?

I have been asked to write a script to change the name of a 3rd party tab on all Outlook 2010 users' ribbons.

The manual process would be to go to File > Options > Customize Ribbon > Select the Main tab on the right and choose rename.

I need to script this process, preferably with vbscript. I understand that I cannot change the ribbon using the outlook.application class but I also understand the ribbon is at heart just an XML file. I'd be happy to programmatically alter the XML file.

My questions are:

Is there a simpler method?

If not, how do I find the ribbon xml file?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

止于盛夏 2024-11-06 02:41:26

终于找到了如何做到这一点 - 事实证明,当手动自定义功能区选项卡时,它会在 AppData\Local/Roaming\Microsoft\Office 中创建一个名为 xxx.officeUI 的文件,其中 xxx 可以是许多不同的文件名之一。为了自定义 Outlook 中的主功能区,它被称为 olkexplorer.officeUI。

因此,我所要做的就是找到此自定义文件并创建一个 AD 登录脚本,根据用户是否具有漫游或本地配置文件,将其复制到正确的文件夹中...

有关更多信息... 查看此页面

Finally found out how to do this - it turns out that when the ribbon tab is customised manually it creates a file in AppData\Local/Roaming\Microsoft\Office called xxx.officeUI where xxx can be one of many different filenames. For customising the main ribbon in Outlook it is called olkexplorer.officeUI.

So all I had to do was find this customisation file and create an AD log in script that copies it into the correct folder depending on whether the user has a roaming or local profile...

For more info... check this page out

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文