TobiasS Posted October 26, 2005 Share Posted October 26, 2005 I've tried to automate a test of a program, written in VB.NET with AutoIt. I had problems to identify many controls, like the menubar or textboxes with AutoIt Window Info. I don't want to activate a control by using its screen coordinates. Does anyhone have experiences with AutoIt and VB.NET programs and controls? Link to comment Share on other sites More sharing options...
peethebee Posted October 26, 2005 Share Posted October 26, 2005 Hi! Some times ago I read in the forums, that .net applictions are not reachable through AutoIt. And as the .net-code is translated on-the-fly to pseudo-machine code by Windows, it should be not easy to access them. You could identify the controls' positions with PixelGetColor if it is very important, or do the things by keyboard. peethebee vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvGerman Forums: http://www.autoit.deGerman Help File: http://autoit.de/hilfe vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv Link to comment Share on other sites More sharing options...
Nuffilein805 Posted October 26, 2005 Share Posted October 26, 2005 if you want to click them try this: ... mouseclick("left", "x-coordinate", "y-coordinate", 1) ... this should work if you just want to click and know where the controls are my little chatmy little encryption toolmy little hidermy unsafe clickbot Link to comment Share on other sites More sharing options...
LxP Posted October 31, 2005 Share Posted October 31, 2005 Welcome to the forums!Check out the _ControlGetHandleByPos() UDF which will allow you to determine a handle to a control through its position. You could then use this handle with ControlCommand(), ControlClick() etc. 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