What is the use of the AutoIt tool

AutoIt: Writing scripts for Windows and applications

Functionality: AutoIt's instruction set and syntax are closely based on Basic. Therefore, even beginners shouldn't have any problems familiarizing themselves quickly and getting their first results. Originally, the tool was only used to automate the rollout of applications by transmitting mouse clicks and keystrokes to other programs. AutoIt can still do this, but offers a greatly expanded range of functions. In this way, graphical user interfaces can be created that can also contain more complex control elements such as tabs and tables. The English-language help mentions around 50 functions for GUIs. It is even more convenient with the separately available KODA Form Designer editor, which allows you to generate code for AutoIt from designed graphical interfaces.

File and directory operations are possible as well as access to the clipboard and registry. In addition, COM objects can be used and Windows API functions and external DLLs can be called directly. As an integrated editor, AutoIt contains a slimmed-down version of SciTE, which is capable of highlighting syntax and automatic completion. The compiler is also built in Aut2Exe, with which one can convert the created scripts into executable files. In this way, the programmed applications also run on computers on which AutoIt is not installed.

With version 3.3.8.1 the author has fixed a bug in the editor. The changelog provides detailed information on the changes.

Installation: For a wizard-supported full installation that includes all program elements, the manufacturer offers a setup file just over 7 MB in size. This also contains 64-bit versions of the core components, which can be selected on an appropriately equipped system. If you don't value an installer, you can use the self-extracting archive, which lacks an editor.

  1. AutoIt scripting tool
    The installer version of AutoIt contains a wizard that guides the user through the setup.
  2. AutoIt scripting tool
    If the setup discovers a 64-bit system, the user has the option of installing the 64-bit version of AutoIt.
  3. AutoIt scripting tool
    The user can specify whether the AutoIt scripts should be executed with a double click or opened in the editor.
  4. AutoIt scripting tool
    The tool only needs 24 MB if all program components are installed.
  5. AutoIt scripting tool
    A new script can be created in Windows Explorer using the context menu to which the tool has added a corresponding option.
  6. AutoIt scripting tool
    The context menu of a created script contains entries for execution, editing and compiling.
  7. AutoIt scripting tool
    A new script includes a comment block by default. The user can enter code under the last line.
  8. AutoIt scripting tool
    AutoIt scripts can be made very visually appealing with the help of a graphical user interface.
  9. AutoIt scripting tool
    The sample scripts also include a wizard that can be used to create dialog boxes very easily.

Service: The setup routine does not create a desktop icon for the program, and neither does the search via the Windows 7 start menu AutoIt gives no indication of how the application can be started. It is therefore advisable to make use of the suggestion after completing the installation to first open the help file. There you can find out in the chapter Tutorialsthat the first step is to open a file of the type AutoIt v3 Script to put on. This can then also be clicked with the right mouse button Edit script into the editor SciTE load. The user can now enter his own code under the comment lines. Scripts can be executed directly from the editor with F5 and compiled with F7. A syntax check can also be carried out. If you install the SciTE complete version from the AutoIt homepage instead of the integrated Lite version, you get more convenience. This includes numerous utilities such as Tidy (Correction of scripts), KODA (GUI creation) and the macro recorder.

The four tutorial sections from the help file are suitable for (re) entering into programming. But that is more detailed and in German under important links Tutorial listed on the AutoIt.de portal page. A German translation of the help in CHM format can also be downloaded from there. A look at the program directory under reveals everything that is possible with AutoIt scripts Examples. The example scripts available there can be used as suggestions for your own projects.

Conclusion: AutoIt is also suitable for beginners due to the script language which is oriented towards Basic and offers a multitude of functions. You can even use them to implement more sophisticated programs, which can also be designed in a visually appealing manner thanks to a graphical user interface. The integrated compiler enables the scripts created to run as exe files even without an AutoIt interpreter. (cvi)