Mat Posted September 25, 2010 Posted September 25, 2010 On 9/25/2010 at 5:06 PM, 'Read said: I don't understand how to use @SW_HIDE Winzip tutorial: http://www.autoitscript.com/autoit3/docs/tutorials/winzip/winzip.htm expandcollapse popup; Run the winzip installer Run("winzip90.exe") ; Initial Setup Screen WinSetState("WinZip® 9.0 SR-1 Setup""&Setup", "", @SW_HIDE) Now Send("!s") ; Install location WinWaitActive("WinZip Setup", "into the following folder") Send("{ENTER}") ; Features overview WinWaitActive("WinZip Setup", "WinZip features include") Send("!n") ; License agreement WinWaitActive("License Agreement") Send("!y") ; Quick start WinWaitActive("WinZip Setup", "Quick Start Guide") Send("!n") ; Choose interface WinWaitActive("WinZip Setup", "switch between the two interfaces") Send("!c") Send("!n") ; Installation type (custom/express) WinWaitActive("WinZip Setup", "&Express setup (recommended)") Send("!e") Send("!n") ; Select file associations WinWaitActive("WinZip Setup", "WinZip needs to associate itself with your archives") Send("!n") ; Completed installation screen WinWaitActive("WinZip Setup", "Thank you for installing this evaluation version") Send("{ENTER}") ; Wait for winzip to load then close it WinWaitActive("WinZip (Evaluation Version)") WinClose("WinZip (Evaluation Version)") Sry spam Please read the topic from the top to understand why you can't hide and use Send. AutoIt Project Listing
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now