Truth Posted June 27, 2008 Share Posted June 27, 2008 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 More sharing options...
AdmiralAlkex Posted June 27, 2008 Share Posted June 27, 2008 GUICtrlGetState() .Some of my scripts: ShiftER, Codec-Control, Resolution switcher for HTC ShiftSome of my UDFs: SDL UDF, SetDefaultDllDirectories, Converting GDI+ Bitmap/Image to SDL Surface Link to comment Share on other sites More sharing options...
therks Posted June 27, 2008 Share Posted June 27, 2008 @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. @Truth: Check out ControlCommand with "IsEnabled" My AutoIt Stuff | My Github Link to comment Share on other sites More sharing options...
AdmiralAlkex Posted June 27, 2008 Share Posted June 27, 2008 @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. .Some of my scripts: ShiftER, Codec-Control, Resolution switcher for HTC ShiftSome of my UDFs: SDL UDF, SetDefaultDllDirectories, Converting GDI+ Bitmap/Image to SDL Surface Link to comment Share on other sites More sharing options...
Truth Posted June 27, 2008 Author Share Posted June 27, 2008 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 More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now