1
这是我对kidmar's script from AHK forums的稍作修改后的版本。退格走高一级
脚本应该改变Backspace
关键行为,即当我们在Windows资源管理器按Backspace
,它就像Alt-Up
(我们去了在文件层次中的一个级别)。
由于某种原因,它不起作用。它应该如何解决?
FunBackspaceExplorer()
{
IfWinActive, ahk_class CabinetWClass
{
ControlGetFocus, focused, A
IfNotInString, focused, "Edit" ; Return true only if current control isn't an edit control
return 1
}
return 0
}
#If, FunBackspaceExplorer() ; Backspace hotkey exists only if all conditions are met
Backspace:: SendInput, !{Up}
#If
(这个任务还有另一个工作解决方案,但我在这个任务中交叉)。