2015-01-20 43 views
0

从Windows XP到Windows 7,您可以使用命令行更改当前的设置:(How do I change the current Windows theme programmatically?)。但在Windows 8.1(和我想的Windows 8)中,它不起作用。如何在Windows 8.1中以编程方式更改当前的Windows主题?

我能做到的唯一方法就是用WinaeroThemeSwitcher(http://winaero.com/comment.php?comment.news.209)。

如何从本地命令或C#执行此操作? WinaeroThemeSwitcher证明这是可能的。

+1

使用JustDecompile,ILSpy或其他工具来看看他是如何与他的工具 – magicandre1981 2015-01-21 06:10:01

+0

为什么downvotes做呢? – cricardol 2015-01-22 16:46:21

+0

不知道。我投票给你,因为这是一个合法的问题 – magicandre1981 2015-01-22 16:47:43

回答

0

我终于找到了。使用ILSpy(很少更正)帮助了很多。谢谢magicandre1981。

我还发现了一个实行网上之后使用COM对象的GUID(类ThemeManagerHelpClass):

https://github.com/opkorz/CS199_Thesis/blob/master/Implementation1/CL_Utility2.ps1

+0

请帮助我。我使用JustDecompile和ILSpy来反编译它,并做了一些更正,但它不起作用! 你能告诉我反编译后应该编辑哪一个? 在此先感谢! – Wahyu 2017-12-18 01:50:05

相关问题