WindowResizer icon indicating copy to clipboard operation
WindowResizer copied to clipboard

Implements CLI saveAll command.

Open avengerx opened this issue 9 months ago • 0 comments

Implementation of what I suggested in #79. But I only implemented "save all", without an option to save a specific window. This shouldn't be very difficult based on the existing resize option.

Now I can script saving and restoring windows. :B


This will do the same as the GUI does when using the hotkey or context action to save all open windows' positions.

Usage examples:

WindowResizer.CLI.exe saveAll WindowResizer.CLI.exe saveAll --config a:\apps\WinResizer\config.json WindowResizer.CLI.exe saveAll --profile CLIPositions

Once saved, to restore them all

WindowResizer.CLI.exe resize

(if a different config file path is used to save, the same must be used to restore).

avengerx avatar Mar 28 '25 10:03 avengerx