摘要:
用cmd命令需加在命令后加.exe run Netsh.exe Wlan Connect Name = CMCC,, HideSpecify panel page(escape commas): run, control.exe inetcpl.cpl`,`,4 OR run, rundll32.exe shell32.dll`,Control_RunDLL inetcpl.cpl`,`,4打开程序后激活一定要用WinWait,因为run之后会直接运行后面的命令,此时检测不到PID,若Sleep几秒效果也一样。Run, notepad, , , NewPIDWinWait, ahk_p... 阅读全文
摘要:
Ⅰ:Just put this script to your Standard Library and put this function at the top of the script, as simple as that.RunAsAdmin()Download : RunAsAdmin.ahkⅡ:To run for any scripts, compiled or not, with params use this code instead..Loop, %0% ; For each parameter: { param := %A_Index% ; Fetch the ... 阅读全文