Jump to content

General Question: Handles And Classlist

Recommended Posts

Hi anyone!

I've had no trouble so far calling windows by their names, but I need to call a window whose name changes during a process, so I decided to try handles. I've used "classname=CLASSNAME", as reported by the Spy with no trouble, but I really want to learn how to use the handles. And as if that was all, I would be really grateful if you could also give me a clue as to what I can do with the classlist, as reported to a variable by WingetClassList.

I've used a syntax of the form:


to report the handle of a window, to $var.

I then try to use $var to run a routine, say sending a control to the window $var, but it doesn't work. I followed the syntax of WinTitleMatchMode 4, where "handle=HANDLE". Could someone be so kind to explain where I might be going wrong?



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...