Jump to content

AutoIT Script Collection - Contributions Only


FuzzBall

Recommended Posts

  • 3 weeks later...

  • 4 months later...
  • 2 weeks later...
  • 1 month later...
My first AutoIt script. This one is really simple, no nonsense. For Firefox Setup 3.0.3.exe though it should work on most older/future setups.

Link to Firefox Setup 3.0.3.exe: http://mozilla.stu.edu.tw//firefox/release...tup%203.0.3.exe

Important Rename Firefox Setup 3.0.3.exe to Firefox_Setup_3_0_3.exe as AutoIt doesn't like this file name. :wacko:

#cs ----------------------------------------------------------------------------
Firefox_Setup_3_0_3.exe by av2606
#ce ----------------------------------------------------------------------------

; Define $FireFox
$FireFox = "Firefox_Setup_3_0_3.exe"

; Disable mouse and keyboard
BlockInput (1)

; Run installer
Run($FireFox)

; Control window 1 - Close programs warning window
WinWaitActive("Mozilla Firefox Setup", "It is recommended that you close all")
ControlClick ("Mozilla Firefox Setup", "It is recommended that you close all", "&Next >")

; Control window 2 - Licence agreement
WinWaitActive("Mozilla Firefox Setup", "Press Page Down to see the rest of the agreement")
ControlClick ("Mozilla Firefox Setup", "Press Page Down to see the rest of the agreement", "I &accept the terms in the Licence Agreement")
ControlClick ("Mozilla Firefox Setup", "Press Page Down to see the rest of the agreement", "&Next >")

; Control window 3 - Default or custom install
WinWaitActive("Mozilla Firefox Setup", "You may choose individual options to be installed")
ControlClick ("Mozilla Firefox Setup", "You may choose individual options to be installed", "&Next >")

; Control window 4 - Install location
WinWaitActive("Mozilla Firefox Setup", "Firefox will be installed to the following location")
ControlClick ("Mozilla Firefox Setup", "Firefox will be installed to the following location", "&Install")

; Control window 5 - Finish and exit
WinWaitActive("Mozilla Firefox Setup", "Click Finish to close this wizard")
ControlClick ("Mozilla Firefox Setup", "Click Finish to close this wizard", "&Launch Firefox now")
ControlClick ("Mozilla Firefox Setup", "Click Finish to close this wizard", "&Finish")

; Enable mouse and keyboard
BlockInput (0)

i think this much code is not need fro firefox because silent switch of firefox is -ms why dont make a script with that

Link to comment
Share on other sites

Hi All!

Comodo Internet Security 32-Bit & Comodo Firewall Only 32-Bit for XP & Vista can be found Here

64-Bit - Coming as soon as I get my hands on some 64-Bit machines.

Enjoy All!

Edited by pcjames
Link to comment
Share on other sites

  • 4 weeks later...

utorrent 1.8.5 (build 17091)

Couldn't find another autoit for utorrent, so decided to post my own here.

This script is customized for my personal settings, anyone can take it and modify it to their purposes...

I made it specifically to use with WPI (so not many configuration options are set) It's commented to help with modification should anyone need to..

enjoy!

utorrent.au3

Edited by gorara
Link to comment
Share on other sites

  • 4 weeks later...

Winamp 5112_pro with settings


#NoTrayIcon

$DELAY = 400

Run ( "winamp5112_pro.exe" )
WinWaitActive("Winamp Setup", "License Agreement")
Sleep($DELAY)
Send("{ENTER}")
Sleep($DELAY)
WinWaitActive ( "Winamp Setup" , "Choose Components" )
Send("{TAB}")
Sleep($DELAY)
Send("{DOWN}")
Sleep($DELAY)
Send("{SPACE}")
Sleep($DELAY)
Send("{DOWN}")
Sleep($DELAY)
Send("{SPACE}")
Sleep($DELAY)
Send("{DOWN 4}")
Sleep($DELAY)
Send("{SPACE}")
Sleep($DELAY)
Send("{TAB 2}")
Sleep($DELAY)
Send("{ENTER}")
Sleep($DELAY)
WinWaitActive ( "Winamp Setup" , "Choose Install Location" )
Sleep($DELAY)
Send("{ENTER}")
Sleep($DELAY)
WinWaitActive ( "Winamp Setup" , "Choose Install Options" )
Sleep($DELAY)
Send("{DOWN 3}")
Sleep($DELAY)
Send("{SPACE}")
Sleep($DELAY)
Send("{DOWN 2}")
Sleep($DELAY)
Send("{SPACE}")
Sleep($DELAY)
Send("{TAB 2}")
Sleep($DELAY)
Send("{ENTER}")
Sleep($DELAY)
WinWaitActive ( "Winamp Setup" , "Internet Connection and Language Settings" )
Sleep($DELAY)
Send("{DOWN 2}")
Sleep($DELAY)
Send("{ENTER}")
Sleep($DELAY)

