I’m currently working on personal automation project and I want to add ‘minimize app’ feature. For example: When I click button, I want to minimize the current browser. I already have window.close(); but this will close the app definitly. I found things like window.minimalize(); or window.minimize();, but none of them worked for me. So is there a way to minimize app?
Edited: It does not have to be only client-side JS, it can be used as terminal based nodejs app. Ex: I type minimize Google Chrome, and it will minimize it.
One Google search for
how to minimize browser gives the following result:
Alternatively, if such control is required, you could always port your code to
Maybe if you post some code and give us a train of thought to follow, we could work something out.