Jump to content
Sign in to follow this  

See if a ClassnameNN with spec text is active?

Recommended Posts


Hi , :">

i am new in Autoit but i love it so far.

Is there a way to check if a ClassnameNN with secific text is active ?

I have a mdi programm and the sub forms where openend


classeNameNN = xbpdialog1

text = Lieferanten - suchliste

for example

so i would like to open a dialog box when the above Classnamenn with the specific text is active.

Is that possible ??



Share this post

Link to post
Share on other sites

If ControlCommand("Title Of Application", "Lieferanten - suchliste", "xbpdialog1", "IsEnabled", "") = 1 Then MsgBox(0, 'Enabled', 'Your ClassNameNN is Enabled')

Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.

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  


Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.