Jump to content

Sending specific "Visible Text" from control into handler


Recommended Posts

Hello again!

I'm currently working on simple tool that will automate some of our internal application tests - store systems, to be precise ;)
What I'm trying to do, is send value from "Oczekiwana kwota" (that is 1 452,26 PLN in this example) into handler - to use it later on (see picture n.1).
This value could vary depending on current sales, so it must be copied dynamically.
Problem is: AutoIt recognizes only whole window and control (as you can see on the picture).

Although! The desired value can be found under "Visible Text" (see picture n.2).
I've tried to retrieve this data (and edit later on) via ControlGetText command, but it retrieves only first line of text :(

Is there some way I can retrieve specific line of "Visible Text" into handler?
Number of lines is always the same. Only values change.

wartosci.png

window_info.png

Link to comment
Share on other sites

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
 Share

×
×
  • Create New...