continyu Posted December 27, 2011 Posted December 27, 2011 Hi, i need text information from a listview in another app. Autoit Window info program can't get any visible or hidden text from it. So how can i read its values ?
czardas Posted December 27, 2011 Posted December 27, 2011 (edited) I don't know how to do this, but there may be a work around, if the developer of the app was kind enough to provide some way to copy the data. In this case automate the standard proceedure. Otherwise I don't know. I imagine that most developers would do something to enable you to select and copy information from a list view control. Personally I would set the accelerators CTRL+A and CTRL+C.EditI know it's not an ideal solution, and may be unworkable, but you could try. Edited December 27, 2011 by czardas operator64 ArrayWorkshop
continyu Posted December 27, 2011 Author Posted December 27, 2011 I don't know how to do this, but there may be a work around, if the developer of the app was kind enough to provide some way to copy the data. In this case automate the standard proceedure. Otherwise I don't know. I imagine that most developers would do something to enable you to select and copy information from a list view control. Personally I would set the accelerators CTRL+A and CTRL+C.EditI know it's not an ideal solution, and may be unworkable, but you could try.Nope sadly that didn't work.
Zedna Posted December 28, 2011 Posted December 28, 2011 Use ControlGetHandle() + _GUICtrlListView_GetItemText() Resources UDF ResourcesEx UDF AutoIt Forum Search
czardas Posted December 28, 2011 Posted December 28, 2011 (edited) Ha, it's so obvious. It's funny since I so seldom automate anything nowadays and prefer to create my own apps instead. I have recently been using the above mentioned functions, so why didn't I think of this? Can you believe that I recently forgot some of the subtleties of using the Send function (with the hash key), since I hadn't needed to use it for over two years. Edited December 28, 2011 by czardas operator64 ArrayWorkshop
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