pilot Posted December 5, 2011 Posted December 5, 2011 (edited) I have a problem in focusing the link on the installation setup(GUI). I have automated the most of the option in the installation setup, but clicking a link on the installation GUI not working as expected.Following is the installation GUI and AutoIt Windows Info.Uploaded with ImageShack.usProblem is I can particularly focus the each text box but unable to focus the link 'Advanced Port Configurations (Including HTTPS)' available in blue color sorrounded by red box. Red Box and Black Box are drawn by me. I need to click the text surrounded in red box and AutoIt Window Info focuses the whole form like the black box shows.Following is code I have tried and I'm not sure why it is not clicking on the link.$handle = ControlGetHandle("[CLASS:TWizardForm]", "", "TNewNotebookPage2") ControlGetFocus($handle) Sleep(1000) ControlClick("Setup - Actual Title", "", "[ID:67104]") ;ControlClick("Setup - Actual Title", "", "[CLASS:TNewNotebookPage; TEXT:Advanced; INSTANCE:2]") ;ControlClick("Setup - Actual Title", "", "[CLASS:TNewNotebookPage; TEXT:Advanced; INSTANCE:2]") ;ControlClick("Setup - Actual Title", "", "[CLASS:TWizardForm; TEXT:Advanced; CLASS:TNewNotebookPage; INSTANCE:2]") Sleep(1000)The lines starts with semicolon are commented lines that I have tried with no luck.URL : Refered http://www.autoitscript.com/autoit3/docs/intro/controls.htmAny help is appreciated. Thanks in Advance. Edited December 5, 2011 by pilot
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