https://wapiknow.baidu.com/question/547051459.html?entrytime=1545104073339
SetTitleMatchMode 2 dir=c:\WINDOWS run,cmd WinWait, ahk_class ConsoleWindowClass, IfWinNotActive, ahk_class ConsoleWindowClass, , WinActivate, ahk_class ConsoleWindowClass, WinWaitActive, ahk_class ConsoleWindowClass, ControlSend, , cd /d %dir% {Enter}, cmd.exe ; 直接发送到命令提示符窗口.要配合SetTitleMatchMode RegEx或SetTitleMatchMode 2
没有评论:
发表评论