AutoHotkey: Copy Filename To Clipboard When Inplace-renaming

From TotalcmdWiki
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

On every Inplace-renaming toggle with Shift+F6 the filename (plus extension if selected) is automatically copied to the clipboard.

~+F6::
IfWinActive, ahk_class TTOTAL_CMD
{
  Sleep 100
  ControlGetFocus, ActiveControl, A
  If (ActiveControl="TInEdit.UnicodeClass1")
    Send, ^c
}
Return


Back to AutoHotkey