开发者

Google Chrome selected text

开发者 https://www.devze.com 2022-12-17 19:04 出处:网络
I am trying 开发者_如何学编程to get selected text from browsers(ie,opera, firefox..) using my C# application.

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

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号