ahbeng Posted January 24, 2007 Posted January 24, 2007 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
Edgar Posted January 24, 2007 Posted January 24, 2007 (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 January 24, 2007 by Edgar
ahbeng Posted January 24, 2007 Author Posted January 24, 2007 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 thenyou can try ControlGetText function like this :$var = ControlGetText("Untitled - Notepad", "", "Edit1")
Richard Robertson Posted January 24, 2007 Posted January 24, 2007 Why are you saying scrape? You can get data from any type of control. You just may not be able to do anything with it if it is not a standard Windows control. ControlGetText is what you want.
amokoura Posted February 21, 2007 Posted February 21, 2007 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() .
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now