Sign in to follow this  
Followers 0
pilot

Focusing Link on GUI

1 post in this topic

#1 ·  Posted (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.

Posted Image

Uploaded with ImageShack.us

Problem 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.htm

Any help is appreciated. Thanks in Advance.

Edited by pilot

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  
Followers 0