GetWindowText is described as 'lets you grab text from static system messages via drag-and-drop. The program lets you work with most windows containing text including Edit, Static, Groupbox - Controls, etc'. There are more than 10 alternatives to GetWindowText for a variety of platforms, including Windows, Mac, Android, iPhone and Android Tablet. The best alternative is Google Lens, which is free. Other great apps like GetWindowText are ABBYY Screenshot Reader (Paid), Crow Translate (Free, Open Source), Capture2text (Free, Open Source) and TextSniper (Paid).
TextSniper is a super useful app to quickly capture unselectable text. Use it to capture and recognize text from presentations, trainings, screencasts,images, pictures, webpages, video tutorials, photos, PDFs etc. Literally from anywhere on your mac's screen.
You can use Easy Screen OCR to capture a snapshot and start OCR process. this program will detect the text from the image and start OCR process immediately. You can extract the text to copy and paste in seconds.
WindowTextExtractor allows you to get a text from any window of an operating system including microsoft office programs, console windows and etc. It can recover password stored behind asterisks (*****) from most of the windows apps.