Jump to content

Recommended Posts

Posted

Okay so I have a script that when I push a button, it hides a certain type of window, specifically [class:CLIENT]. And push another button it'll show [class:client]. But.. When I have two windows open with the same class, the hide button will hide the window, but the show button won't show it since there's already another [class:client]. But even though the 2 window's classes are same, their window title is different. So my question is how do you get the title of a window whose class is CLIENT? That way I can save the hidden window's title to a variable and when prompted to show, I'll restore by the title thus hopefully avoiding the problem where the show button doesn't work due to another window with same class being open. Thanks.

Posted

use the handle... to my knowledge every winhandle is different ( i'm really not sure correction is accepted) Wingehandle (title,text)... that or WinGetClassList ( "title" [, "text"] )

Posted

lol no problem and thanks Richard

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
×
×
  • Create New...