【发布时间】:2018-07-28 09:00:25
【问题描述】:
由于某种原因,我无法激活 Windows 资源管理器窗口:
(即默认文件管理器。不要与 Internet Explorer 混淆)
任何想法如何解决它?谢谢。
我在 32 位 Win7 上试过。可能它适用于较新的 Windows 版本(我不知道)。
#singleInstance, force
f1::
; This works:
; (Even if multiple Notepad windows are opened)
; winActivate, ahk_class Notepad ahk_exe Notepad.exe
; This doesn't work:
; (Even if only one Explorer window is opened)
winActivate, ahk_class CabinetWClass ahk_exe explorer.exe
return
【问题讨论】:
-
资源管理器窗口处于活动状态时会显示哪些信息?
-
@user3419297
ahk_class CabinetWClass ahk_exe explorer.exe,如我的代码所示。我也试过 ExplorerWClass - 不起作用。很奇怪。
标签: autohotkey