Guest taurus Posted November 23, 2004 Share Posted November 23, 2004 Hello, I'm a newbie in using AutoItv3. I tried autoitv3 with c++ Apps and it work perfect. Now I want use autoitv3 with c# Apps and ControlGetText don't work with c# datagrid. the control is for exemple: WindowsForms10.EDIT.app51 any ideas thx Link to comment Share on other sites More sharing options...
this-is-me Posted November 23, 2004 Share Posted November 23, 2004 The newest microsoft controls do not folllow the same standards as the earlier ones. Please attach a screenshot of the grid you want to retrieve the information from. Who else would I be? Link to comment Share on other sites More sharing options...
Guest taurus Posted November 23, 2004 Share Posted November 23, 2004 screenshot is attached. system.windows.forms.datagrid is used for this. thx Link to comment Share on other sites More sharing options...
this-is-me Posted November 23, 2004 Share Posted November 23, 2004 OK, the answer is pretty simple. It can't be done with autoit that I know of. If you really want the text in the box, look into some .net control stuff from vb or C++.net. Otherwise .net controls are completely foreign to autoit since they were built from the ground up and have no realation to the "normal" controls in windows. Can any more experienced person back me up on this? I am pretty sure this is the case, but I would be happy to accept any other information. Who else would I be? Link to comment Share on other sites More sharing options...
Guest taurus Posted November 24, 2004 Share Posted November 24, 2004 thx for the answer. do you know any tool which get the text of a datagrid? like copytext 2.2 Link to comment Share on other sites More sharing options...
SlimShady Posted November 24, 2004 Share Posted November 24, 2004 Can someone explain why it's not possible?I'm very curious. Link to comment Share on other sites More sharing options...
this-is-me Posted November 24, 2004 Share Posted November 24, 2004 (edited) The windows controls have standards that they must follow in order to be a windows control, but .net controls pretty much throw the rulebooks out the window, and have a new set of rules. I could imagine that it still might be possible to get the text, but you would have to do some imaginative work with DllCall to do it. Edited November 24, 2004 by this-is-me Who else would I be? Link to comment Share on other sites More sharing options...
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