How to close app on Windows

Hi, I was able to get it to work! :smiley: The code is below. I tested this on dual screens, my laptop and the larger monitor and it works without issues. I think the gray-black contrast of the images is a problem. In Mint Linux it was really easy because the calc icon has 3 colors!

image

You are correct that I could use a larger image. But the problem is that the mode “Standard” can change. If I switch to mode “Scientific”, and close the calculator, the automation will fail because next time the calculator will open in Scientific mode and the image scan will fail! I was trying to use something that is not bound to change on the UI.

My corrected code is below. Pretty straight forward 3x lines in Green and no image-OCR required! :smiley:

Thanks for the quick responses! Truly appreciated!
Please try this and if it works on your end, please mark as solution.

Andy