slightly_abnormal Posted March 9, 2006 Share Posted March 9, 2006 I press it button it launches a program, and minimizes the window.. once that program has closed the window that was minimized should restore. some reason it minimizes then restores a second later.. WinSetOnTop("Fex11","",@SW_SHOW) WinSetState("Porgii","",@SW_MINIMIZE) run("fex11.exe") winwait("Porgii","") If NOT ProcessExists("fex11.exe") Then WinSetState("Porgii","",@SW_RESTORE) EndIf Link to comment Share on other sites More sharing options...
Valuater Posted March 9, 2006 Share Posted March 9, 2006 maybe WinSetOnTop("Fex11","",@SW_SHOW) WinSetState("Porgii","",@SW_MINIMIZE) runwait("fex11.exe") Sleep(1000) If NOT ProcessExists("fex11.exe") Then WinSetState("Porgii","",@SW_RESTORE) EndIf 8) Link to comment Share on other sites More sharing options...
slightly_abnormal Posted March 9, 2006 Author Share Posted March 9, 2006 maybe WinSetOnTop("Fex11","",@SW_SHOW) WinSetState("Porgii","",@SW_MINIMIZE) runwait("fex11.exe") Sleep(1000) If NOT ProcessExists("fex11.exe") Then WinSetState("Porgii","",@SW_RESTORE) EndIf 8) wow.. funny how a tiny code change worked. thanks! Link to comment Share on other sites More sharing options...
Valuater Posted March 9, 2006 Share Posted March 9, 2006 Welcome 8) 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