Sign in to follow this  
Followers 0
taren9k3

How to make autoit3 program always focus

5 posts in this topic

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



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

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 )


Visit the SciTE4AutoIt3 Download page for the latest versions  - Beta files                                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

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