WinWaitActive ( "Winamp Setup" , "Interface and Skin Selection" )
Sleep($DELAY)
Send("{SPACE}")
Sleep($DELAY)
Send("{ENTER}")
Sleep($DELAY)

WinWaitActive ("1. DJ Mike Llama - Llama Whippin' Intro - Winamp [Stopped]" , "")
Sleep($DELAY)
Send("!f")
Sleep($DELAY)
Send("#o")
Sleep($DELAY)
Send("#p")
Sleep($DELAY)
WinWaitActive ("Winamp Preferences" , "")
Sleep($DELAY)
Send("{UP}")
Sleep($DELAY)
Send("{TAB 5}")
Sleep($DELAY)
Send("{SPACE}")
Sleep($DELAY)
Send("USERNAME")
Sleep($DELAY)
Send("{TAB}")
Sleep($DELAY)
Send("SERIAL")
Sleep($DELAY)
Send("{TAB}")
Sleep($DELAY)
Send("{ENTER}")
Sleep($DELAY)
Send("{TAB 2}")
Sleep($DELAY)
Send("{DOWN}")
Sleep($DELAY)
Send("{TAB 9}")
Sleep($DELAY)
Send("{SPACE}")
Sleep($DELAY)
Send("{TAB}")
Sleep($DELAY)
Send("{SPACE}")
Sleep($DELAY)
Send("{TAB 8}")
Sleep($DELAY)
Send("{DOWN}")
Sleep($DELAY)
Send("{TAB 4}")
Sleep($DELAY)
Send("{SPACE}")
Sleep($DELAY)
Send("{TAB 10}")
Sleep($DELAY)
Send("{SPACE}")
Sleep($DELAY)
WinWaitActive("[CLASS:Winamp v1.x]")
WinClose("[CLASS:Winamp v1.x]")


Link to comment
Share on other sites

  • 1 month later...

