Help-me, please !
I need to capture the position (X,Y) of a text in the screen. How I can make this? Obs: The position of the text is dynamic.
Could you clarify this a little please?
Do you need to capture the position of
1. A text box/edit field
2. A specific text string in a text field
3. A specific text string in a Window.
Once we know the answer we hopefully can help.
I need to capture the position (X,Y) of the text string in a Window.
If you can find a way to click the mouse on the first character of the string then this might work.
get horizontal position of the mouse pointer
x = MouseX( )
get vertical position of the mouse pointer
y = MouseY( )
If you do a click on the complete string QARun will place the mouse cursor exactly in the middle of tyhe string in question.
I'm not sure if this point helps any, but I thought I would add it.
Seems like clicking on the H in Hello World would be a bit difficult (unless it's the only H in the control where you'll be clicking).
Textselect command will select a text as specified in the textselect arguments and then now with the text selected u can always get the x and y position of ur mouse with the text select
Confirm whether this solves ur issue
Rajesh Kumar Chengalpathy