設(shè)置好后可以讓啟動(dòng)游戲的時(shí)候同步自動(dòng)啟動(dòng)afterburner等等顯示內(nèi)存占用清蚀、FPS的軟件爹谭,結(jié)束后自動(dòng)關(guān)閉該軟件。
以同步啟動(dòng)MSIAfterbunrer為例东揣。
全局:
1.左上角圖標(biāo)-設(shè)置腹泌,選擇腳本,腳本運(yùn)行時(shí)選擇powershell芥吟。
2.啟動(dòng)游戲前執(zhí)行腳本:
Start-Process "G:\Application\MSI Afterburner\MSIAfterburner.exe"
3.退出游戲后執(zhí)行腳本:
wmic process where "name='MSIAfterburner.exe'" delete
wmic process where "name='RTSS.exe'" delete
wmic process where "name='EncoderServer.exe'" delete
wmic process where "name='RTSSHooksLoader64.exe'" delete
結(jié)束進(jìn)程只能用wmic語(yǔ)句钟鸵,其他語(yǔ)句(包括bat的Kill均沒(méi)有權(quán)限執(zhí)行)