AutoHotKey: Explorer Directory Tree
Jump to navigation
Jump to search
This script replaces Directory Tree box with the Windows folder tree.
;Explorer directory tree for Total Commander ;Author : Vigk #noEnv #singleInstance, force !F10:: ifWinNotActive, ahk_class TTOTAL_CMD { send {!F10} return } controlGetText, cdir, TMypanel2 stringTrimRight, cdir, cdir, 1 fileSelectFolder, sdir, *%cdir%, 2, Directory Tree ifEqual, sdir, , return postMessage, 1075, 2912, , , ahk_class TTOTAL_CMD sleep 40 ; waits for the text box to be created controlSetText, TInEdit.UnicodeClass1, %sdir%, ahk_class TTOTAL_CMD controlSend, TInEdit.UnicodeClass1, {Enter}, ahk_class TTOTAL_CMD return