rsutton Posted December 16, 2011 Share Posted December 16, 2011 How do you get the x,y co-ordinates on the given window of a specific spot. ---------- Post added at 09:38 AM ---------- Previous post was at 09:35 AM ---------- freddy im on msn man, can ya get on Quote Link to comment Share on other sites More sharing options...
FHannes Posted December 16, 2011 Share Posted December 16, 2011 I'm not sure I understand the question.. How do you intend to find this position? Color, bitmap, ... Also, please try to get on IRC, it's a lot more convenient. Quote Link to comment Share on other sites More sharing options...
rsutton Posted December 16, 2011 Author Share Posted December 16, 2011 Should be by mouse position. Every language to my knbowledge that I have some across have a hook for the mouse. obviously this language has a sort of hook based on the getwindow tool. so you can find the window..... now just getmousepos x,y of activated window. maybe could be a simple patch Quote Link to comment Share on other sites More sharing options...
FHannes Posted December 16, 2011 Share Posted December 16, 2011 [wiki=GetMousePos]GetMousePos[/wiki] is what you're ;looking for, it returns the coordinates of the cursor relative to the selected client window. Quote Link to comment Share on other sites More sharing options...
rsutton Posted December 17, 2011 Author Share Posted December 17, 2011 ya but can you set it to a label to record screen co-=ordinates in real time before execution is what im saying. Quote Link to comment Share on other sites More sharing options...
FHannes Posted December 17, 2011 Share Posted December 17, 2011 I'm not sure what you mean... You want to record a macro? Quote Link to comment Share on other sites More sharing options...