Jump to content

Searching for matching text in a classname?


Recommended Posts

Hello!

I'm trying to find a way to get a window's title using its classname, which, of course could be done with this:

ConsoleWrite(WinGetTitle("[CLASS:NotepadOrWhatever]") & @CRLF)

The only problem is that I wish there was a way to search for matching text in the classname, like being able to do this:

ConsoleWrite(WinGetTitle("[CLASS:Or]") & @CRLF)

Is there a way to resolve this? Thanks in advance!

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...