SendKeys. Send (" ^ c ");//send keys to the currently active window CTRL + c, namely copy
String STR=Clipboard. GetText ();//get the data from the clipboard
When you!
CodePudding user response:
Added: you have to set a global key to carry out the, to highlight the text in any window, to get a key, keys to monitor global refer to other post, a lot of,