Jump to content

@SW_hide for all windows


Recommended Posts

Hi guys! I need your help again!
During the execution of the script new windows are constantly appearing.
I decided to use this script:

Do
$aWinList = WinList()
For $i=1 To $aWinList[0][0] Step 1
WinSetState ( $aWinList[$i][0], "", @SW_HIDE )
Next
Until ProcessExists("Installer.exe")="0"

But this is script is really bad, because this this script is too slow (Windows have time to appear on the desktop).

Is there any way to assign to all future windows option @SW_Hide?
 

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

×
×
  • Create New...