Copyright © 2007 O’Reilly Media, Inc.
Beijing • Cambridge • Farnham • Köln • Sebastopol • Tokyo
September 14, 2007
AutoIt is becoming increasingly popular in the system administration field as a tool for automating administrative tasks. Although this is one of its more popular uses, you can use AutoIt to automate anything in a Windows environment. This powerful scripting language can run any program and manipulate keyboard and mouse input. With its RunAs support, administrators can perform unattended installations and configuration changes using embedded administrative privileges.
This guide teaches you the foundations of the AutoIt v3 language. You will learn about variables and includes, graphical user interfaces, user-defined functions, and conditional and loop statements. You will then apply what you have learned in examples related to the system administration field. The examples in this Short Cut can be used to create anything from a game modification to a logon script that verifies Windows updates.
AutoIt started in late 1998 as a C-compiled program used to automate keystrokes during
software installations. In January 1999, the AutoIt team released AutoIt v1, which