taren9k3 Posted May 24, 2009 Share Posted May 24, 2009 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 Link to comment Share on other sites More sharing options...
Developers Jos Posted May 24, 2009 Developers Share Posted May 24, 2009 (edited) Set the extended style to $WS_EX_TOPMOST Jos Edited May 24, 2009 by Jos SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
m0raca Posted May 24, 2009 Share Posted May 24, 2009 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.ThanksYou 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 Link to comment Share on other sites More sharing options...
Developers Jos Posted May 24, 2009 Developers Share Posted May 24, 2009 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.m0When 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 etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
taren9k3 Posted May 24, 2009 Author Share Posted May 24, 2009 Thanks I can do it. I use WinSetOnTop ( "title", "text", flag ) It's useful Why forum doesnt have thanks button Link to comment Share on other sites More sharing options...
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