Script File Syntax

AutoIt

Script File Syntax

The script file is a standard text file (created with any text editor, such as notepad.exe) that can be given any extension (although .aut is the preferred extension). Each line can contain either a command, a comment, a label, or be left blank.  

N.B. The maximum number of characters per line is 16384.  Any extra characters will be ignored.

; Start of script
; Comments are indicated by a semi-colon

<Cmd>, <Cmd Parameters>
<Cmd2>, <Cmd2 Parameters>
<Cmd3>, <Cmd3 Parameters>

; This is a label, it must end with a colon (:) and it is used for commands such as Gosub and Goto.
label:

; End of script
Exit

; Start of the ADLIB section
[ADLIB]
<Title>, <Text>, <Cmd>, <Cmd Parameters>