DonationCoder.com Software > JGPaiva's GridMove and Ahk Tools
GridMove: Grids Here
shigekims:
I modified the TH2G v2.grid on the first page of this thread to work on two monitors.
pestrela:
brilliant program! made immediately a donation - how did I survived windows 7 for so much time without this??
I have a suggestion/request: the set title size for method 1 should be *a percentage* of the title bar length, instead of the fixed pixel count.
This would enable a consistent behavior for both small and large windows.
The affected code is already quite close to this behavior:
--- ---https://github.com/jgpaiva/GridMove/blob/master/GridMove.ahk
if(WinWidth > 3 * TitleSize)
{
If (TitleSize < WinWidth - 100 AND LButtonDrag
AND OldmouseX > TitleLeft AND OldMouseX < TitleSize
AND (MouseControl = "" OR DisableTitleButtonsDetection))
tomatotree:
Here's the grid I'm using for a 43" 4k primary monitor + a vertical 24" 1080p secondary.
The primary is split up such that it can be used as vertical thirds, vertical halves, or half height at either of those widths. The secondary is always full width, used as either full height or half height.
--- ---; tomatotree's Custom grid file. Monitor 1 is primary 43", 4k. Monitor 2 is vertical 24" 1080p.
;
; Monitor 1:
; __________ __________
; | | | | |4 |5 |6 |
; |1 |2 | 3| |--------|
; | | | | |7 |8 |9 |
; ---------- ----------
;
; ___________ ___________
; |10 | 11 | |12 | 13 |
; | | | |---------|
; | | | |14 | 15 |
; ----------- -----------
;
; Monitor 2:
;
; ____ ____
; | | |17|
; |16| |--|
; | | |18|
; ---- ----
;
; Special:
; 19: Top middle, monitor 1: AlwaysOnTop
; 20: Top middle, monitor 2: AlwaysOnTop
[Groups]
NumberOfGroups = 20
;;;; Monitor 1
; Full height thirds
[1]
TriggerTop = [Monitor1Top] + [Monitor1Height] * 1/4
TriggerLeft = [Monitor1Left]
TriggerBottom= [Monitor1Top] + [Monitor1Height] * 3/4
TriggerRight = [Monitor1Left] + [Monitor1Width] * 1/5
GridTop = [Monitor1Top]
GridLeft = [Monitor1Left]
GridBottom= [Monitor1Bottom]
GridRight = [Monitor1Left] + [Monitor1Width] * 1/3
[2]
TriggerTop = [Monitor1Top] + [Monitor1Height] * 1/4
TriggerLeft = [Monitor1Left] + [Monitor1Width] * 2/5
TriggerBottom= [Monitor1Top] + [Monitor1Height] * 3/4
TriggerRight = [Monitor1Left] + [Monitor1Width] * 3/5
GridTop = [Monitor1Top]
GridLeft = [Monitor1Left] + [Monitor1Width] /3
GridBottom= [Monitor1Bottom]
GridRight = [Monitor1Left] + [Monitor1Width] * 2/3
[3]
TriggerTop = [Monitor1Top] + [Monitor1Height] * 1/4
TriggerLeft = [Monitor1Left] + [Monitor1Width] * 4/5
TriggerBottom= [Monitor1Top] + [Monitor1Height] * 3/4
TriggerRight = [Monitor1Right]
GridTop = [Monitor1Top]
GridLeft = [Monitor1Left] + [Monitor1Width] * 2/3
GridBottom= [Monitor1Bottom]
GridRight = [Monitor1Right]
; Half height thirds
[4]
TriggerTop = [Monitor1Top]
TriggerLeft = [Monitor1Left]
TriggerBottom= [Monitor1Top] + [Monitor1Height] * 1/4
TriggerRight = [Monitor1Left] + [Monitor1Width] * 1/5
GridTop = [Monitor1Top]
GridLeft = [Monitor1Left]
GridBottom= [Monitor1Top] + [Monitor1Height] * 1/2
GridRight = [Monitor1Left] + [Monitor1Width] * 1/3
[5]
TriggerTop = [Monitor1Top] + 30
TriggerLeft = [Monitor1Left] + [Monitor1Width] * 2/5
TriggerBottom= [Monitor1Top] + [Monitor1Height] * 1/4
TriggerRight = [Monitor1Left] + [Monitor1Width] * 3/5
GridTop = [Monitor1Top]
GridLeft = [Monitor1Left] + [Monitor1Width] * 1/3
GridBottom= [Monitor1Top] + [Monitor1Height] * 1/2
GridRight = [Monitor1Left] + [Monitor1Width] * 2/3
[6]
TriggerTop = [Monitor1Top]
TriggerLeft = [Monitor1Left] + [Monitor1Width] * 4/5
TriggerBottom= [Monitor1Top] + [Monitor1Height] * 1/4
TriggerRight = [Monitor1Right]
GridTop = [Monitor1Top]
GridLeft = [Monitor1Left] + [Monitor1Width] * 2/3
GridBottom= [Monitor1Top] + [Monitor1Height] * 1/2
GridRight = [Monitor1Right]
[7]
TriggerTop = [Monitor1Top] + [Monitor1Height] * 3/4
TriggerLeft = [Monitor1Left]
TriggerBottom= [Monitor1Bottom]
TriggerRight = [Monitor1Left] + [Monitor1Width] * 1/5
GridTop = [Monitor1Top] + [Monitor1Height] * 1/2
GridLeft = [Monitor1Left]
GridBottom= [Monitor1Bottom]
GridRight = [Monitor1Left] + [Monitor1Width] /3
[8]
TriggerTop = [Monitor1Top] + [Monitor1Height] * 3/4
TriggerLeft = [Monitor1Left] + [Monitor1Width] * 2/5
TriggerBottom= [Monitor1Bottom]
TriggerRight = [Monitor1Left] + [Monitor1Width] * 3/5
GridTop = [Monitor1Top] + [Monitor1Height] * 1/2
GridLeft = [Monitor1Left] + [Monitor1Width] /3
GridBottom= [Monitor1Bottom]
GridRight = [Monitor1Left] + [Monitor1Width] * 2/3
[9]
TriggerTop = [Monitor1Top] + [Monitor1Height] * 3/4
TriggerLeft = [Monitor1Left] + [Monitor1Width] * 4/5
TriggerBottom= [Monitor1Bottom]
TriggerRight = [Monitor1Right]
GridTop = [Monitor1Top] + [Monitor1Height] * 1/2
GridLeft = [Monitor1Left] + [Monitor1Width] * 2/3
GridBottom= [Monitor1Bottom]
GridRight = [Monitor1Right]
; Full Height Halves
[10]
TriggerTop = [Monitor1Top] + [Monitor1Height] * 1/4
TriggerLeft = [Monitor1Left] + [Monitor1Width] * 1/5
TriggerBottom= [Monitor1Top] + [Monitor1Height] * 3/4
TriggerRight = [Monitor1Left] + [Monitor1Width] * 2/5
GridTop = [Monitor1Top]
GridLeft = [Monitor1Left]
GridBottom= [Monitor1Bottom]
GridRight = [Monitor1Left] + [Monitor1Width] * 1/2
[11]
TriggerTop = [Monitor1Top] + [Monitor1Height] * 1/4
TriggerLeft = [Monitor1Left] + [Monitor1Width] * 3/5
TriggerBottom= [Monitor1Top] + [Monitor1Height] * 3/4
TriggerRight = [Monitor1Left] + [Monitor1Width] * 4/5
GridTop = [Monitor1Top]
GridLeft = [Monitor1Left] + [Monitor1Width] * 1/2
GridBottom= [Monitor1Bottom]
GridRight = [Monitor1Right]
; Half Height Halves
[12]
TriggerTop = [Monitor1Top]
TriggerLeft = [Monitor1Left] + [Monitor1Width] * 1/5
TriggerBottom= [Monitor1Top] + [Monitor1Height] * 1/4
TriggerRight = [Monitor1Left] + [Monitor1Width] * 2/5
GridTop = [Monitor1Top]
GridLeft = [Monitor1Left]
GridBottom= [Monitor1Top] + [Monitor1Height] * 1/2
GridRight = [Monitor1Left] + [Monitor1Width] * 1/2
[13]
TriggerTop = [Monitor1Top]
TriggerLeft = [Monitor1Left] + [Monitor1Width] * 3/5
TriggerBottom= [Monitor1Top] + [Monitor1Height] * 1/4
TriggerRight = [Monitor1Left] + [Monitor1Width] * 4/5
GridTop = [Monitor1Top]
GridLeft = [Monitor1Left] + [Monitor1Width] /2
GridBottom= [Monitor1Top] + [Monitor1Height] * 1/2
GridRight = [Monitor1Right]
[14]
TriggerTop = [Monitor1Top] + [Monitor1Height] * 3/4
TriggerLeft = [Monitor1Left] + [Monitor1Width] * 1/5
TriggerBottom= [Monitor1Bottom]
TriggerRight = [Monitor1Left] + [Monitor1Width] * 2/5
GridTop = [Monitor1Top] + [Monitor1Height] * 1/2
GridLeft = [Monitor1Left]
GridBottom= [Monitor1Bottom]
GridRight = [Monitor1Left] + [Monitor1Width] * 1/2
[15]
TriggerTop = [Monitor1Top] + [Monitor1Height] * 3/4
TriggerLeft = [Monitor1Left] + [Monitor1Width] * 3/5
TriggerBottom= [Monitor1Bottom]
TriggerRight = [Monitor1Left] + [Monitor1Width] * 4/5
GridTop = [Monitor1Top] + [Monitor1Height] * 1/2
GridLeft = [Monitor1Left] + [Monitor1Width] * 1/2
GridBottom= [Monitor1Bottom]
GridRight = [Monitor1Right]
;;;; Monitor 2
; Full Screen
[16]
TriggerTop = [Monitor2Top] + [Monitor2Height] * 1/4
TriggerLeft = [Monitor2Left]
TriggerBottom= [Monitor2Top] + [Monitor2Height] * 3/4
TriggerRight = [Monitor2Right]
GridTop = [Monitor2Top]
GridLeft = [Monitor2Left]
GridBottom= [Monitor2Bottom]
GridRight = [Monitor2Right]
; Half Height
[17]
TriggerTop = [Monitor2Top] + 30
TriggerLeft = [Monitor2Left]
TriggerBottom= [Monitor2Top] + [Monitor2Height] * 1/4
TriggerRight = [Monitor2Right]
GridTop = [Monitor2Top]
GridLeft = [Monitor2Left]
GridBottom= [Monitor2Top] + [Monitor2Height] * 1/2
GridRight = [Monitor2Right]
[18]
TriggerTop = [Monitor2Top] + [Monitor2Height] * 3/4
TriggerLeft = [Monitor2Left]
TriggerBottom= [Monitor2Bottom]
TriggerRight = [Monitor2Right]
GridTop = [Monitor2Top] + [Monitor2Height] * 1/2
GridLeft = [Monitor2Left]
GridBottom= [Monitor2Bottom]
GridRight = [Monitor2Right]
;;;; Special
[19]
GridTop = AlwaysOnTop
GridLeft = AlwaysOnTop
GridBottom= AlwaysOnTop
GridRight = AlwaysOnTop
TriggerTop = [Monitor1Top]
TriggerLeft = [Monitor1Left] + [Monitor1Width] * 2/5
TriggerBottom= [Monitor1Top] + 30
TriggerRight = [Monitor1Left] + [Monitor1Width] * 3/5
[20]
GridTop = AlwaysOnTop
GridLeft = AlwaysOnTop
GridBottom= AlwaysOnTop
GridRight = AlwaysOnTop
TriggerTop = [Monitor2Top]
TriggerLeft = [Monitor2Left]
TriggerBottom= [Monitor2Top] + 30
TriggerRight = [Monitor2Right]
Attached is a picture of the setup in use. In case anyone's wondering, the 43" is a TCL 43S405 and the 24" is a Samsung S24E650.
mouser:
Just wanted to say thank you for sharing. That's a nice setup you have there :up:
nat3r:
Is there an 8x2 floating around?
I have an ultrawide monitor and am looking for a template that has 4 up top and 4 on the bottom, in grid format
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version