Results 1 to 4 of 4

Thread: Simulating ""CTRL+C""

  1. #1

    Thread Starter
    New Member
    Join Date
    Jan 2002
    Location
    india
    Posts
    2

    Unhappy Simulating ""CTRL+C""

    hi vb's .....
    iam writing an application that will post the "blocked or selected text" from any of the open windows to my website...
    this is done on pressing a hot key...
    when the user selects a text and presses the hot key,i need to copy the selected text to the clipboard and then retrieve it from there and post it to my website.....
    iam unable to simulate the ""CTRL+C"" event when the user presses the hot key combination....can any one help me in this..
    thanks in advance....
    nothing can beat human stupidity.....

  2. #2
    Conquistador
    Join Date
    Dec 1999
    Location
    Australia
    Posts
    4,527
    clipboard.settext "mytext"

    ?

  3. #3

    Thread Starter
    New Member
    Join Date
    Jan 2002
    Location
    india
    Posts
    2
    "mytext" is the text i select using the mouse or the keyboard..is there amy API for getting the text ???
    nothing can beat human stupidity.....

  4. #4
    Conquistador
    Join Date
    Dec 1999
    Location
    Australia
    Posts
    4,527
    sendkeys "^C"


    ?

Posting Permissions

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



Click Here to Expand Forum to Full Width