Jump to content

See if a ClassnameNN with spec text is active?


mike34
 Share

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

with

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

Greetings

Mike

Link to comment
Share on other sites

  • Moderators

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.

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