au3

.au3AutoIt Script

AutoIt Team · 1999

Developer
AutoIt Team
Category
Programming
MIME Type
text/plain
First Released
1999
Open Format
Yes
At a Glance
.au3
AutoIt Script

An .au3 file contains an AutoIt script used to automate Windows graphical user interface tasks and create simple applications.

Reviewed on July 14, 2026
Compression
Varies (Compiled executables are compressed)
Transparency
N/A
Editability
High (as source code)
Best for
Windows GUI automation

Key Features

  • Simple BASIC-like scripting language for Windows automation.
  • Designed for GUI automation, simulating keyboard and mouse input.
  • Can be compiled into standalone Windows executables (.exe).
  • Extensive support for Windows API and COM objects.

Best For

  • Automating repetitive Windows GUI tasks.
  • Creating custom tools for Windows system administration.
  • Distributing simple automation utilities as standalone executables.
  • Learning basic Windows scripting.

Less Ideal For

  • Complex web development.
  • Cross-platform application development.
  • High-performance computing tasks.
  • Creating sophisticated graphical user interfaces.

Common Use Cases

  • Automating software installations and configurations.
  • Creating scripts for repetitive tasks on Windows.
  • Developing simple utility applications and front-ends.
  • Testing GUI applications.

How to Open It

  1. Open in any plain text editor (like Notepad, VS Code, Sublime Text) to view or edit the source code.
  2. Use the AutoIt interpreter (included with AutoIt v3 installation) to run the script directly.
  3. Compile the .au3 file into a standalone .exe using the AutoIt SciTE editor or the Aut2Exe tool.

What is a .au3 file?

An AutoIt script file (.au3) contains source code written in the AutoIt scripting language. This language is designed for automating Windows GUI tasks and general scripting. It's particularly useful for creating scripts that mimic keystrokes, mouse movements, and window manipulation. The scripts are typically compiled into standalone executables, making them easy to share and run without needing the AutoIt interpreter installed on every machine. AutoIt scripts are widely used for software installation automation, repetitive task handling, and creating simple Windows applications.

Programs That Open .au3 Files

PlatformProgram
WindowsAutoItFreeOfficial
SciTE (with AutoIt extensions)Free
Notepad++Free
macOSTextEditFree
LinuxgeditFree

How to Convert .au3 Files

FormatMethod
.EXEAutoIt Compiler, Aut2Exe

Common Problems with .au3 Files

⚠️ Script doesn't run on another computer.
Ensure the target machine has the AutoIt interpreter installed, or compile the .au3 script into a standalone .exe using Aut2Exe.
⚠️ Script encounters errors with specific window controls.
Use the AutoIt Window Info tool to get accurate control IDs and class names. Update the script to use the correct identifiers or use AutoIt's more advanced control interaction methods.

Frequently Asked Questions

Do I need to install AutoIt to run an .au3 file?

If you want to run the .au3 script directly, yes, you need the AutoIt interpreter. However, if the script has been compiled into an .exe file, no additional installation is required on the target Windows machine.

Can AutoIt scripts be run on macOS or Linux?

AutoIt is primarily designed for Windows. While Wine can sometimes be used to run AutoIt executables on Linux, direct execution of .au3 scripts or reliable cross-platform compatibility is not supported.

Technical Details

AutoIt scripts are plain text files containing commands and logic written in AutoIt's BASIC-like syntax. They can include control flow statements, variable manipulation, function calls, and Windows API interactions. While interpreted by the AutoIt engine, they are most commonly compiled into standalone Windows executables (.exe) using the AutoIt compiler, which embeds the script and interpreter. The compiled executables are typically PE (Portable Executable) format.

Did You Know?

AutoIt was originally created to automate the installation of Windows software.
The AutoIt scripting language is often compared to Visual Basic due to its syntax similarities.

Security Information

As AutoIt scripts can automate system actions and interact with various Windows components, treat .au3 files from unknown sources with caution. Compiled .exe files may also be flagged by antivirus software if they exhibit behaviors similar to malware (e.g., rapid window manipulation, registry changes), even if benign.

Related Extensions