#c:: ;win+c 键 在任意 位置启动命令行
WinGetClass, a_class, a
if (a_class = "CabinetWClass") {
ControlGetText, thispath, Edit1, ahk_class CabinetWClass
if (thispath = "桌面")
Run, cmd /k, % a_desktop
else if fileexist(thispath)
run, cmd /k, % thispath
}
else if (a_class = "Progman")
run, cmd /k, % a_desktop
return
[Autohotkey]任意位置启动命令行
最新推荐文章于 2024-05-17 17:38:41 发布