Kerberuz Posted February 24, 2005 Share Posted February 24, 2005 Hey first post here. My question is how would I get the active control text without providing the controlID. I understand how to get the text using ControlGetText using the controlID, but in the situation I'm using the controlID can be different. So my objective is to get the active controlID or text. Once I know the controlID or the text of the control I'll be fine. Thanks in advance Kerby Kerby Link to comment Share on other sites More sharing options...
Developers Jos Posted February 24, 2005 Developers Share Posted February 24, 2005 (edited) Hey first post here. My question is how would I get the active control text without providing the controlID. I understand how to get the text using ControlGetText using the controlID, but in the situation I'm using the controlID can be different. So my objective is to get the active controlID or text. Once I know the controlID or the text of the control I'll be fine. Thanks in advanceKerby<{POST_SNAPBACK}>If you mean the control that has the focus then check out:ControlGetFocus ( "title" [, "text"] ) Edited February 24, 2005 by JdeB SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
Kerberuz Posted February 24, 2005 Author Share Posted February 24, 2005 If you mean the control that has the focus then check out:ControlGetFocus ( "title" [, "text"] )<{POST_SNAPBACK}>Thanks, I don't know how I missed it. Kerby Kerby 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