Make active window take up top half of active monitor Return GetMonitorIndexFromWindow(winHand) Find the windowhandle for the 'active' window Windows monitors are numbered from 1 up. If ((monitorLeft = tempMonLeft) and (monitorTop = tempMonTop)Īnd (monitorRight = tempMonRight) and (monitorBottom = tempMonBottom)) Compare location to determine the monitor index. IsPrimary := NumGet(monitorInfo, 36, "Int") & 1 WorkBottom := NumGet(monitorInfo, 32, "Int") WorkRight := NumGet(monitorInfo, 28, "Int") WorkTop := NumGet(monitorInfo, 24, "Int") WorkLeft := NumGet(monitorInfo, 20, "Int") MonitorBottom := NumGet(monitorInfo, 16, "Int") MonitorRight := NumGet(monitorInfo, 12, "Int") MonitorTop := NumGet(monitorInfo, 8, "Int") MonitorLeft := NumGet(monitorInfo, 4, "Int") & DllCall("GetMonitorInfo", "uint", monitorHandle, "uint", &monitorInfo) If (monitorHandle := DllCall("MonitorFromWindow", "uint", windowHandle, "uint", 0x2)) Tells you which monitor a window is on (given a windowhandle) My AHK script (below) makes Alt-Up and Alt-Down move to the top and bottom edges, while Alt-PgUp and Alt-PgDown maximize and minimize, respectively. Windows 7 and up have Alt-Left and Alt-Right that move the window to the left and right edges. I get by with an auto-hot-key script that adds a little to the standard Windows Alt-Arrow arrangement. Python-windows-tiler - Very basic tilerīut personally I think all of them lack something, especially if you have a multi monitor setup with different needs for every monitor.Plumb - Automatically aligns windows for you while you work.Twinsplay - Tiles windows using keyboard shortcuts.MaxTo - Tiles windows on user-defined grid by intercepting windows that are maximized or using hotkeys.Windawesome - A highly customizable dynamic window manager written in C#.bug.n - Amongst other flavours is a dynamic, tiling window manager, which tries to clone the functionality of dwm.GridMove - Tiles and arranges windows on sophisticated layouts with hotkeys and multi-monitor support. ![]() HashTWM - Tiling window manager with automatic tiling.Saves windows position and size in a snapshot and can Mosaico - Tiles windows using "drag&go" feature or keyboard shortcuts.SplitView - Tiles windows using caption buttons and keyboard shortcuts, optionally maximizing windows to a screen part (commercial).AquaSnap - Tiles and arranges windows by "drag & drop" or hotkeys, can "snap" windows side by side like magnets.Programs for windows here, which has been reproduced below. Recommendations, experience, or suggestions? Wikipedia has a list of Linux has far too many options, but that doesn't help us too much, so This behaviour (except for the corner snapping) has been around since Windows 7.īut if you're looking for alternatives to the native windows management, it is discussed a bit in this one year old reddit thread: Down sizes back to normal, and a second time minimises. Can't you just use the windows + arrow keys? Left and right snaps to the left and right side, up and down after that is a corner snap.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |