AutoIt
From Wikipedia, the free encyclopedia
AutoIt | |
---|---|
Developed by | Jonathan Bennett & AutoIt Team |
Latest release | 3.2.12.0 / May 16th, 2008 |
OS | Microsoft Windows |
Genre | GUI Scripting language Automation |
License | Freeware |
Website | www.autoitscript.com/autoit3/ |
AutoIt (pronounced aw-toh-it)[1] is a freeware automation language for Microsoft Windows. In its earliest release, the software was primarily intended to create automation scripts (sometimes called macros) for Microsoft Windows programs.[2] 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 grew to include enhancements in both programming language design and overall functionality.
With the release of AutoIt version 3, the syntax of the programming language was restructured to be more like the BASIC family of languages. A script can be compiled into a compressed, stand-alone executable which can then be run on computers that do not have the AutoIt interpreter installed.
Contents |
[edit] Features
- Powerful scripting language for Windows Environment, with very good libraries and support.
- AutoIT had developed into full fledged scripting language with BASIC like structure.
- Vibrant community of AutoIT users and support forums.
- 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
- Simulate mouse movements
- Manipulate windows and processes
- Automate sending user input and keystrokes to applications, as well as individual controls within an application.
- Scripts can be compiled into standalone executables
- Unicode support from version 3.2.4.0
- 64 bit code support from version 3.2.10.0
- Supports regular expressions
- Works with Windows Vista's User Account Control
AutoIt, like other scripting languages, is a third-generation programming language using a classical data model, utilizing a variant data type that can store several types of data, including arrays. It has a BASIC-like syntax and is compatible with Windows 95/98/ME/NT4/2000/ XP/2003/Vista, However support for operating systems older than Windows 2000 will be dropped in the near future.[citation needed]
AutoIt is distributed with an IDE based on the free SciTE editor. The compiler and help text are fully integrated and provide a de facto standard environment for developers using AutoIt.
[edit] Limitations
AutoIt lacks (or has only limited support for)
- Namespaces
- object-oriented programming
- abstract data types
- reference types
- classes
- advanced graphics functions
- manipulation of file and registry permissions (requiring the use of an external COM object such as SetACL)[3]
[edit] Usage
A popular use of AutoIt is the production of Utility software for Microsoft Windows. Common tasks, such as website monitoring, network monitoring, disk defragging and backup, can be automated and combined to provide a customised utility.
Another use 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 some in the AutoIt community as it can generate bad publicity, however a few botting scripts can still be found in the official autoit forums. Because botting is considered to be cheating by most AutoIt users you should not expect much help in the use of AutoIt for this purpose. Many forum members will refuse to help those that are trying to create bots. This is not to say that support will not be provided, however you may have to wait long periods of time for answers regarding bots.
It is also used to simulate application users, whereby an application is driven by an AutoIt script in place of manual application control during software testing.
[edit] Short History
- Christmas 1998 - Idea of C program that should send keystrokes
- January 1999 - First AutoIt Version (1.0)
- August 1999 - AutoIt v2 and AutoItX
- September 1999 - First AutoIt version with Compiler
- December 2002 - AutoIt v3 (Public Beta)
- February 2004 - AutoIt v3 (Stable)
- September 2006 - Auto3Lib started
- November 2007 - AutoIt v3.2.10.0 released, Auto3Lib incorporated into AutoIt v3
- May 2008 - AutoIt v3.2.12.0 released, incorporating added GUI functionality
NOTE: At some point in the life of AutoIt (around version 2), the developers released the source code under the GPL license in hopes to accelerate development.[citation needed] Soon, however, a few individuals took the code and released their own competing products using a non-GPL license while giving no credit to the original AutoIt developers. The AutoIt developers decided to prevent such pilfering for future versions of AutoIt and changed the license and limited access to the source code. The release of source code was stopped beginning with version 3.2.0 in August 2006.
[edit] Notes and references
- ^ Reply by Jon (AutoIt creator) to a forum topic discussing correct pronunciation
- ^ Kaplan, Steve (2003). Citrix Metaframe Access Suite for Windows Server 2003. New York: McGraw-Hill. ISBN 0072195665.
- ^ AutoIt forum entry on ACL
[edit] See also
- Automator (for Macintosh)
- Visual Basic
- AutoHotkey
- thinBasic
[edit] External links
- Official Homepage
- AutoIt Community – Help and examples
- AutoIt v3: Your Quick Guide by Andy Flesner – Published by O'Reilly Media September 2007 – Currently the only published work dedicated to the language
- Forum thread about AutoIt licensing options – Gives insights about AutoIt's trip to a GPL license and back as referred to in history section.