Get Selected text from other window

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • [Joe]

    Get Selected text from other window

    Hi all,
    I am wondering if there is anyway, I could detect if some text gets
    selected by the user in an external application. To give you an example,
    I would like to get the selected text same way as done by Babylone
    application.


    Regards,
    Joe
  • Michael Nemtsev

    #2
    Re: Get Selected text from other window

    Hello [Joe],

    It's not so obvious what Babylone app do :)
    Do u want to get the content of other app or what?


    [Hi all,
    [I am wondering if there is anyway, I could detect if some text
    [gets
    [selected by the user in an external application. To give you an
    [example,
    [I would like to get the selected text same way as done by Babylone
    [application.
    [>
    [Regards, Joe
    [>
    ---
    WBR,
    Michael Nemtsev :: blog: http://spaces.live.com/laflour

    "At times one remains faithful to a cause only because its opponents do not
    cease to be insipid." (c) Friedrich Nietzsche


    Comment

    • [Joe]

      #3
      Re: Get Selected text from other window

      Yes , I want to get the content of other app!!!


      "Michael Nemtsev" wrote:
      Hello [Joe],
      >
      It's not so obvious what Babylone app do :)
      Do u want to get the content of other app or what?
      >
      >
      [Hi all,
      [I am wondering if there is anyway, I could detect if some text
      [gets
      [selected by the user in an external application. To give you an
      [example,
      [I would like to get the selected text same way as done by Babylone
      [application.
      [>
      [Regards, Joe
      [>
      ---
      WBR,
      Michael Nemtsev :: blog: http://spaces.live.com/laflour
      >
      "At times one remains faithful to a cause only because its opponents do not
      cease to be insipid." (c) Friedrich Nietzsche
      >
      >
      >

      Comment

      • Michael Nemtsev

        #4
        Re: Get Selected text from other window

        Hello [Joe],

        Find window that u need (use FindWindow API function), then find you control
        and use WM_GETTEXT message to copy content of you control

        [Yes , I want to get the content of other app!!!
        [>
        ["Michael Nemtsev" wrote:
        [>
        >Hello [Joe],
        >>
        >It's not so obvious what Babylone app do :)
        >Do u want to get the content of other app or what?
        >[Hi all,
        >[I am wondering if there is anyway, I could detect if some text
        >[gets
        >[selected by the user in an external application. To give you an
        >[example,
        >[I would like to get the selected text same way as done by Babylone
        >[application.
        >[>
        >[Regards, Joe
        >[>
        >---
        >WBR,
        >Michael Nemtsev :: blog: http://spaces.live.com/laflour
        >"At times one remains faithful to a cause only because its opponents
        >do not cease to be insipid." (c) Friedrich Nietzsche
        >>
        ---
        WBR,
        Michael Nemtsev :: blog: http://spaces.live.com/laflour

        "At times one remains faithful to a cause only because its opponents do not
        cease to be insipid." (c) Friedrich Nietzsche


        Comment

        Working...