AutoHotkey: Move selected files to parent directory: Difference between revisions

From TotalcmdWiki
Jump to navigation Jump to search
No edit summary
 
m (Fixed: wrong category sort key)
Line 12: Line 12:
  Return
  Return


[[Category:AutoHotkey scripts|Automatically assign name for archive]]
[[Category:AutoHotkey scripts|Move selected files to parent directory]]

Revision as of 17:37, 13 July 2008

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, TMyPanel2
     ParentPath := RegExReplace(ParentPath, "(^.+\\).+", "$1")
     Clipboard := ParentPath
     Send {F6}
     Send ^v{Enter}
}
Return