Select to copy, middle click to paste
Uhm, do you mean scroll click?
Hi @scottven ,
Could you please add some details to this suggestion? It's not clear what this PowerToy would do.
Any time the mouse is used to select text, the PowerToy would automatically copy that selection to the clipboard. Any time the middle (scroll wheel) button is clicked, it would paste.
Hi @scottven ,
Could you please add some details to this suggestion? It's not clear what this PowerToy would do.
I believe the issue is for a new tool inspired by Xwindows behavior, like Xmouse. If this were to be implemented, I would recommend going all the way, and including a clipboard manager which supports access to previous clipboard entries. This could be further extended to be a more Windows-y tool by allowing one to access individual OLE variants (or whatever they're dubbed) in the clipboard e.g; when copying an object in some software (such as SPSS), multiple forms of the object (PNG, HTML, text) may be placed in the clipboard.
+1 I’ve always liked Xwindows’ ability to do this (auto-copy to clipboard upon highlight) and would like to see it in Windows. Also, having easy access to previous clipboard entries would be a big win.
Hi @jpinkham , You can already enable and use Clipboard History by using the "Windows Key + V" keyboard shortcut.
Check out #127. Which is a much better implementation of this. Copy on select is not a good idea as it would clutter the clipboard/clipboard manager.
Check out #127. Which is a much better implementation of this. Copy on select is not a good idea as it would clutter the clipboard/clipboard manager.
That looks interesting, but I've spent too long living with X clipboard behavior that anything else is just a hassle to use.
@scottven If #127 is implemented as I've explained then you should be able to write a custom script to copy to clipboard on select. I do believe this is a behaviour a lot people would not want, especially someone who uses clipboard manager. Or someone working in an IDE, I select a lot of stuff all day long. Or people who do have middle mouse button (e.g. trackpad).
Only people I see wanting this, is whose job includes a lot of sequential copy-paste. As personally majority of the time I do not copy all the stuff I select. Those people could also hugely benefit by using a clipboard manager imo.
This comment did remind me of this :)
@lordlycastle i mis-stated in my previous comment (mentioning clipboard) when I now realized a key piece of information is missing from this discussion, which may help you understand why this request isn’t silly: the buffer used by xwindows for highlighting text is NOT the clipboard. THIS is the behavior that we are looking for. We want an immediate paste ability of highlighted selection, without necessarily cluttering the clipboard history (but this should be a config option). I have used and loved this feature of xwindows for 20 years.
To get highlighted text into the clipboard buffer, the user must explicitly request to copy it (ex: ctrl+c).
Reference: https://linux.die.net/man/1/xsel
Reference: “Clipboard” section of https://en.m.wikipedia.org/wiki/X_Window_selection
@jaimecbernardo: Thanks for the info on Win+V. I determined I don’t have clipboard history because my company’s laptops are using an older build of win10, before this functionality was added.
Hi friends, i'm trying to better understand this and the end to end scenario(s). First, @jpinkham, great insight here, thanks for helping provide a lot of background info here!
Or is the underlying ask here, clone X Window clipboard? https://en.m.wikipedia.org/wiki/X_Window_selection#Clipboard
My original ask is exactly a clone of XWindows. Answering your specific questions:
I’m looking for a reproduction of the XWindows version, using a separate buffer. This wouldn’t affect the existing Ctrl-C/Ctrl-V behavior that everyone is used to, and wouldn’t clutter that traditional clipboard buffer.
I use a trackpad on my laptop and desktop, set (in my terminal app) to use a middle-click for paste (which is mapped to a three finger single tap). I’m not sure I understand the question/concern for non-mouse users.
For me, I’d only need to see this feature work in terminal/cmd and PowerShell.
Most helpful comment
I believe the issue is for a new tool inspired by Xwindows behavior, like Xmouse. If this were to be implemented, I would recommend going all the way, and including a clipboard manager which supports access to previous clipboard entries. This could be further extended to be a more Windows-y tool by allowing one to access individual OLE variants (or whatever they're dubbed) in the clipboard e.g; when copying an object in some software (such as SPSS), multiple forms of the object (PNG, HTML, text) may be placed in the clipboard.