NightFury Posted November 18, 2014 Share Posted November 18, 2014 Hello, I know this has been discussed already, but I just couldn't find the answer I was looking for. I want the script to identify if the word "Axl" or any other word I want search for is exist on the screen and show a Msgbox after that. Here is an example: '> I heard about " OCR " but I can't actually understand how to script it on a small word. Any help is welcomed. Link to comment Share on other sites More sharing options...
TheSaint Posted November 18, 2014 Share Posted November 18, 2014 (edited) If it is on your screen and not easily read from a control (Edit, Input, etc), then you need to use OCR. There were free versions available last I looked (some years ago), and some may be command-line driven or communicated with using Stdout. Where is the text coming from, as there may be other ways to get it from the source, bypassing the screen? Edited November 18, 2014 by TheSaint Make sure brain is in gear before opening mouth! Remember, what is not said, can be just as important as what is said. Spoiler What is the Secret Key? Life is like a Donut If I put effort into communication, I expect you to read properly & fully, or just not comment. Ignoring those who try to divert conversation with irrelevancies. If I'm intent on insulting you or being rude, I will be obvious, not ambiguous about it. I'm only big and bad, to those who have an over-active imagination. I may have the Artistic Liesense to disagree with you. TheSaint's Toolbox (be advised many downloads are not working due to ISP screwup with my storage) Link to comment Share on other sites More sharing options...
NightFury Posted November 18, 2014 Author Share Posted November 18, 2014 If it is on your screen and not easily read from a control (Edit, Input, etc), then you need to use OCR. There were free versions available last I looked (some years ago), and some may be command-line driven or communicated with using Stdout. Where is the text coming from, as there may be other ways to get it from the source, bypassing the screen? Coming from a picture with many different words, like an article or story or something. I just wrote that " Axl " word with only 3 characters to reduce the effort. Link to comment Share on other sites More sharing options...
TheSaint Posted November 18, 2014 Share Posted November 18, 2014 Coming from a picture with many different words, like an article or story or something. I just wrote that " Axl " word with only 3 characters to reduce the effort. So, is that text showing on screen as an image or a document? And what is creating it? Is it protected by DRM? Those elements will tell you what options you have. Make sure brain is in gear before opening mouth! Remember, what is not said, can be just as important as what is said. Spoiler What is the Secret Key? Life is like a Donut If I put effort into communication, I expect you to read properly & fully, or just not comment. Ignoring those who try to divert conversation with irrelevancies. If I'm intent on insulting you or being rude, I will be obvious, not ambiguous about it. I'm only big and bad, to those who have an over-active imagination. I may have the Artistic Liesense to disagree with you. TheSaint's Toolbox (be advised many downloads are not working due to ISP screwup with my storage) Link to comment Share on other sites More sharing options...
Moderators Melba23 Posted November 18, 2014 Moderators Share Posted November 18, 2014 NightFury,Still trying to automate that game? M23 Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind Open spoiler to see my UDFs: Spoiler ArrayMultiColSort ---- Sort arrays on multiple columnsChooseFileFolder ---- Single and multiple selections from specified path treeview listingDate_Time_Convert -- Easily convert date/time formats, including the language usedExtMsgBox --------- A highly customisable replacement for MsgBoxGUIExtender -------- Extend and retract multiple sections within a GUIGUIFrame ---------- Subdivide GUIs into many adjustable framesGUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView itemsGUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeViewMarquee ----------- Scrolling tickertape GUIsNoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxesNotify ------------- Small notifications on the edge of the displayScrollbars ----------Automatically sized scrollbars with a single commandStringSize ---------- Automatically size controls to fit textToast -------------- Small GUIs which pop out of the notification area Link to comment Share on other sites More sharing options...
NightFury Posted November 18, 2014 Author Share Posted November 18, 2014 So, is that text showing on screen as an image or a document? And what is creating it? Is it protected by DRM? Those elements will tell you what options you have. Showing as an image. It created with a list of names for example, and I want to find a specific name. I don't know what do you mean by DRM but I don't think so as it's a normal image. Link to comment Share on other sites More sharing options...
NightFury Posted November 18, 2014 Author Share Posted November 18, 2014 NightFury, Still trying to automate that game? M23 No. I wasn't know about that rule, and I'm sorry for it, but now it such different thing I looking for. I'm trying to make a small OCR which help me in my project. Link to comment Share on other sites More sharing options...
Moderators Melba23 Posted November 18, 2014 Moderators Share Posted November 18, 2014 NightFury,Fine. M23 Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind Open spoiler to see my UDFs: Spoiler ArrayMultiColSort ---- Sort arrays on multiple columnsChooseFileFolder ---- Single and multiple selections from specified path treeview listingDate_Time_Convert -- Easily convert date/time formats, including the language usedExtMsgBox --------- A highly customisable replacement for MsgBoxGUIExtender -------- Extend and retract multiple sections within a GUIGUIFrame ---------- Subdivide GUIs into many adjustable framesGUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView itemsGUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeViewMarquee ----------- Scrolling tickertape GUIsNoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxesNotify ------------- Small notifications on the edge of the displayScrollbars ----------Automatically sized scrollbars with a single commandStringSize ---------- Automatically size controls to fit textToast -------------- Small GUIs which pop out of the notification area Link to comment Share on other sites More sharing options...
TheSaint Posted November 18, 2014 Share Posted November 18, 2014 Showing as an image. It created with a list of names for example, and I want to find a specific name. I don't know what do you mean by DRM but I don't think so as it's a normal image. You are still not saying where the image is coming from, what created it? DRM is Digital Rights Management, as in an ebook (pdf, epub file, etc), but also anything with copyright protection. Make sure brain is in gear before opening mouth! Remember, what is not said, can be just as important as what is said. Spoiler What is the Secret Key? Life is like a Donut If I put effort into communication, I expect you to read properly & fully, or just not comment. Ignoring those who try to divert conversation with irrelevancies. If I'm intent on insulting you or being rude, I will be obvious, not ambiguous about it. I'm only big and bad, to those who have an over-active imagination. I may have the Artistic Liesense to disagree with you. TheSaint's Toolbox (be advised many downloads are not working due to ISP screwup with my storage) Link to comment Share on other sites More sharing options...
NightFury Posted November 18, 2014 Author Share Posted November 18, 2014 You are still not saying where the image is coming from, what created it? DRM is Digital Rights Management, as in an ebook (pdf, epub file, etc), but also anything with copyright protection. No, not pdf, etc.. Just normal image created by photshop or paint. Link to comment Share on other sites More sharing options...
NightFury Posted November 21, 2014 Author Share Posted November 21, 2014 Up Up Up Up Link to comment Share on other sites More sharing options...
NightFury Posted November 25, 2014 Author Share Posted November 25, 2014 Help me please Link to comment Share on other sites More sharing options...
MikahS Posted November 25, 2014 Share Posted November 25, 2014 I think everyone is waiting for your explanation of this image you are trying to mess around with. 13lack13lade 1 Snips & Scripts My Snips: graphCPUTemp ~ getENVvarsMy Scripts: Short-Order Encrypter - message and file encryption V1.6.1 ~ AuPad - Notepad written entirely in AutoIt V1.9.4 Feel free to use any of my code for your own use. Forum FAQ 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