Kevinkeith Posted October 3, 2016 Share Posted October 3, 2016 I have to grab text from a window in edge browser. When I activate the window and send ^a and then ^c in Chrome -- text is highlighted and then copied into the clipboard. When I activate the window and send ^a and then ^c in the edge browser text is highlighted but not copied into the clipboard. I verify this by going into notepad and trying to paste which works if the page was in chrome but does not if the page is in edge. I tested this using the web page of the New York Times. AutoItX3 x3 = new AutoItX3(); Clipboard.Clear(); x3.AutoItSetOption("WinTitleMatchMode", 2); x3.WinActivate("The New York"); x3.WinWaitActive("The New York"); x3.Send("^a"); x3.Sleep(1000); x3.Send("^c"); If I am missing something please let me know. Otherwise if you could give me some help on how to pullout the text from a page using the edge browser I would be very grateful. Keith Link to comment Share on other sites More sharing options...
genius257 Posted October 4, 2016 Share Posted October 4, 2016 I seem to have no problem getting the text with the "^c". Why must it be edge, if chrome works for you? My highlighted topics: AutoIt Package Manager, AutoItObject Pure AutoIt, AutoIt extension for Visual Studio Code Github: AutoIt HTTP Server, AutoIt HTML Parser Link to comment Share on other sites More sharing options...
Kevinkeith Posted October 4, 2016 Author Share Posted October 4, 2016 The web site I need to grab info from does not work in chrome. That web site has been undergoing a lot of revisions. For several years it only worked in explorer 8. Then it worked in 10 and 11 and chrome. Then it did not seem to work at all in any browser. I thought it only worked in edge now but I have been testing some more and i see it now works in explorer 11 and I can grab the text from there. I would like to know why I can't copy the selected text into the clipboard in the edge browser though. You say it works for you -- can you tell me which version of the edge browser you are using? Mine is: Microsoft Edge 38.14393.0.0 Microsoft EdgeHTML 14.14393 Link to comment Share on other sites More sharing options...
genius257 Posted October 6, 2016 Share Posted October 6, 2016 Microsoft Edge 25.10586.0.0 Microsoft EdgeHTML 13.10586 Hmmm yeah the version is properly why... My highlighted topics: AutoIt Package Manager, AutoItObject Pure AutoIt, AutoIt extension for Visual Studio Code Github: AutoIt HTTP Server, AutoIt HTML Parser Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now