Jump to content

Get digits with AutoIt from windows calculator - (Moved)


Recommended Posts

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!

 

 

Calculator.PNG

Link to comment
Share on other sites

  • Moderators

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

  • Moderators

@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

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

  • Moderators
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.

"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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...