Jump to content
Sign in to follow this  
taren9k3

How to make autoit3 program always focus

Recommended Posts

taren9k3

I want to make autoit program that is always focus.

The example is Au3info.

When we change to another window the program do not hide.

Thanks

Share this post


Link to post
Share on other sites
m0raca

I want to make autoit program that is always focus.

The example is Au3info.

When we change to another window the program do not hide.

Thanks

You should look at these functions.

WinActivate ( "Application name" )

WinWaitActive ( "Application name", "", 2)

These are what I have been primarily using and they work well.

m0

Share this post


Link to post
Share on other sites
Jos

You should look at these functions.

WinActivate ( "Application name" )

WinWaitActive ( "Application name", "", 2)

These are what I have been primarily using and they work well.

m0

When its another application you can also set the TOPMOST attribute by using:

WinSetOnTop ( "title", "text", flag )


SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource        Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Share this post


Link to post
Share on other sites
taren9k3

Thanks

I can do it.

I use WinSetOnTop ( "title", "text", flag )

It's useful

Why forum doesnt have thanks button :)

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  

×