I have a project that needs to capture highlighted text from a web browser(chrome, firefox etc.). In my project, the user highlights a text, for example a word from a web browser. And the program translates the word to the language that selected before using google translate. I have managed to capture highlighted text from some applications like notepad, but I especially need to do that with web browsers.
Could anybody help me with that. I searched all of the documents and tried all of the approaches but I couldn't achieve my goal. The project is for my college to graduate.
I would greatly appreciate some help here. Thank you!