Jump to content

Recommended Posts

Posted

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?

Posted

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!!!!

  • 5 weeks later...
Posted

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,

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...