【发布时间】:2017-01-28 19:58:42
【问题描述】:
我无法找到关闭在 Windows 资源管理器中打开的路径的方法。假设我想关闭打开的窗口“c:\program files”。代码应该看起来像
#::j
close window "c:\program files"
return
谢谢。
【问题讨论】:
-
如果
winclose不起作用,难道没有winkill命令吗?或者你可以在winclose中用参数杀死一个窗口,不记得了 -
最后,您还可以尝试使用
controlsend将!F4发送到指定窗口。但我猜你没有正确抓住窗户。请先尝试其他命令,例如winminimize。
标签: windows scripting autohotkey