DonationCoder.com forum
 
Read-only archive. This is a static copy of the DonationCoder.com forum. Reading and searching work as before; logging in, posting and private messages do not.
Archive of 2026-10-21 · About this archive · Main site

Author Topic: IDEA: Highlight text to "copy", middle mouse to "paste"?  (Read 12,839 times)

kpetermn

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 2
I was playing with Suse 9.3 + Kde desktop and a quick tip told me about highlighting text to copy it
and use the middle mouse button or wheel to paste.
I never highlight text unless I am going to copy it so it saves a lot of time/fingers.
Has anyone seen this for windows?
Thanks
« Last Edit: May 18, 2006, 11:07 AM by brotherS »

lanux128

  • Global Moderator
  • Joined in 2005
  • *****
  • Posts: 6,277
    • Coding Snacks
    • Volunteers/Staff
    • Gathering Badge
    • Participated in NANY Challenge Once
    • Linux User
Re: Highlight text to "copy" middle mouse to "paste" ?
« Reply #1 on: May 08, 2006, 12:58 AM »

AndyM

  • Charter Member
  • Joined in 2006
  • ***
  • Posts: 616
Re: Highlight text to "copy" middle mouse to "paste" ?
« Reply #2 on: May 08, 2006, 12:53 PM »
Quote
highlighting text to copy it
and use the middle mouse button or wheel to paste.

So far nothing I've seen works exactly like this, which is exactly what I'd like also.

Skrommel, any chance pasting with a middle-click or scrollwheel-click could be an option for DragKing?

Carol Haynes

  • Waffles for England (patent pending)
  • Global Moderator
  • Joined in 2005
  • *****
  • Posts: 8,073
    • Cody Award
    • Furry Fandom Badge - Furry Fandom
Re: Highlight text to "copy" middle mouse to "paste" ?
« Reply #3 on: May 08, 2006, 02:41 PM »
Actually if you have an MS mouse with IntelliMouse drivers installed you can set the buttons to do pretty much what you like already within the driver.

AndyM

  • Charter Member
  • Joined in 2006
  • ***
  • Posts: 616
Re: Highlight text to "copy" middle mouse to "paste" ?
« Reply #4 on: May 08, 2006, 04:15 PM »
Actually if you have an MS mouse with IntelliMouse drivers installed you can set the buttons to do pretty much what you like already within the driver.

I would still want middle-click to act as middle-click except when text was highlighted, so that route wouldn't work for me.

skrommel

  • Fastest code in the west
  • Developer
  • Joined in 2005
  • ***
  • Posts: 933
    • Participated in NANY Challenge Twice
    • Coding Snacks
Re: Highlight text to "copy" middle mouse to "paste" ?
« Reply #5 on: May 09, 2006, 12:13 AM »
:) Try DragKing v1.3!

Added hotkeys for pasting and disabling, and a settings dialog.

Skrommel
« Last Edit: May 14, 2006, 04:23 PM by skrommel »

AndyM

  • Charter Member
  • Joined in 2006
  • ***
  • Posts: 616
Re: Highlight text to "copy" middle mouse to "paste" ?
« Reply #6 on: May 09, 2006, 02:09 AM »
Quote
Added hotkeys for pasting and disabling, and a settings dialog.

DragKing does exactly what you say it will do (no surprise).  But it's
not quite what I'm looking for.  On re-reading the posts I realize I
mis-stated what I wanted.

I don't want highlighted text automatically copied to the clipboard.
What I want is a mousebutton action that will copy already highlighted
text (as opposed to right-click, then click "copy" on the context
menu, or as opposed to Ctrl-c).  So I'd want a setting category for
"Copy", not only for "Paste".

What would really be slick would be to include rocker gestures (left
click while holding down the right button or right click while holding
down the left button).  I would then assign right rocker to copy and
left rocker to paste.
« Last Edit: May 09, 2006, 02:11 AM by AndyM »

kpetermn

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 2
Re: Highlight text to "copy" middle mouse to "paste" ?
« Reply #7 on: May 13, 2006, 10:36 PM »
Thank you guys! I thought it was dead after the first reply.
The ahk script gives me this error
#Include ahkstructlib.ahk cannot be opened error
The .exe works great just what I wantedhat I wantedhat I wantedhat I wanted.
Now I have to learn to be not so lazy with the mouse I copy every thing.
Gratuities will be forth coming. Do you guys do yard work to?

jgpaiva

  • Artificial Idiocy
  • Global Moderator
  • Joined in 2006
  • *****
  • Posts: 4,727
    • Cody Award
    • Participated in NANY Challenge Once
    • Coding Snacks
    • Portugal Inhabitant
    • Linux User
Re: Highlight text to "copy" middle mouse to "paste" ?
« Reply #8 on: May 13, 2006, 11:01 PM »
The .exe works great just what I wantedhat I wantedhat I wantedhat I wanted.
For some reason, reading this line got me very confused, i'd even say disturbed. Is it only me? Might be because of the advanced hour :S

AndyM

  • Charter Member
  • Joined in 2006
  • ***
  • Posts: 616
Re: Highlight text to "copy" middle mouse to "paste" ?
« Reply #9 on: May 14, 2006, 02:38 AM »
The ahk script gives me this error
#Include ahkstructlib.ahk cannot be opened error
You can find ahkstructlib.ahk at:

http://www.autohotkey.com/forum/viewtopic.php?t=4888

AndyM

  • Charter Member
  • Joined in 2006
  • ***
  • Posts: 616
Re: Highlight text to "copy" middle mouse to "paste" ?
« Reply #10 on: May 14, 2006, 02:42 AM »
I'll use DragKing when I have a lot of copying & pasting to do.  I did find something that allows me to copy & paste using mouse clicks at:

http://www.autohotkey.com/forum/viewtopic.php?t=9787&sid=75439bd0be071ed3d11da261ba6c5068

"Select text/files etc and hold LButton, click RButton once to copy, twice to paste and three times to cut."

Original address: https://www.donationcoder.com/forum/index.php?topic=3536.0