AutoHotkey: Copy Filename To Clipboard When Inplace-renaming: Difference between revisions

From TotalcmdWiki
Jump to navigation Jump to search
mNo edit summary
No edit summary
Line 13: Line 13:


Back to [[AutoHotkey]]
Back to [[AutoHotkey]]
[[de:Copy Filename To Clipboard When Inplace-renaming]]

Revision as of 14:00, 22 September 2005

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