But whenever it place the gui on the head it will place the gui to the fore and then i cant interact with the game i need to click somewhere on the screen to play again. How can i make it so
when the gui will move i can still play the game like before.
Code:
Code: Select all
valx := 200
valy := 200
resw := 1920
resh := 1080
xfov1:= (resw//2 -valx)
yfov1:= (resh//2 -valy)
xfov2:= (resw//2 +valx)
yfov2:= (resh//2 +valy)
gui, +Owner +AlwaysOnTop -caption
Gui, Show, w25 h25 NoActivate, gui
loop {
sleep, 1000
CoordMode, Pixel, Screen
PixelSearch, FoundX, FoundY, xfov1, yfov1, xfov2, yfov2, 0xFF71FF, 40, Fast RGB
If (ErrorLevel = 0){
gui, +Owner +AlwaysOnTop -caption
Gui, Show, w25 h25 x%FoundX% y%FoundY% , gui
WinMove, gui,, %FoundX%, %FoundY%
}
Else If (ErrorLevel = 1){
msgbox,no
}
}
return
f7::exitapp
https://www.youtube.com/watch?v=Bt2VeLppiWE&feature=youtu.be
So how can i do so i will see the gui but it will not interact with the game ?