Jump to content

Recommended Posts

Posted

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
Posted

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

Posted

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!

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
  • Recently Browsing   0 members

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