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

From TotalcmdWiki
Jump to navigation Jump to search
No edit summary
(Added category AutoHotkey scripts)
 
Line 14: Line 14:
Back to [[AutoHotkey]]
Back to [[AutoHotkey]]


[[Category:AutoHotkey scripts|Copy Filename To Clipboard When Inplace-renaming]]
[[de:AutoHotkey: Dateiname in die Zwischenablage beim Umbenennen mit Umsch F6]]
[[de:AutoHotkey: Dateiname in die Zwischenablage beim Umbenennen mit Umsch F6]]

Latest revision as of 19:02, 1 June 2008

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