Keyword Reference

Below is a complete list of the keywords available in AutoIt.  Click on a keyword name for a detailed description.

 

Keyword Description
#comments-start Specify that an entire section of script should be commented out.
ContinueLoop Continue a While/Do/For loop.
Dim / Global / Local / Const Declare a variable, a constant, or create an array.
Do...Until Loop based on an expression.
Exit Terminates the script.
ExitLoop Terminate a While/Do/For loop.
For...Next Loop based on an expression.
Func...Return...EndFunc Defines a user-defined function that takes zero or more arguments and optionally returns a result.
If...Then Conditionally run a single statement.
If...ElseIf...Else...EndIf Conditionally run statements.
#include-once Specifies that the current file may only be included once.
#include Includes a file in current script.
#NoTrayIcon Indicates that the AutoIt tray icon will not be shown when the script starts.
ReDim Resize an existing array
Select...Case...EndSelect Conditionally run statements.
While...WEnd Loop based on an expression.