Jump to content

help with porcess not exist.. minimize/restore


Recommended Posts

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

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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...