AutoHotkey: Backspace In Drive Root Opens My Computer: Difference between revisions

From TotalcmdWiki
Jump to navigation Jump to search
No edit summary
(Link into german Wiki)
Line 14: Line 14:
Back to [[AutoHotkey]]
Back to [[AutoHotkey]]


[[de:Backspace In Drive Root Opens My Computer]]
[[de:AutoHotkey: Backspace In Drive Root Opens My Computer]]

Revision as of 13:16, 24 September 2005

Usually pressing Backspace in drive root does nothing, this is to prevent landing in My Computer by mistake, when holding down the key too long. Some people may prefer to reach the highest hierarchy level instead.

$BS:: 
IfWinActive, ahk_class TTOTAL_CMD 
{ 
  WinGetText, PanelText, A 
  IfInString, PanelText, :\> 
    PostMessage 1075, 2122, , , ahk_class TTOTAL_CMD 
} 
Send, {BS} 
Return


Back to AutoHotkey