Truth Posted June 27, 2008 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.
AdmiralAlkex Posted June 27, 2008 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
therks Posted June 27, 2008 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
AdmiralAlkex Posted June 27, 2008 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
Truth Posted June 27, 2008 Author 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.
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