Sign in to follow this  
Followers 0
dkwokgs

Controlfocus Does Note Work Always?

3 posts in this topic

Hi there,

I have tried using ControlFocus to bring multiple applications to foreground and close in but sometime in does not bring focus. Please advise, if possible a example beside the one in the Autoit help file shown below.

Example

ControlFocus("Untitled - Notepad", "", "Edit1")

Thanks

Regards

Daniel

Share this post


Link to post
Share on other sites



But I have problem using both WinActive and ControlFocus as the Windows Title varies. eg. Internet Explorer (Windows Title changes depends on the URL), I tried the below but does not work. Please advise.

ControlFocus("Internet Explorer","","")

Share this post


Link to post
Share on other sites

Hey Larry,

Thanks very much. It Works.

Cheers

Daniel

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