realkiller Posted October 2, 2005 Share Posted October 2, 2005 i need help using controlgettext, i wanna let it get text from both windows title .RoBeRt first window classname WindowsForms10.RichEdit20W.app53 second window classname WindowsForms10.window.8.app515 Remote 3.1 BetaRemote Media Player ControlUSB Security 1.2 Link to comment Share on other sites More sharing options...
this-is-me Posted October 3, 2005 Share Posted October 3, 2005 Sorry to say that autoit does not interact directly with .NET applications, and no support has been shown for addding interaction. Unless you can use send functions and mouse clicks you may be out of luck. I know of no control* functions that operate correctly with .NET. Who else would I be? Link to comment Share on other sites More sharing options...
LxP Posted October 3, 2005 Share Posted October 3, 2005 Your best bet is to try and programmatically determine the control's ID by its position (as their IDs are very likely to be different each time while their positions aren't) and then get the text using the determined ID. There is a user-defined function called _ControlGetHandleByPos() that will do just this. Link to comment Share on other sites More sharing options...
realkiller Posted October 3, 2005 Author Share Posted October 3, 2005 how do you suggest 2 doo that can you help me Remote 3.1 BetaRemote Media Player ControlUSB Security 1.2 Link to comment Share on other sites More sharing options...
LxP Posted October 5, 2005 Share Posted October 5, 2005 Determine the location and size of the controls from which you want information (use AutoIt Window Info), and then plug that information into the function. It will return a handle which you can then pass to ControlGetText.This all assumes that those windows don't resize (or at least that if they do, the locations of the controls don't change). Link to comment Share on other sites More sharing options...
realkiller Posted October 6, 2005 Author Share Posted October 6, 2005 oke i did i must have the word "help" but ferther i dont know Remote 3.1 BetaRemote Media Player ControlUSB Security 1.2 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