Jump to content
Sign in to follow this  

How to get ControlID for focused control

Recommended Posts


I want to get current combobox selected item, and check the text with some value. if not matched, then change the value.

I have tried with ControlFocus, ControlGetText, GUICtrlRead, ControlCommand. here every command ask for controlID.

but already I focus the control, am not sure where to get controlID,

Ex: ControlCommand ("Save As", "", {ControlID}, "GetCurrentSelection")


Please advise.

Edited by Sivasankar

Share this post

Link to post
Share on other sites

how about searching where autoit is installed C:\Program Files (x86)\AutoIt3\Au3Info.exe


try Windows+r then type in Au3Info.exe :lol:

ill get to that... i still need to learn and understand a lot of codes graduated.gif

Correct answer, learn to walk before you take on that marathon.

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