AutoIt

AutoIt X

'X'

v3.3.14.2

©1999-2015 Jonathan Bennett & AutoIt Team

AutoIt v3 Homepage

 

Introduction

AutoIt v3 is a freeware BASIC-like scripting language designed for automating the Windows GUI. It uses a combination of simulated keystrokes, mouse movement and window/control manipulation in order to automate tasks in a way not possible or reliable with other languages (e.g. VBScript and SendKeys).

AutoItX is a DLL version of AutoIt v3 that provides a subset of the features of AutoIt via an ActiveX/COM and DLL interface. This means that you can add AutoIt-like features to your favourite scripting and programming languages, e.g. VB, VBScript, Delphi, C, C++, Kixtart, and most other languages that support the use of DLLs.

As AutoItX provides a subset of the features of AutoIt v3 you should read the help file for AutoIt v3 and become familar with the basic concepts, including:

Help pages on the above topics are duplicated in this help file for reference.

The original version of AutoIt came with two controls: AutoItX (a COM/ActiveX control) and AutoItDLL (a DLL control). In this new version both the COM and DLL versions have been combined into the single AutoItX control which provides both methods of access.

How you use AutoItX depends on the host language you want to use. If you are using something that supports COM object access (like VBScript) then using AutoItX as a COM control is recommended. If you want to use AutoItX from a language such as C then using it as a DLL is simplest.

Throughout this help file examples for COM/ActiveX usage are given using VBScript, and standard DLL usage using C/C++. These are expected to be the most common ways of using AutoItX (and the two that I am most familiar with). Users of other languages should check out the AutoItX section on the AutoIt Forum for help and advice should you need it.