dhanraj Posted April 22, 2019 Share Posted April 22, 2019 I want to get the position of a text on the window based on which certain actions needs to be taken. I tried WinGetText() but it is not serving the purpose. Can someone help me out here? Link to comment Share on other sites More sharing options...
FrancescoDiMuro Posted April 22, 2019 Share Posted April 22, 2019 6 minutes ago, dhanraj said: Can someone help me out here? Post your code, so we can help you By the way, welcome to the AutoIt forums Click here to see my signature: Spoiler ALWAYS GOOD TO READ: Forum Rules Forum Etiquette Link to comment Share on other sites More sharing options...
Nine Posted April 22, 2019 Share Posted April 22, 2019 And what is the application you are trying to read text from ? If it is pixel based, you will need to read it thru an OCR apps. “They did not know it was impossible, so they did it” ― Mark Twain Spoiler Block all input without UAC Save/Retrieve Images to/from Text Monitor Management (VCP commands) Tool to search in text (au3) files Date Range Picker Virtual Desktop Manager Sudoku Game 2020 Overlapped Named Pipe IPC HotString 2.0 - Hot keys with string x64 Bitwise Operations Multi-keyboards HotKeySet Recursive Array Display Fast and simple WCD IPC Multiple Folders Selector Printer Manager GIF Animation (cached) Screen Scraping Multi-Threading Made Easy Link to comment Share on other sites More sharing options...
BigDaddyO Posted April 22, 2019 Share Posted April 22, 2019 Hopefully the text you want to look for is in a specific control, as that would be rather simple using the array returned from ControlGetPos() If the text you are looking for is only part of a big edit box, or blob of text then as Nine said, you will need OCR. I posted something I did for this here: google tesseract ocr 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