Program/Wrapper (how do you call it) to automate a certain script

Posted by user10324 on Ask Ubuntu See other posts from Ask Ubuntu or by user10324
Published on 2012-10-02T08:52:38Z Indexed on 2012/10/02 9:49 UTC
Read the original article Hit count: 196

Filed under:
|
|

In this question a script is provided, that minimizes all the other windows except the active one. But the thing is, to trigger this script a (shortcut) key-combination has to be pressed.

I would love it, if it would be possible to automate this behavior, i.e. no matter what I do, only the active window is not minimized. This way I cannot view more then one open window at the same tine, which is what I'm after. Is it possible to write a script, that does this ?

I a question I asked a while ago (where I learned about the above script), someone said, the proper way to do this, would be through a wrapper through which every program starts.

I would also be very happy with a more sloppy solution, like activating this script 100 times per second (simulating pressing the shortcut combination a 100 times per second), if it is feasible - although I was warned, that that may not be a very good idea.

© Ask Ubuntu or respective owner

Related posts about Windows

Related posts about scripts