登录凯特网-QQ技巧|实用软件|技术交流|软件源码|安卓软件!更精彩
任务计划修改win10明亮暗黑主题模式
综合技术 © 文章版权由 admin 解释,禁止匿名转载
评论数
0
浏览数
174
收藏数
创建ps脚本晚18-早7_使用暗色主题.ps1#建议保存编码为:bom头 + utf8#晚7点到早7点 暗黑其他时间 light就行${script:现在} = Get-Dateif ( (${script:现在}.Hour -ge 19) -or (${script:现在}.Hour -le 7) ){#晚间#(Dark)Set-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Themes\Personalize -Name SystemUsesLightTheme -Value 0 -Type Dword -ForceSet-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Themes\Personalize -Name AppsUseLightTheme -Value 0 -Type Dword -Force}else{#白天#(Light)Set-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Themes\Personalize -Name SystemUsesLightTheme -Value 1 -Type Dword -ForceSet-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Themes\Personalize -Name AppsUseLightTheme -Value 1 -Type Dword -Force}创建任务计划
成为第一个回答人
主题
7
帖子
66
关注者
2022-5-26
2022-4-9
2022-1-19
2021-11-28
2021-11-23
Runtime:0.5886s Mem:2040Kb