Jump to content

Recommended Posts

Posted

Hi all,

I'm new to autoit3 and i would like to know how to perform the

above subject with the current autoit3 given functions.

Thanks in advance.

regards,

ahbeng

Posted (edited)

If the data is text data and the control is an Edit control then

you can try ControlGetText function like this :

$var = ControlGetText("Untitled - Notepad", "", "Edit1")
Edited by Edgar
Posted

Hi Edgar,

Thanks.

I wanted to scrape the stock's price in numbers (one of the read-only field)

from a windows applications & perform some calculation of the price.

Is there a way that I can do it using autoit3 beside your given solution?

regards,

ahbeng

------------------------------------------------------------------------------------------------------------------------------

If the data is text data and the control is an Edit control then

you can try ControlGetText function like this :

$var = ControlGetText("Untitled - Notepad", "", "Edit1")
  • 4 weeks later...
Posted

The way I've managed to "scrape" stuff if the ControlGetText isn't working:

1. Mouse click on the control

2. WinGetText()

Using the window info tool and clicking different controls I've been able to test what kind of info is available for WinGetText() .

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