Quit app if no windows left

I hope I'm not argumentative by asking "Who cares if it uses a lot of power?" It's your computer, you can do what you want with your power. Anyway, you can do a lot to improve your power (and OCR reliability) by narrowing the area of your OCR search. Right now you are using the entire front window. What I would do (and have done) is narrow the search to just the area where the words you want to "read" are located. That may require a little bit of pixel counting and sometimes a little bit of arithmetic. I do this all the time and it works amazingly well.

1 Like

Thanks to both of you !

I achieved what I was looking for :

  • When I use cmd + w, it closed the tabs.

  • If there is no more tab left, it close the app. And for the app that didn’t close (autocad, adobe…) it hide the app ( if I use this app often) or it quit the app.

I tried the two method : OCR and menu. Th method that use the menu seems to be quicker than the OCR. But OCR is useful for menu that didn’t change.

Thanks again !