I am trying 开发者_如何学编程to get selected text from browsers(ie,opera, firefox..) using my C# application. I tried SendKeys.Send("^c") then reading the selected value from clipboard this method works fine with ie and Firefox.., but it doesn't work with Google Chrome.
How can I get the selected text from Google Chrome and why SendKeys.Send("^c") doesn’t work?
Not sure how this will help, but this guy has a Chrome extension that does that I believe, plus its opensource to check it out. Sorry if it was of no help. Auto Copy
精彩评论