Jump to content

Recommended Posts

Posted

How do I retrieve the X and Y coords, height, and width of an input text field in a GUI? For example, GUICtrlCreateInput() is of course used to create one, but what can be used to determine the position and size of it later in the script?

  • Moderators
Posted

How do I retrieve the X and Y coords, height, and width of an input text field in a GUI? For example, GUICtrlCreateInput() is of course used to create one, but what can be used to determine the position and size of it later in the script?

Look at ControlGetPos().

Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.

Posted (edited)

Look at ControlGetPos().

Yep, completely overlooked window controls ... like they didn't even exist! WAY too focused on GUI stuff methinks. Edited by dpaynebrown

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