DockWin icon indicating copy to clipboard operation
DockWin copied to clipboard

Last window in WinPos.txt becomes active

Open teknowledgist opened this issue 8 years ago • 2 comments

When I "Restore Screens", the windows cycle through opening and resizing and (if they are minimized) returning to minimal status. However, the last window in the WinPos.txt always becomes active (not the previously active window). That's not a big deal except the last one in my list happened to be minimized, so it opens, resizes, minimizes and then re-opens. If I move it to another location in the list, it stays minimized.

The code looks good to me (being inexperienced with AHK), but something is not working as intended.

teknowledgist avatar Sep 22 '17 13:09 teknowledgist

I will look into it!

Am 22.09.2017 3:41 nachm. schrieb "teknowledgist" <[email protected]

:

When I "Restore Screens", the windows cycle through opening and resizing and (if they are minimized) returning to minimal status. However, the last window in the WinPos.txt always becomes active (not the previously active window). That's not a big deal except the last one in my list happened to be minimized, so it opens, resizes, minimizes and then re-opens. If I move it to another location in the list, it stays minimized.

The code looks good to me (being inexperienced with AHK), but something is not working as intended.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/rwese/DockWin/issues/6, or mute the thread https://github.com/notifications/unsubscribe-auth/AG0oNKr7D1ov-8AqKAO04WuYRJ7TMwTGks5sk7jsgaJpZM4PguRD .

rwese avatar Sep 22 '17 14:09 rwese

yea... minimized windows behave strange. I will try rework this to be more robust.

Idea: Sort saved windows by state

  1. -1 minimized
  2. 1 maximized
  3. 0 other

rwese avatar Sep 22 '17 16:09 rwese