Alchmist Posted February 20, 2008 Share Posted February 20, 2008 Hello, im very noob in autoit, and i was seeking for a simple ocr function that could alow me to get a partial text from a list box, so that i could put it in a variable and compare it later, the scripts for ocr i´ve found in this forum, are away to much complex for what i want to do, at least i guess so... Can someone help me... Thanks in advanced... Link to comment Share on other sites More sharing options...
Zedna Posted February 21, 2008 Share Posted February 21, 2008 You don't need OCR if it's standard Windows ListBox control. Look at _GUICtrlListBox_GetText() and _GUICtrlListBox_GetCount() Resources UDF ResourcesEx UDF AutoIt Forum Search Link to comment Share on other sites More sharing options...
Alchmist Posted March 2, 2008 Author Share Posted March 2, 2008 You don't need OCR if it's standard Windows ListBox control.Look at _GUICtrlListBox_GetText() and _GUICtrlListBox_GetCount()that wont work because i want to get just a partial part of the text in each item Link to comment Share on other sites More sharing options...
Moderators SmOke_N Posted March 2, 2008 Moderators Share Posted March 2, 2008 that wont work because i want to get just a partial part of the text in each itemSo get the text with what Zedna has posted, and use the "String*" functions to manipulate the text.If the text is Graphical, the application name to help you is needed, if it's one of those Ancient Chinese secret applications, then you'll need to look up OCR in the example script forum and start teaching yourself the art of constructing an OCR engine. Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer. 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