Jump to content

Recommended Posts

  • Moderators

@hiepkhachsg you need to be a bit more specific in your request. If you want to find control and class names you would use the Window Info Tool located in the same directory where you installed AutoIt. How about a detailed example of the window, and what information you're trying to get - help us help you ;)

 

"Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball

How to get your question answered on this forum!

Link to post
Share on other sites

I mean that a function (not W.I.T.) to find a class at a point in the window. I can find what classes have area containing that point but, when it have many layer classes (more than 2 classes) at that point, i don't know what class is the top level layer of displaying (it mean this class will take effect when you click or press a key).

Edited by hiepkhachsg
Link to post
Share on other sites

Thank junkew, i've seen your example but it do not solve my problem, you may misunderstand my matter. For example, at a point in the window (of a program) i found 3 classes, with 3 classes containing that point i want to know what a class is on top of displaying !?

Edited by hiepkhachsg
Link to post
Share on other sites

Treewalker normally can handle that if you check the boundaries of each traversed window in the three. Simplespy will learn you the windowfrompoint function to give you the class on top. Studying sources from WINE for windowfrompoint will teach you how travrrsing tree work.

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
  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...