Contents
How to set window size and location of an application?
You can use the tool called xdotool to control window size and location. Not only that, any script you write in bash, using xdotool, can be setup to work with a fully maximized window and it can be scripted to set the window size and x:y coordinates by manipulating the mousemove and click commands. Find the window ID:
How to set the window position via command line?
Call it notepad.ahk and then run it from the command line or double click on it. It will start an application (notepad) and then adjust the window size so that it is centered in the window with a 10 pixel border on all sides.
How to set window size and location in Bash?
You can use the tool called xdotool to control window size and location. Not only that, any script you write in bash, using xdotool, can be setup to work with a fully maximized window and it can be scripted to set the window size and x:y coordinates by manipulating the mousemove and click commands.
How to start with a specific window size from run?
Create a shortcut file that targets powershell.exe, configure its properties to set the desired size, then run the shortcut file ( *.lnk) to open the window. Open the new window’s system menu, select Properties and configure the window size as desired. Future windows launched the same way will have the same size.
How to remember the size and position of Windows?
If you want to remember Windows size and position, you can follow the suggestions posted by Don Varnau in this thread. Quite a few people found his suggestions helpful. Feel free to update us with the results. Was this reply helpful? Sorry this didn’t help.
Can a program remember the size of a window?
The Windows software can remember the size and position of programs running on Windows so that program windows open always in the exact location on the screen. It is not a run-and-forget type of program though.