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)
 
(4 intermediate revisions by 3 users not shown)
Line 1: Line 1:
; On every Inplace-renaming toggle with Shift+F6 the filename (plus extension if selected) is automatically copied to the clipboard.
On every Inplace-renaming toggle with Shift+F6 the filename (plus extension if selected) is automatically copied to the clipboard.
 
  ~+F6::
  ~+F6::
  IfWinActive, ahk_class TTOTAL_CMD
  IfWinActive, ahk_class TTOTAL_CMD
Line 13: Line 13:


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]]

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