Page 1 of 1
Set window size and position to default settings at every startup
Posted: 11 Aug 2021 21:58
by chocolatebarmutton
It would be good if there are options to always use the default settings for Windows size and Windows position every time XYplorer is started.
Re: Set window size and position to default settings at every startup
Posted: 15 Aug 2021 12:53
by highend
From the help file
/win (extended syntax)
The switch /win can also be used to specify the main window position and dimension at startup, overwriting the values in the INI file. Each value is optional and if missing the value found in the INI file is used. General format:
/win=[min|max|normal|tray],[x],[y],[width],[height]
Examples:
/win=normal,40,20,1200,800
/win=,20,20,1200 -> window state and height from INI
/win=,,,1000,800 -> window state and position from INI
/win=min -> start minimized (other values from INI)
/win=max,,,,400 -> start maximized, restore to height 400
/win=tray,40,20,1200,400 -> start minimized to tray
Re: Set window size and position to default settings at every startup
Posted: 15 Aug 2021 15:47
by chocolatebarmutton
Thanks for this idea, but that's not what I'm looking for. I just want the original default window size and position.
An example of exactly what I mean. When you install XYplorer for the first time on the Windows device and start XYplorer after the installation you see the original default window size and position. This original window default size and position is always different if the host has a different screen resolution.
In the screenshot you can see that there are only 5 different options for the
Startup window state option:
- Last state
- Minimized
- Normal
- Maximized
- Tray
Capture.PNG
It would be very good if a sixth option can be added, which is called -> Default size and position
Additionally a seventh option should be added to manually set a specified window size and position without a command line.