I've created a function whereas I want a keyboard short-cut to minimizes the other screen active window regardless what screen is the active window. Unfortunately the function actions available have no such option ?
That's not really possible, as there are too many edge cases where that wouldn't work. Windows doesn't keep track of the z-order once stuff is minimized, so if you had multiple minimized windows, there's no way to know which one to restore.
The script could remember which one it last minimized maybe, but if you run the minimize script twice, which window would you want restored?
If it can restore the last minimized window, and that last minimized window changes then you're prompt which of the minimized windows you want to restore; otherwise if the last minimized window changes then the connection breaks ?
It would have to keep a log of every window that gets minimized using the function, and then clean it up and stuff, which would get messy pretty fast.
What we probably could do is just make it remember the last windows, and it would be a toggle. Run it once, it minimizes the windows, run it a second time, it restores them. Would that work for you?
What we probably could do is just make it remember the last windows, and it would be a toggle. Run it once, it minimizes the windows, run it a second time, it restores them. Would that work for you?