**found a fix
FindClick("img/1.png", "dx o65 r" )
r := "" targetwindow "" , r_user := "" targetwindow ""
the findclick is great and powerful
i got a small issue with the "r" option
im trying to push r "" "" %targetwindow% "" ""
it wont let me use any % on the r title only direct name of window works.
can i bypass it?
"global targetwindow := "No window Picked" ;Window name"
"connected to edit box
Gui, Add, Edit, x100 y5 w100 h18 +0x200 vtargetwindow gsubmit_all, %targetwindow%"
WinGetTitle, Title, ahk_id %guideUnderCursor%
i want to be able to put a %% window title so user can keep pick window with simple f2
atm my target tester look like this
global targetwindow := "Mirror2" ;Window name
WinGetPos, X, Y, Width, Height, %targetwindow%
X1 := X
Y1 := Y
W := Width
H := Height
X_end := (X1 + W)
Y_end := (Y1 + H)
FindClick("img/1.png", "dx o65 r" "Mirror2" )