Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 4 of 4
  1. #1
    New to the CF scene
    Join Date
    Dec 2008
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Copy the selected text to clipboard automatically

    I would like an application to copy Copy the selected text to clipboard automatically like autocopy for firefox, or similar to dragking for the resto of applications. This last one I don't get go well in my system and need another.

    Do you know anyone ?

    Is my first post. Best Regards to all forumers
    Thanks
    Excuse my language. I'm from Canary Islands

  • #2
    Regular Coder
    Join Date
    May 2004
    Location
    New Hampshire, America
    Posts
    246
    Thanks
    0
    Thanked 2 Times in 2 Posts
    If you know how to program then simply create an executable that detects when the left-click is held down, and when it is released have it automatically press Ctrl+C. Actually not that difficult at all.

  • #3
    Regular Coder
    Join Date
    Apr 2009
    Posts
    244
    Thanks
    1
    Thanked 20 Times in 20 Posts
    Hey Esgrimidor,

    If you're approaching this through JavaScript, you can research more about:
    "window.clipboardData"

    ..or something like that. That should get you on the right track.

    Regards,
    Mike

  • #4
    New Coder
    Join Date
    Jul 2009
    Location
    Atlanta, GA
    Posts
    16
    Thanks
    0
    Thanked 0 Times in 0 Posts
    What language are you programming in? That has a lot to do with it.

    In delphi:
    Code:
    uses ClipBrd;
    ..
    ClipBoard.AsText := 'abc';
    In C#:
    Code:
    ClipBoard.SetText("abc");


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •