AutoHotkey: Move selected files to parent directory

From TotalcmdWiki
Revision as of 16:16, 18 June 2009 by ArchCarrier (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

You can use this script to move the selected files to its parent directory without changing the target panel or using the mouse. The shortkey is Ctrl-Alt-F6:

IfWinActive, ahk_class TTOTAL_CMD
{
	!^F6::
	ControlGetText, ParentPath, TMyPanel3
	Clipboard := RegExReplace(ParentPath, "(^.+\\).+", "$1")
	Send {F6}
	Send ^v{Enter 2}
	Return
}
Return