; Useful Clipboard hokey additions ; 8 March 2004 - CyberSlug ; Append, Ctrl+Shift+C, adds newline plus selected text to clipboard. ^+c:: bak = %clipboard% Send, ^c clipboard = %bak%`r`n%clipboard% return ; Replace, Ctrl+Shift+V, swaps selected text with clipboard text. ^+v:: itemOne = %clipboard% Send, ^c itemTwo = %clipboard% clipboard = %itemOne% Send, ^v clipboard = %itemTwo% return ; Clear, Ctrl+Shift+X, clear the clipboard ^+x:: clipboard = ;null return
Clipboard hotkey functions
Started by
CyberSlug
, Mar 08 2004 07:29 AM
3 replies to this topic
#1
-
Posted 08 March 2004 - 07:29 AM
Say, those are very nice, and ingeniously simple. There's no need for some fancy bloatware clipboard "helper" app if you can manipulate the clipboard with a few simple hotkeys. I think I might use these!
On a side-note, one little-known feature of AutoHotkey is that when you copy files onto the clipboard, such as by pressing Ctrl-C in an open Explorer window, those files will be auto-converted to a list of filenames whenever you reference the clipboard variable in a script. I use this for quite a few things.
On a side-note, one little-known feature of AutoHotkey is that when you copy files onto the clipboard, such as by pressing Ctrl-C in an open Explorer window, those files will be auto-converted to a list of filenames whenever you reference the clipboard variable in a script. I use this for quite a few things.
#2
-
Posted 08 March 2004 - 01:52 PM
***MASSIVE BUMP***
Out of curiosity I looked at the very last post on this forum - from 2004. Useful tip - glad I looked :-)
Simple test. It works. Nice.
Out of curiosity I looked at the very last post on this forum - from 2004. Useful tip - glad I looked :-)
one little-known feature of AutoHotkey is that when you copy files onto the clipboard, such as by pressing Ctrl-C in an open Explorer window, those files will be auto-converted to a list of filenames whenever you reference the clipboard variable in a script. I use this for quite a few things.
Simple test. It works. Nice.
;========================================================================== ; Open Windows Explorer ; Press Control C to Copy Some Files/Folders ; Then press F1 hotkey to display clipboard contents. ;========================================================================== Return F1::Msgbox %Clipboard%
#3
-
Posted 18 March 2011 - 08:18 AM