Jump to content

Determine if a button is enabled


Recommended Posts

I'm using AutoIt 3 to control an application for a repetitive task. I need to search for several items, and then interact with the GUI depending on the result of each of my searchs.

If my search is successful, I will receive multiple items in a listbox. Selecting an item in the listbox will enable a button.

If the search is unsuccessful, the listbox will be empty, and the button disabled.

How can I determine whether or not a button is currrently enabled or disabled?

Thank you,

Carl.

Link to comment
Share on other sites

@AdmiralAlkex: I'm pretty sure when he said "I'm using AutoIt 3 to control an application" he didn't mean his own application made in AutoIt. I suppose I could be wrong though.

I am sorry if I missunderstood. I blaim it on my lack of sleep tonight and my cat that's keep sleeping in front of my computer effectively stopping any effective work. :)
Link to comment
Share on other sites

I am sorry if I missunderstood. I blaim it on my lack of sleep tonight and my cat that's keep sleeping in front of my computer effectively stopping any effective work. :)

@AdminalAlkex: I'll blame it on the cat

@Saunders: That worked, thank you.

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