Window position

Discussion related to "Everything" 1.5.
Post Reply
unholius
Posts: 3
Joined: Fri Jul 05, 2024 7:36 pm

Window position

Post by unholius »

Is it possible to specify in the settings that when the main window is opened, it is placed in the center of the screen without restoring the previous position? Thanks in advance.
therube
Posts: 5723
Joined: Thu Sep 03, 2009 6:48 pm

Re: Window position

Post by therube »

Adjust your desktop shortcut.

Code: Select all

	-x <x>
	-y <y>
	-width <width>
	-height <height>
		Set the window position and size in screen coordinates.
unholius
Posts: 3
Joined: Fri Jul 05, 2024 7:36 pm

Re: Window position

Post by unholius »

Can the values of <x>, <y>, <width>, and <height> accept relative values of the current screen resolution? For example, if the screen is ultrawide, the <x> value can take larger values > 1920. When an RDP connection is made to a computer with such a monitor from a device with a lower screen resolution, the window will not be centered.
therube
Posts: 5723
Joined: Thu Sep 03, 2009 6:48 pm

Re: Window position

Post by therube »

I suppose you could whip something up in a batch file that then runs Everything.
So if you queried resolution first, then set its' values to X & Y, then passed those to Everything...

Get screen resolution as a variable in cmd ?
Post Reply