TCP-Z, V2.6.1.72 (the in memory tcpip.sys patcher-driver (default value after appling patch is 252)

Run('TCPZ_Setup-x86.exe')
WinWaitActive('TCP/IP Half Open Limited Patcher (TCP-Z)')
send("{ENTER}")

WinWaitActive('TCP/IP Half Open Limited Patcher (TCP-Z)')
ControlClick('TCP/IP Half Open Limited Patcher (TCP-Z)','Action','Button1')
send("{ENTER}")


WinWaitActive('TCP/IP Half Open Limited Patcher (TCP-Z)')
send("{ENTER}")

WinWaitActive('OK')
send("{ENTER}")

If WinExists('TCP/IP Half Open Limited Patcher (TCP-Z)') Then
WinClose('TCP/IP Half Open Limited Patcher (TCP-Z)')
EndIf

sleep(1000)
WinWaitActive('Device Manager')
WinClose('Device Manager')

Edited by CrackMe
Link to comment
Share on other sites

NOD32 2.70.39 EN - Standard (retail)

Run('setup.exe')
WinWaitActive('Setup Wizard')
ControlCommand('Setup Wizard','Installation','Expert (Fully customized installation)','Check','')
send("!n")

WinWaitActive('End-user Software License Agreement')
ControlCommand('End-user Software License Agreement','SOFTWARE LICENSE AGREEMENT','I agree','Check','')
send("!n")

WinWaitActive('Select destination folder')
send("!n")

WinWaitActive('Setup of Automatic Update')
ControlCommand('Setup of Automatic Update','Automatic Internet update of NOD32 system will only work if a valid Username and Password are entered in the fields below. Username and Password are assigned by the vendor or distributor, and must be entered exactly as printed on the license.','Set update parameters later','Check','')
send("!n")

WinWaitActive('General Setup')
send("!n")

WinWaitActive('Program graphics and splash screen options')
ControlCommand('Program graphics and splash screen options','To disable display of the NOD32 splash screen at system startup, select the appropriate checkbox.','Do not display NOD32 splash screen at startup','Check','')
send("!n")

WinWaitActive('Warning distribution')
send("!n")

WinWaitActive('ThreatSense.Net Early Warning System')
send("!e")
send("!n")

WinWaitActive('Detection of potentially unwanted applications')
send("!d")
send("!n")


WinWaitActive('File system monitor - AMON')
send("!n")

WinWaitActive('On-Demand Scanner integration')
send("!n")

WinWaitActive('Microsoft Office document protection (DMON)')
ControlCommand('Microsoft Office document protection (DMON)','DMON protects your computer against infiltrations in Microsoft Office documents.','Enable protection of Microsoft Office documents (DMON)','Check','')
send("!n")

WinWaitActive('Internet Monitor (IMON)')
;ControlCommand('Internet Monitor (IMON)','It is designed principally for workstations and should not be enabled on servers.','Register Internet monitor (IMON) to the system','Check','')
Send("{SPACE}")
send("!n")

WinWaitActive('Email monitor for Microsoft Outlook (EMON)')
send("!e")
send("!n")

WinWaitActive('Setup configuration complete')
send("!n")

WinWaitActive('Installation complete')
ControlCommand('Installation complete','','Restart later','Check','')
send("{ENTER}")

Edited by CrackMe
Link to comment
Share on other sites

  • 1 month later...

Here is a script for DAP - Download Accelerator Plus Version 93, for offline install, pls don't use it when you're online.

This is for free version and it won't put any desktop icons and would also stop internet explorer or firefox to run at the end

dap_autoit93.au3

Edited by laz3boy
Link to comment
Share on other sites

  • 3 months later...
  • 2 weeks later...

Here's my AutoIT Script to dtrace Symantec Enteprise Vault when it's doing some archiving tasks. (Of course you can modify what you want to monitor)

Done because i didn't want to wake at 4am to do this myself :)

WinActivate is used to be sure that autoit send the keys in the right place. (Note that the windows name is dtrace's path)



; Open dtrace and run specifics commands to monitor enterprise vaultservices
Run("C:\PROGRA~1\ENTERP~1\DTrace.exe")


; Wait for the dtrace become active
WinWaitActive("C:\PROGRA~1\ENTERP~1\DTrace.exe")
Sleep(3000)

;Focus to dtrace windows
WinActivate("C:\PROGRA~1\ENTERP~1\DTrace.exe")

;List recordable events
Send("view")
Sleep(3000)

WinActivate("C:\PROGRA~1\ENTERP~1\DTrace.exe")
Send("{enter}")
Sleep(3000)

;Record event 84 - StorageDelete
WinActivate("C:\PROGRA~1\ENTERP~1\DTrace.exe")
Send("set 84 v")
Sleep(5000)

WinActivate("C:\PROGRA~1\ENTERP~1\DTrace.exe")
Send("{enter}")
Sleep(5000)

;Record event 85 - StorageFileWatch
WinActivate("C:\PROGRA~1\ENTERP~1\DTrace.exe")
Send("set 85 v")
Sleep(5000)

WinActivate("C:\PROGRA~1\ENTERP~1\DTrace.exe")
Send("{enter}")
Sleep(5000)

;Record event 86 - StorageManagement
WinActivate("C:\PROGRA~1\ENTERP~1\DTrace.exe")
Send("set 86 v")
Sleep(5000)

WinActivate("C:\PROGRA~1\ENTERP~1\DTrace.exe")
Send("{enter}")
Sleep(5000)

;Record log to a specific directory with a current date
WinActivate("C:\PROGRA~1\ENTERP~1\DTrace.exe")
Send("log C:\Scripts\dtrace\tracelog-"& @Year & "-" & @MON & "-" & @MDAY & "-" & @HOUR & "-" & @MIN & "-" & @SEC & ".log")
Sleep(5000)

WinActivate("C:\PROGRA~1\ENTERP~1\DTrace.exe")
Send("{enter}")

;Record for an hour
Sleep(3600000)


;Stop logging
WinActivate("C:\PROGRA~1\ENTERP~1\DTrace.exe")
Send("log")
Sleep(5000)

WinActivate("C:\PROGRA~1\ENTERP~1\DTrace.exe")
Send("{enter}")
Sleep(5000)

;Confirmation to stop logging
WinActivate("C:\PROGRA~1\ENTERP~1\DTrace.exe")
Send("yes")
Sleep(5000)

WinActivate("C:\PROGRA~1\ENTERP~1\DTrace.exe")
Send("{enter}")
Sleep(5000)

;Quit dtrace
WinActivate("C:\PROGRA~1\ENTERP~1\DTrace.exe")
Send("exit")
Sleep(5000)

WinActivate("C:\PROGRA~1\ENTERP~1\DTrace.exe")
Send("{enter}")


; Finished!

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

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