|
本帖最后由 9zhmke 于 2025-10-7 21:38 编辑
官方宣布过取消自动安装参数,我以前也写过一个自动装火绒的au3程序,如果要再简单,可以下接用VBS,核心代码敲个回车就可以了:- file=my_dir & ProcessName
- if not objFSO.FileExists(file) then msgbox "没找到:" & file:Wscript.Quit
- if is_Process(ProcessName)=1 then Close_Process(ProcessName)
- WshShell.Run file,1
- while CPU_busy >4 or Hard_busy >4096: wscript.sleep 200:Wend '忙则等
- wscript.Sleep 3000
- WshShell.SendKeys "{Enter}"'“下一步”
- Wscript.Quit
复制代码 |
|