Bienvenue sur le wiki du site www.K1der.net. Se wiki contiendra les differents projets des differents membres, ainsi que des aides pour l’utilisation du site et des services proposés.
Bonne lecture.
Piste: » 7zip
Ceci est une ancienne révision du document! Cliquez sur le titre pour voir la dernière version.
-
Téléchargement : Contenu :
- 7zip.exe < fichier d’installation
- automatisation 7zip.au3 < fichier script
- automatisation 7zip.exe < fichier script compilé
Code du script :
; ---------------------------------------------------------------------------- ; ; AutoIt Version: 3.1.0 ; Author: SurPriseS <surprise@k1der.net> ; ; Script Function: ; AutoIt Script Installation automatique de 7zip. ; ; ---------------------------------------------------------------------------- Run("7zip.exe") WinWaitActive("7-Zip 4.32 Setup", "Setup will install 7-Zip 4.32 in the following folder. To install in a different folder, click Browse and select another folder. Click Install to start the installation." ) Send("!I") WinWaitActive("7-Zip 4.32 Setup", "7-Zip 4.32 has been installed on your computer.") Send("!F") ;configuration Run("C:\Program Files\7-Zip\7zFM.exe") WinWaitActive("Gestionnaire de fichier de 7-Zip") send("{alt}") Sleep(250) Send("!o") Sleep(250) Send("!o") send("{enter}") Sleep(250) send("{tab}") Sleep(250) send("{space}") Sleep(250) send("{tab}") send("{tab}") send("{tab}") Sleep(250) send("{space}") Sleep(250) send("{tab}") send("{tab}") send("{space}") WinClose("Gestionnaire de fichier de 7-Zip")