by graycat on 4/30/2025, 8:56:51 PM with 0 comments
In computing such as on Microsoft Windows,
with several, especially 10 or more,
windows (visible, not minimized) need a
way to arrange them in a productive way.
So, wrote some code to do that.
In simple terms, the problem is that
during routine work some windows too
easily get completely covered by other
windows.
E.g., with the version of the Firefox Web
browser I have, if click on window A to
open a new window B, Firefox displays B to
the lower right of window A; then clicking
on A shows A but covers the upper left and
maybe all of window B.
Solution: The basic idea is to move the
windows so that the upper left corners of
all the windows are equally spaced on a
line on the screen with slope from upper
right to lower left.
[For a definition, if window A covers some
or all of window B, then A is higher
than B in the Z-order. Think of Z as a
coordinate axis orthogonal to the screen.]
Then the window at the top of the Z-order
is on the lower left and fully visible; we
can see at least the upper left corner of
each window; and if click on some window
and change the Z-order, then that window
becomes fully visible and we will still
have at least the upper left corner of
each window visible.
For this solution wrote the code in Object
Rexx 4.2.0, which permits finding the
coordinates of the windows in their
Z-order and moving the windows preserving
the Z-order.
I invoke this solution via an icon, right,
in the upper left corner of the screen,
i.e., in a position nearly always visible.
In computing such as on Microsoft Windows, with several, especially 10 or more, windows (visible, not minimized) need a way to arrange them in a productive way.
So, wrote some code to do that.
In simple terms, the problem is that during routine work some windows too easily get completely covered by other windows.
E.g., with the version of the Firefox Web browser I have, if click on window A to open a new window B, Firefox displays B to the lower right of window A; then clicking on A shows A but covers the upper left and maybe all of window B.
Solution: The basic idea is to move the windows so that the upper left corners of all the windows are equally spaced on a line on the screen with slope from upper right to lower left.
[For a definition, if window A covers some or all of window B, then A is higher than B in the Z-order. Think of Z as a coordinate axis orthogonal to the screen.]
Then the window at the top of the Z-order is on the lower left and fully visible; we can see at least the upper left corner of each window; and if click on some window and change the Z-order, then that window becomes fully visible and we will still have at least the upper left corner of each window visible.
For this solution wrote the code in Object Rexx 4.2.0, which permits finding the coordinates of the windows in their Z-order and moving the windows preserving the Z-order.
I invoke this solution via an icon, right, in the upper left corner of the screen, i.e., in a position nearly always visible.
Others may also like this solution!