themajestic08 Posted January 21, 2008 Share Posted January 21, 2008 Anyone ever have problems trying to get a handle on objects in applications developed in .NET? When I roll the Window Info tool over the text box which contains nested objects, I want to set the value to it gives me a class name like this: WindowsForms10.EDIT.app.0.378734a7 I tried putting that value in ControlSetText($sWinTitle, "", "WindowsForms10.EDIT.app.0.378734a7", "test") but it doesn't populate. I tried doing a test app that would enter a value in the Type Name or Select From List txt box on windows Address Book run("C:\Program Files\Outlook Express\wab.exe") $sWinTitle = "Address Book" ControlSetText($sWinTitle, "", "Edit1", "test") but it didn't work, any ideas Link to comment Share on other sites More sharing options...
zfisherdrums Posted January 21, 2008 Share Posted January 21, 2008 Hello themajestic08, Try using ControlSend instead. Zach... Identify .NET controls by their design time namesLazyReader© could have read all this for you. Unit Testing for AutoItFolder WatcherWord Doc ComparisonThis here blog... 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