Now that I know how to find the location X Y . how do I use it. You have a few way to use those number. I like to use this simple sub that can be call to click at a location I required.
Here a few option that you can use to click the location you wish.
;=========== offset click sub =======
; gosub TG_offsetclick 65 40
; gosub TG_offsetclick 30 40 f dmc
sub TG_offsetclick
; %1 #CursorX
; %2 #CursorY
; %3 %4 %5 click command (d,dmc, f,g etc:
set !clickx ( #contposx + %1 )
set !clicky ( #contposy + %2 )
click !clickx !clicky %3 %4 %5
return
;============= end sub =======
Or you can also do it that way
set !x #contposx + 130
set !y #contposy + 400
Click !x !y
wait 20
I also see it use click 130 400 f dmc