0

我没有在 AHK 中编写太多脚本(主要是“sendinput”的东西),所以任何帮助将不胜感激:D

因此,脚本或 .bat 文件需要:

  • 更改为特定的电源计划
  • 禁用 Windows Aero
  • 禁用桌面图标
  • 退出本身

再次感谢你 :)

4

1 回答 1

1

这应该使您走上正确的轨道。

; Disable Aero
RunWait, %comspec% /c "net stop uxsms",, Hide

; Run powercfg.exe -list in command line to get the correct guid
RunWait, %comspec% /c "powercfg.exe /setactive 8c5e7fda-e8bf-4a96-9a85-a6e23a8c635c",, Hide

; Hide icons (might require log off/in)
RegWrite, REG_DWORD, HKEY_CURRENT_USER, Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced, HideIcons, 1

ExitApp
于 2013-02-25T21:14:15.277 回答