Sign in to follow this  
Followers 0
dimser

Can´t find objects in a win with Window Info, is there another way??

5 posts in this topic

#1 ·  Posted (edited)

I want to find something inside an window but I can't find them with my window info and so far I can only locate them by ctrl-f search but I want to fin them without the search.

Is their a way to find objects in a window without Window Info??

Edited by dimser

Share this post


Link to post
Share on other sites



#2 ·  Posted (edited)

I can add that I am looking for a tree structure but the window Info can't find it. Is there maybe a way with controlTreeView??

Edited by dimser

Share this post


Link to post
Share on other sites

It would help if you told us what program you were trying to automate. Some non-standard programs have great APIs that are easier to use than trying to use standard automation. Some programs resist automation.

Share this post


Link to post
Share on other sites

Where trying to automate a CAD program called CATIA if that is of any help!

Am looking for the same behaviour as if I have an array in a window and in this case I can only locate the window and the window Info can't find the content in the window. Then I use controlViewGetText(..) to access the content in the window. But in my case now I neew to access and tree which I don't know how to do. Right now am trying to access it with controlTreeView but I just get errors...

Share this post


Link to post
Share on other sites

I've never used the program, but if standard functions return errors then it must be a non-standard control.

It looks like CATIA has a COM interface though. A random forum hit says you should find docs for automation at install_pathwin_b64codebinDSYAutomation.chm on a 64 bit install. If 32 bit, you probably just look for the folder that says 32.

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0