AutoHotkey: Copy Filename To Clipboard When Inplace-renaming

From TotalcmdWiki
Revision as of 19:02, 1 June 2008 by White (talk | contribs) (Added category AutoHotkey scripts)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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