comeo Posted July 13, 2019 Share Posted July 13, 2019 Hello, is there a nice way to get the digits with something like pixelsum from a windows calculator? It should recognize the digits. For example: I type in 60 my calculator and want to print 60 out in the console. If I enter another number afterwards, this should be able to be read again (while script is runnig). Thank you very much in advance! Link to comment Share on other sites More sharing options...
Moderators JLogan3o13 Posted July 13, 2019 Moderators Share Posted July 13, 2019 Moved to the appropriate forum, as the Developer General Discussion forum very clearly states: Quote General development and scripting discussions. If it's super geeky and you don't know where to put it - it's probably here. Do not create AutoIt-related topics here, use the AutoIt General Help and Support or AutoIt Technical Discussion forums. Moderation Team "Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball How to get your question answered on this forum! Link to comment Share on other sites More sharing options...
Moderators JLogan3o13 Posted July 13, 2019 Moderators Share Posted July 13, 2019 @comeo first question would be "Why would you want to?" AutoIt comes with some great Maths capabilities; why would you have need to automate the Calc GUI? "Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball How to get your question answered on this forum! Link to comment Share on other sites More sharing options...
argumentum Posted July 14, 2019 Share Posted July 14, 2019 send a ctrl-c and it will copy to clipboard Follow the link to my code contribution ( and other things too ). FAQ - Please Read Before Posting. Link to comment Share on other sites More sharing options...
comeo Posted July 14, 2019 Author Share Posted July 14, 2019 I used the calculator as an example. How about if I use another application? I would like to recognize the displayed digits or the text with AutoIt. Even if the text shoudl change while the script is running. I want to recognize the displayed digits or thext with AutoIt and save them in a variable. For example: if the number 10 is displayed in the application in a certain area, then my script should recognize it as a 10 and output the value 10. Link to comment Share on other sites More sharing options...
argumentum Posted July 14, 2019 Share Posted July 14, 2019 hmmm, tricky. Make sure you explain clearly, in a non game related example. Actually, what code have you written ? Follow the link to my code contribution ( and other things too ). FAQ - Please Read Before Posting. Link to comment Share on other sites More sharing options...
Nine Posted July 14, 2019 Share Posted July 14, 2019 OCR would be the only way if it is pixel driven... “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...
argumentum Posted July 14, 2019 Share Posted July 14, 2019 (edited) <never mind> Edited July 14, 2019 by argumentum Follow the link to my code contribution ( and other things too ). FAQ - Please Read Before Posting. Link to comment Share on other sites More sharing options...
argumentum Posted July 14, 2019 Share Posted July 14, 2019 lol, wrong place 😅 Follow the link to my code contribution ( and other things too ). FAQ - Please Read Before Posting. Link to comment Share on other sites More sharing options...
Moderators JLogan3o13 Posted July 14, 2019 Moderators Share Posted July 14, 2019 4 hours ago, comeo said: How about if I use another application? I would like to recognize the displayed digits or the text with AutoIt. That is why it is important to give an example of what you are actually working on. How you obtain this information from the Calc app vs. a Web App vs. a Java App is going to be different. Using an example that has nothing to do with what you're trying to actually accomplish is only going to frustrate you when it doesn't work. Please explain in detail what you are trying to accomplish, and in what application, and we will do our best to help. Earthshine 1 "Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball How to get your question answered on this forum! 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