AutoHotkey: Backspace In Drive Root Opens My Computer

From TotalcmdWiki
Revision as of 01:05, 16 August 2005 by Icfu (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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