Jump to content
Sign in to follow this  
slightly_abnormal

help with porcess not exist.. minimize/restore

Recommended Posts

slightly_abnormal

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

Share this post


Link to post
Share on other sites
Valuater

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)


NEWHeader1.png

Share this post


Link to post
Share on other sites
slightly_abnormal

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!

Share this post


Link to post
Share on other sites
Valuater

Welcome

8)


NEWHeader1.png

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  

×