AutoHotkey: Copy Selection To Clipboard In Lister: Difference between revisions

From TotalcmdWiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 20: Line 20:
  ~^a::
  ~^a::
  If WinActive("Lister -")
  If WinActive("Lister -")
   Send, {RBUTTON}c
   Send, ^c
  Return
  Return



Revision as of 13:05, 31 August 2006

Text you select in the lister is automatically copied to clipboard.

; Adjust the lines Send, {RBUTTON}c to match the menu shortcut for Ctrl-C in your language file,
; for example Send, {RBUTTON}k when using a German LNG-file.
; This shortcut can be found in the languagefile %Commander_path%\language\WCMD_***.LNG
; in the line that begins with 5921=
; German: WCMD_DEU.LNG
; 5921="Als Text &kopieren"
; Send, {RBUTTON}k.
; French: WCMD_FRA.LNG
; 5921="Copier comme &texte"
; Send, {RBUTTON}t.

~LButton Up::
Sleep 250
If (WinActive("Lister -") AND A_Cursor="IBeam")
  Send, {RBUTTON}c
Return

~^a::
If WinActive("Lister -")
  Send, ^c
Return


Back to AutoHotkey