lowrider2025 Posted November 16, 2017 Share Posted November 16, 2017 (edited) Does the windows startup mechanism have a fixed timeout for programs or can it not see other processes while it has been launched in the startup folder ? I want a certain program to have it's window on top. But this doesn't work. What I do: Run(program,programdir) ;this needs program needs it window on top "Login"(child window of main program) ProcessWait(other program.exe,5) WinActivate("Login") (also tried : WinSetOnTop("Login","",1) So both programs open but other program stays on top. Should be simple to do...but in my case not so Edited November 16, 2017 by lowrider2025 Link to comment Share on other sites More sharing options...
Moderators JLogan3o13 Posted November 16, 2017 Moderators Share Posted November 16, 2017 Have you looked at WinSetOnTop in the help file? "Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball How to get your question answered on this forum! Link to comment Share on other sites More sharing options...
lowrider2025 Posted November 16, 2017 Author Share Posted November 16, 2017 (edited) 5 minutes ago, JLogan3o13 said: Have you looked at WinSetOnTop in the help file? Sorry edited my 1st post and yes also tried WinSetOnTop... Edited November 16, 2017 by lowrider2025 Link to comment Share on other sites More sharing options...
lowrider2025 Posted November 16, 2017 Author Share Posted November 16, 2017 (edited) Does someone know what happens if programs from run in hklm run after program in hkcu (program that needs Login window on top). Would this interfere with the on top setting ? Or does is the WinSetOnTop absolute ? Am I exact in thinking: ProcessWait(process.exe) WinSetOnTop: 10ms process.exe takes 500ms to display it's splash screen so this happens after SetOnTop from 1st program. Will this have process.exe's window in front of the window of the 1st program ? Or let 1st program sleep for 10 seconds and then WinActivate("Login") and WinSetOnTop("Login","",1) ? Edited November 16, 2017 by lowrider2025 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