Page 1 of 1

bounds coordinates?

Posted: 16 Apr 2018 21:26
by Econdoc
can someone tell me what the four numbers are when using bounds("some text string") with control UI? There are so many possible meanings!

Re: bounds coordinates?

Posted: 16 Apr 2018 22:26
by digitalstone
In the help-section it says this (It's pretty much identical to the help feature inside Automagic itself):

"List getBounds(String pattern)
Returns the bounds of the element containing the given glob pattern in a list with the values [x, y, width, height].
List getBoundsById(String id)
Returns the bounds of the element with the given id in a list with the values [x, y, width, height]. (Android 4.3+)"

Re: bounds coordinates?

Posted: 17 Apr 2018 00:10
by Econdoc
Thanks!