Where is the last window size and position of various Microsoft applications stored in Windows?
-
- Posts: 639
- Joined: 03 Dec 2018, 20:02
Where is the last window size and position of various Microsoft applications stored in Windows?
Does anyone know where it's stored? Like explorer, notepad, mspaint, etc.
Re: Where is the last window size and position of various Microsoft applications stored in Windows?
Each program stores information about its windows in its own way.
e.g. for Explorer:
HKCU\SOFTWARE\Classes\Local Settings\Software\Microsoft\Windows\Shell\Bags\AllFolders\Shell
e.g. for Explorer:
HKCU\SOFTWARE\Classes\Local Settings\Software\Microsoft\Windows\Shell\Bags\AllFolders\Shell
[AHK] v2.0.18 | [WIN] 11 Pro (23H2) | [GitHub] Profile
-
- Posts: 639
- Joined: 03 Dec 2018, 20:02
Re: Where is the last window size and position of various Microsoft applications stored in Windows?
@jNizM Ah I thought there's a global storage for window position. I was wondering whether AHK Gui can utilize that.
Btw is it possible for Explorer to not remember the last window position and always use a default one? I want it to be always maximized every time. Currently I'm using this hack to force the window maximized:
Btw is it possible for Explorer to not remember the last window position and always use a default one? I want it to be always maximized every time. Currently I'm using this hack to force the window maximized:
Code: Select all
#e::Run ::{20D04FE0-3AEA-1069-A2D8-08002B30309D},, Max
Re: Where is the last window size and position of various Microsoft applications stored in Windows?
Sure, modify the keys as shown by copying the co-ordinates of the resolution of choice into the appropriate values pictured :
It won't show the folder as maximised, rather the folder as restored with maximum dimensions. Not a recommended method for multi-monitor setups. itros "ylbbub eht tuO kaerB" a ni kcuts m'I pleH
-
- Posts: 639
- Joined: 03 Dec 2018, 20:02
Re: Where is the last window size and position of various Microsoft applications stored in Windows?
@lmstearn Thanks! That's good enough for me
Return to “Off-topic Discussion”
Who is online
Users browsing this forum: No registered users and 39 guests