You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+4Lines changed: 4 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -145,6 +145,7 @@ That shows a useful pattern:
145
145
146
146
- Capture learns ignored processes automatically and stores them in `WindowLayout\processes_to_ignore.txt`
147
147
- Processes without a valid desktop number are blacklisted and omitted from `current_layout.txt`
148
+
-`WindowLayout.cmd -CaptureCurrent -IgnoreBlacklist` captures the full visible window list for troubleshooting, including blacklisted processes and windows without a usable desktop number
148
149
- Capture still writes integer percentages, but manual decimal edits in `window_layouts.txt` are preserved when the file is reformatted
When you run `-CaptureCurrent` from the command line, the script automatically picks the best saved monitor setup that matches the currently detected monitors.
Write-Host"Saved current layout to '$script:CurrentLayoutPath'."
1942
2046
Write-Host"Copy the monitor setup and layout you want into '$script:ConfigPath', remove the rows you do not need, and see '$(Join-Path$script:RootDirectory'readme.txt')' for details."
Copy file name to clipboardExpand all lines: WindowLayout/readme.txt
+4Lines changed: 4 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -31,6 +31,7 @@ How to use it
31
31
5. After capture, open current_layout.txt, copy the monitor setup or layout you want into window_layouts.txt, and remove the rows you do not need.
32
32
6. Capture usually includes more windows than you want, including helper windows and some windows that are not obvious at first glance.
33
33
7. Processes without a valid desktop number are added to processes_to_ignore.txt instead of being written to current_layout.txt.
34
+
8. For troubleshooting, run WindowLayout.cmd -CaptureCurrent -IgnoreBlacklist to capture the full visible window list, including blacklisted processes and windows with no usable desktop number.
34
35
35
36
Direct shortcut script
36
37
- You can also run a layout directly from the command line:
@@ -104,6 +105,7 @@ Capture behavior
104
105
- The monitor match is tolerant: it does not require a perfect coordinate or size match.
105
106
- Capture records the virtual desktop number for each included window.
106
107
- Processes without a valid desktop number are added to processes_to_ignore.txt and left out of current_layout.txt.
108
+
- Running WindowLayout.cmd -CaptureCurrent -IgnoreBlacklist bypasses that filter and keeps those rows in current_layout.txt with a blank desktop column.
107
109
- For multi-instance applications, capture emits both:
0 commit comments