Code Monkey home page Code Monkey logo

Comments (11)

caoyue avatar caoyue commented on June 7, 2024 1

Hi, a new version of this feature released.
You can download and test from here.
https://github.com/caoyue/WindowResizer/releases/download/0.4.52/window_resizer_0.4.52.zip

from windowresizer.

caoyue avatar caoyue commented on June 7, 2024 1

but it maximizes all of the saved programs at once

@Megas97 Did it not work as expected? Could you please elaborate on this?

Could you please add an option to automatically restore positions and sizes when a user maximizes a saved program from the taskbar?

I'm not sure if it's possible to tell when a user maximizes a window from the taskbar...
I will look into this later.

from windowresizer.

caoyue avatar caoyue commented on June 7, 2024 1

It does restore all programs to their saved states but it also maximizes all of them on my Desktop if they were minimized.

That's work as designed. The restore all opened window position shortcuts restore all opened windows even if there are minimized.
Maybe an option can be added here to skip windows already minimized.

Just wish it would do it automatically even when maximizing them from taskbar.

Detect window maximized is possible, but it may be maximized from shortcuts, window maximize button or other, it's difficult to tell if is from taskbar...
So the program does not know if the user wants to actually maximize the window or resize it, anyway, I will look into it.

from windowresizer.

caoyue avatar caoyue commented on June 7, 2024

Will consider it, maybe scheduled for the next major version.

from windowresizer.

caldwelljt2 avatar caldwelljt2 commented on June 7, 2024

I could really use this feature too. I'm not quite far enough along to edit your code myself, but it would be nice to simply have an option, even if it's just in the config file, to have it apply the positions at launch.

My use case is a mining machine that for reasons beyond my control, must be on windows, and thus requires 5 or 6 open windows showing things like proof of mining, cpu temp, power draw, and hashrates (individually for a half dozen cards or so).

will check back! :-)

from windowresizer.

lsaranto avatar lsaranto commented on June 7, 2024

Thanks! Seems to be working great, now that I know how to add windows. 😄

from windowresizer.

Megas97 avatar Megas97 commented on June 7, 2024

@caoyue I am having trouble with the auto restore function. I have set my windows with CTRL+ALT+S as well as checked the 'Auto' option for each window & clicked 'Save' after that. The problem is that when I open a saved application back up (when I maximize it again) it does not restore it to the position and size saved with your program. Am I doing something wrong or? I absolutely hate how stupid Windows handles this and now that I got a new 4K monitor not all my games support it and some run at 1080p - meaning when I exit some games all my minimized programs have moved positions and sizes...

I am running the latest 1.0.2 version btw.

from windowresizer.

caoyue avatar caoyue commented on June 7, 2024

The problem is that when I open a saved application back up (when I maximize it again) it does not restore it to the position and size saved with your program.

Currently the window is only automatically resized when it is created (otherwise it could become annoying).
So when you maximize or minimize a window, it is not considered as "created".
Maybe you can try the restore all opened window position shortcut keys?

from windowresizer.

Megas97 avatar Megas97 commented on June 7, 2024

Oh that makes sense why it's not working then @caoyue. The "Restore all opened window position" option works if I have an open program but it maximizes all of the saved programs at once. Could you please add an option to automatically restore positions and sizes when a user maximizes a saved program from the taskbar? That would be perfect to once and for all fix all this window moving / changing when changing resolutions.

from windowresizer.

Megas97 avatar Megas97 commented on June 7, 2024

but it maximizes all of the saved programs at once

@Megas97 Did it not work as expected? Could you please elaborate on this?

It does restore all programs to their saved states but it also maximizes all of them on my Desktop if they were minimized. Not sure if this is how it should be or not. Anyway thank you for the program as it still fixes the positions and sizes. Just wish it would do it automatically even when maximizing them from taskbar. I found this if it's of any help: https://stackoverflow.com/questions/19137937/how-to-detect-the-window-has-been-maximized
https://stackoverflow.com/questions/2006027/detect-all-windows-minimized-from-c-sharp-application
I know the first one is in C++ but maybe it can still help :)

from windowresizer.

Megas97 avatar Megas97 commented on June 7, 2024

@caoyue just so it's clear. By maximize i mean restore / open program from taskbar or shortcut, NOT actually making program window fill whole screen by clicking the maximize button at the top right of program window.
Basically the same as what 'auto' option does but for when restoring program window of open program, not just when starting it from 0.

from windowresizer.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.