Home | Blog | Software | Reviews and Features | Forum | Help | Donate | About us
topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • December 10, 2016, 06:50:12 AM
  • Proudly celebrating 10 years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Author Topic: Copying and Pasting with the Mouse  (Read 3454 times)

Smobu

  • Participant
  • Joined in 2008
  • *
  • default avatar
  • Posts: 51
    • View Profile
    • Donate to Member
Copying and Pasting with the Mouse
« on: March 08, 2009, 01:34:38 AM »
Highlighting text and pressing the ctrl key will copy the text

Middle clicking two times will paste the copied text

Coeluh

  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 273
  • Family Guy ^^
    • View Profile
    • Jeroen Coelen
    • Donate to Member
Re: Copying and Pasting with the Mouse
« Reply #1 on: March 08, 2009, 05:50:58 AM »
I guess this can be done in AutoHotKey.

lanux128

  • Global Moderator
  • Joined in 2005
  • *****
  • Posts: 6,258
    • View Profile
    • Coding Snacks by Lanux128
    • Read more about this member.
    • Donate to Member
Re: Copying and Pasting with the Mouse
« Reply #2 on: March 08, 2009, 06:20:34 AM »
try Skrommel's DragKing.



Smobu

  • Participant
  • Joined in 2008
  • *
  • default avatar
  • Posts: 51
    • View Profile
    • Donate to Member
Re: Copying and Pasting with the Mouse
« Reply #3 on: March 08, 2009, 01:28:52 PM »
Most highlighting text application copy text without enough disrimination. Such as in the case where you would want to rename a file, but the selection of the file name will overwrite what you have already copied.
I thought it will be better if there is more control when the ctrl key was used to really copy what you wanted.

lanux128

  • Global Moderator
  • Joined in 2005
  • *****
  • Posts: 6,258
    • View Profile
    • Coding Snacks by Lanux128
    • Read more about this member.
    • Donate to Member
Re: Copying and Pasting with the Mouse
« Reply #4 on: March 08, 2009, 11:57:09 PM »
you could put in a feature request here in the original thread of DragKing.

Smobu

  • Participant
  • Joined in 2008
  • *
  • default avatar
  • Posts: 51
    • View Profile
    • Donate to Member
Re: Copying and Pasting with the Mouse
« Reply #5 on: March 10, 2009, 06:43:04 PM »
Here is my script:

Pressing left control two times quickly will copy and middle clicking with mouse button will paste.

~Lctrl::   
    If (A_PriorHotKey = A_ThisHotKey && A_TimeSincePriorHotKey <= 500)
   { ; Double click
   Send ^c                    ; selection -> clipboard
      tempClipBoard := ClipBoardAll      ; save old clipboard
      ClipBoard =
     
     mmClip := ClipBoard        ; store selection in custom clipboard
     Clipboard :=tempClipBoard  ; restore clipboard for ctl-c and ctl-v
   
   }
   return

~Mbutton::
   If (A_PriorHotKey = A_ThisHotKey && A_TimeSincePriorHotKey <= 500)
   { ; Double click
   Send, ^v   

   }
return
« Last Edit: March 10, 2009, 06:51:47 PM by Smobu »