有没有办法用 C# 修改 MS Office 选项?
我还可以使用 powershell、注册表或 c# 有权访问的任何其他内容,但目标是修改 MS Office 的设置。具体来说,这些:
https://www.howtogeek.com/155803/how-to-change-the-default-paste-setting-in-microsoft-word-2013/
解决方法很棒,这意味着我必须记住在我使用的每台计算机上执行此操作,而不是运行一个干净的程序来同时调整此设置和我的其他设置(我正在编写一个工具来撤消烦人的系统默认设置) 。
一组合理的默认值可能如下所示:
最重要的是,切勿粘贴格式,除非它来自和到同一文档。
我目前正在 Visual Studio 中使用带有 MS Office 扩展的 WPF 项目(或者首次安装它并包含 Office 内容时的任何名称)
I can additionally use powershell, the registry, or anything else that c# has access to, but the goal is to modify settings for MS Office. Specifically, these ones:
https://www.howtogeek.com/155803/how-to-change-the-default-paste-setting-in-microsoft-word-2013/
While having a work-around is great, that means I have to remember to do this on every computer I use instead of running a clean program that adjust this along with my other settings all at once (I'm writing a tool to undo annoying system defaults).
A reasonable set of defaults would probably look like this:
Bottom line, NEVER paste with formatting unless it's from and to the same document.
I'm currently using a WPF project in Visual Studio with MS Office extensions (or whatever it's called when you first install it and include the office stuff)
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论