[AutoHotkey v1.1.09+] do not support AutoIt v2 (.aut) scripts. Older versions of AutoHotkey supported AutoIt v2 scripts by changing the default settings and behaviour of some commands. This page contains information which has been removed from other pages in the documentation.
The following only applies to .aut files, and only on [v1.1.08.01] or earlier.
|#AllowSameLineComments||By default, comments are not allowed on the same line as a command.|
|A_ScriptDir||A final backslash is included.|
|DetectHiddenText||Defaults to Off.|
|#EscapeChar||Defaults to backslash (\).|
|FileCopy||ErrorLevel is set to 1 if any of the files could not be copied.|
|IniDelete||ErrorLevel is not changed.|
|IniRead||The Default parameter is not supported; the string ERROR will always be stored in OutputVar if there was a problem reading the value.|
|IniWrite||ErrorLevel is not changed.|
|InputBox||If the user presses the CANCEL button, OutputVar is set to be blank. ErrorLevel is not changed unless the dialog times out.|
|SetBatchLines||Defaults to 1, which causes the script to sleep after every line.|
|SetKeyDelay||The default Delay for the traditional SendEvent mode is 20.|
|Send||The character |
|SplashTextOn||Height includes the window's title bar.|
Running a script file with the extension
.aut.ahk on [AutoHotkey v1.1.08.01] or earlier does not execute the script; it instead converts the script from the AutoIt v2 default escape character (backslash) to the AutoHotkey default (backtick).
The following commands were supported by automatically translating them to the corresponding AutoHotkey commands (and this was previously undocumented): LeftClick, LeftClickDrag, RightClick, RightClickDrag, HideAutoItWin, Repeat, EndRepeat. This automatic translation has been removed in [v1.1.09].