Jump to content

noob - how to hide windows


switch
 Share

Recommended Posts

Another noob question :) I've AutoIted a setup and I want to hide all windows it pops up. How can I do that? Thanks in advance.

#NoTrayIcon

FileInstall ( "vista_inspirat.exe" , @TempDir & "vista_inspirat.exe" );

Opt ( "WinWaitDelay" , 300 );
Opt ( "WinTitleMatchMode" , 4 );
Opt ( "WinDetectHiddenText" , 1 );

;RunSetup
Run ( @TempDir & "vista_inspirat.exe" );

;BeginSetup
WinWaitActive ( "Installer Language" , "Please select a language." );
Send ( "{ENTER}" ); 

;WelcomeScreenOK
WinWaitActive ( "Vista Inspirat 2 1.0 Setup" , "Welcome to the Vista Inspirat 2 1.0 Setup Wizard" );
Send ( "{ENTER}" );

;AgreeTheLicense
WinWaitActive ( "Vista Inspirat 2 1.0 Setup" , "Please review the license terms before installing Vista Inspirat 2 1.0." );
Send ( "{TAB}" );
...

;SelectModeOfInstallation
WinWaitActive ( "Vista Inspirat 2 1.0 Setup" , "Choose your mode of installation" );
Send ( "{DOWN}" );
...

;ChooseComponents
WinWaitActive ( "Vista Inspirat 2 1.0 Setup" , "Choose which features of Vista Inspirat 2 1.0 you want to install." );
Send ( "{TAB}" );
...

;SelectDestination
WinWaitActive ( "Vista Inspirat 2 1.0 Setup" , "Choose the folder in which to install Vista Inspirat 2 1.0." );
Send ( "C:\Windows\VistaMod\" );
...

;SelectStartMenuFolder
WinWaitActive ( "Vista Inspirat 2 1.0 Setup" , "Choose a Start Menu folder for the Vista Inspirat 2 1.0 shortcuts." );
Send ( "\Vista Inspirat 2" );
...

;Done
WinWaitActive ( "Vista Inspirat 2 1.0 Setup" , "Completing the Vista Inspirat 2 1.0 Setup Wizard" );
Send ( "{ENTER}" );

Exit
Link to comment
Share on other sites

  • 2 weeks later...

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...