AutoIt
From Wikipedia, the free encyclopedia
AutoIt | |
Developer: | Jonathan Bennett & AutoIt Team |
---|---|
Latest release: | 3.2.0.1 / August 13, 2006 |
OS: | Microsoft Windows |
Use: | Automation GUI Utility |
License: | Freeware |
Website: | www.autoitscript.com/autoit3/ |
AutoIt is a freeware Microsoft Windows automation language. In its earliest release, the software was primarily intended to create automation scripts (sometimes called macros) for Microsoft Windows programs. Such scripts proved useful for "hands-free" completion of highly repetitive tasks, such as rolling out a large number of PCs with identical installation instructions.
With later releases, Autoit evolved to include enhancements in both programming language design and overall functionality. Consequently, Autoit expanded in scope, purpose and flexibility, thus justifying comparison with other more established "general purpose" programming languages and scripting tools.
There are a few omissions in the Autoit programming language that some may find limiting. Autoit lacks (or has only limited support for) such features as: Namespaces; object-oriented programming; abstract data types; reference types; classes; and advanced graphics functions.
AutoIt's version 3.1.0 source code is available for download from the AutoIt archive, but source code for later version will not be released. The code was developed by a small team with the help of worldwide contributors. AutoIt has extensive third-party support, including help files, examples, support forums, mailing list, editor files, and third-party utilities.
With the release of AutoIt version 3, the syntax of the programming language was restructured to be more like the BASIC family of languages. You can compile a script into a compressed, stand-alone executable which can then be run on computers that do not have the AutoIt interpreter installed.
Moreover, new features include the ability to:
- Communicate via the TCP and UDP protocols.
- Use COM (component object modelling) objects.
- Call functions in Win32 DLLs.
- Run console applications and access the standard streams.
- Include files in the compiled file to be extracted when run
- Make GUI interfaces, create message and input boxes.
- Play sounds, pause, resume, stop, seek, get the current position of the sound and get the length of the sound
- Perform complicated mathematical calculations
- Automate sending user input and keystrokes to applications, as well as individual controls within an application.
It is available for download along with other beta releases.
Contents |
[edit] Example
Hello World: (semicolon used for inline comments)
;; display a message dialog Msgbox(0,"Example","Hello World!");
[edit] AutoIt community
The forums can be found at http://www.autoitscript.com/forum/ There are many sub-forums where AutoIt users can submit finished scripts or User Defined Functions, ask for support, report bugs, submit ideas and also talk with Developers.
[edit] Other uses
Although AutoIt is intended as a general purpose scripting and automation language its users always find new ways to make use of it. One of the most popular and unexpected uses of AutoIt is for "botting" in online games. Botting allows the user to run a script which automates some repetitive action in the game - usually so the script user can advance in the game more quickly. Use of AutoIt in this way is frowned upon by the AutoIt community as it can generate bad publicity.
[edit] More uses (in AutoIt Forum)
- PC CONTROL with a browser or cell phone
- Invertor Game
- (SGUIM) Sample GUI Menu
- MySQL
- Troyzilla, internet browser
- Serial port (RS232) communication
- Mini Webserver
- IRC Client (with wiki links)
- Sudoku Solver
- VBScript to AutoIt Converter
- Email send
- A3 Mouse Odometre
- File transfer over TCP/IP
- File transfer over TCP/IP 2
- File Encryption
- Connect4 (Local and Online modes)
- RoboCopy GUI
- Mousemovereal