Is there ANY way( using python) to get values of variables stored in GUI? As an example to explain my question I will take a well known built in windows calculator. Lets say I type in it a value 245. It is easy to see this value when looking at calculator GUI display, but how can I make the python to get this value?
I have tried to use famous cheat engine to find in which memory adress this value is stored… without any result. Thank you for your answers.
Let’s wrap up this thread…
pywinautowill be your friend.Sample case:
42This script will get and print you 42:
Homepage of pywinauto is here
If you run on Python 2.7, you need to install and compile SendKeys yourself, or take useful information for this page.