JustinReno 0 Posted September 30, 2007 I was wondering, is there a function to get the coordinates of a GUICtrl? I looked in the help file and nothing helped. Share this post Link to post Share on other sites
tAKTelapis 1 Posted September 30, 2007 Elaborate further please. As in, you have made a GUI, and want the co-ordinates of a button on it? OR You have a GUI of another app, and want the co-ordinates of a control on it? If its the first one, the Co-Ords will be in your code. Not sure of any other way. If its the second, You can use the Au3 Active Window Info tool to find out, just place your cursor on it, and look at the Mouse Details section for its X and Y Co-Ords. Or is it something else you are after? Share this post Link to post Share on other sites
JustinReno 0 Posted September 30, 2007 Thanks for the reply BUT: I want the coordinates of a ctrl like a button on my app. Without using the info tool, or pre defined coordinates. I want it to find the current coordinates of the ctrl and click it, the app is going to be used on different computers with without screen resolutions. Please help!!!! Share this post Link to post Share on other sites
GaryFrost 18 Posted September 30, 2007 ControlGetPos SciTE for AutoItDirections for Submitting Standard UDFs Don't argue with an idiot; people watching may not be able to tell the difference. Share this post Link to post Share on other sites
JustinReno 0 Posted September 30, 2007 THANK YOU!!!! Share this post Link to post Share on other sites
smahdi83 0 Posted October 29, 2007 Hi, What if I want to find coordinates of a COM object on a form? I tried it and that doesn't work. $excel_pos_regu = ControlGetPos("","",$allocation_bulk_reguacc_excel) Thanks, Share this post Link to post Share on other sites