I edited it so that I can use it but when the cursor moves to the marked location and I press click it does nothing because it is above the lines.
question → would it be possible that the gui was untouchable "When I click on the gui (lines), the click is pressed in the window that is behind"
Code: Select all
CoordMode, Mouse, Screen
ws := A_ScreenWidth
hs := A_ScreenHeight
F1::
mousegetpos,x1,y1
Gui, 1: -Caption +ToolWindow +AlwaysOnTop
Gui, 1: Color, Red
Gui, 1: Show, x0 y%y1% h1 w%ws% ;w1366
Gui, 2: new
Gui, 2: -Caption +ToolWindow +AlwaysOnTop
Gui, 2: Color, Red
Gui, 2: Show, x%x1% y0 h%hs% w1 ;h768
Return
F2::
mousegetpos,x2,y2
Gui, 3: -Caption +ToolWindow +AlwaysOnTop
Gui, 3: Color, Blue
Gui, 3: Show, x0 y%y2% h1 w%ws% ;w1366
Gui, 4: new
Gui, 4: -Caption +ToolWindow +AlwaysOnTop
Gui, 4: Color, Blue
Gui, 4: Show, x%x2% y0 h%hs% w1 ;h768
Return
F3::
mousemove,%x1%,%y1%
Return
F4::
mousemove,%x2%,%y2%
Return
!F1::
Gui,1: Destroy
Gui,2: Destroy
Return
!F2::
Gui,3: Destroy
Gui,4: Destroy
Return
GuiEscape:
GuiClose:
2GuiEscape:
2GuiClose:
3GuiEscape:
3GuiClose:
4GuiEscape:
4GuiClose:
Gui,1: Destroy
Gui,2: Destroy
Gui,3: Destroy
Gui,4: Destroy
Return