\documentclass[10pt,a4paper]{article} % Packages \usepackage{fancyhdr} % For header and footer \usepackage{multicol} % Allows multicols in tables \usepackage{tabularx} % Intelligent column widths \usepackage{tabulary} % Used in header and footer \usepackage{hhline} % Border under tables \usepackage{graphicx} % For images \usepackage{xcolor} % For hex colours %\usepackage[utf8x]{inputenc} % For unicode character support \usepackage[T1]{fontenc} % Without this we get weird character replacements \usepackage{colortbl} % For coloured tables \usepackage{setspace} % For line height \usepackage{lastpage} % Needed for total page number \usepackage{seqsplit} % Splits long words. %\usepackage{opensans} % Can't make this work so far. Shame. Would be lovely. \usepackage[normalem]{ulem} % For underlining links % Most of the following are not required for the majority % of cheat sheets but are needed for some symbol support. \usepackage{amsmath} % Symbols \usepackage{MnSymbol} % Symbols \usepackage{wasysym} % Symbols %\usepackage[english,german,french,spanish,italian]{babel} % Languages % Document Info \author{SOLVE-SMART (SOLVE-SMART)} \pdfinfo{ /Title (autoit-en.pdf) /Creator (Cheatography) /Author (SOLVE-SMART (SOLVE-SMART)) /Subject (AutoIt (en) Cheat Sheet) } % Lengths and widths \addtolength{\textwidth}{6cm} \addtolength{\textheight}{-1cm} \addtolength{\hoffset}{-3cm} \addtolength{\voffset}{-2cm} \setlength{\tabcolsep}{0.2cm} % Space between columns \setlength{\headsep}{-12pt} % Reduce space between header and content \setlength{\headheight}{85pt} % If less, LaTeX automatically increases it \renewcommand{\footrulewidth}{0pt} % Remove footer line \renewcommand{\headrulewidth}{0pt} % Remove header line \renewcommand{\seqinsert}{\ifmmode\allowbreak\else\-\fi} % Hyphens in seqsplit % This two commands together give roughly % the right line height in the tables \renewcommand{\arraystretch}{1.3} \onehalfspacing % Commands \newcommand{\SetRowColor}[1]{\noalign{\gdef\RowColorName{#1}}\rowcolor{\RowColorName}} % Shortcut for row colour \newcommand{\mymulticolumn}[3]{\multicolumn{#1}{>{\columncolor{\RowColorName}}#2}{#3}} % For coloured multi-cols \newcolumntype{x}[1]{>{\raggedright}p{#1}} % New column types for ragged-right paragraph columns \newcommand{\tn}{\tabularnewline} % Required as custom column type in use % Font and Colours \definecolor{HeadBackground}{HTML}{333333} \definecolor{FootBackground}{HTML}{666666} \definecolor{TextColor}{HTML}{333333} \definecolor{DarkBackground}{HTML}{254768} \definecolor{LightBackground}{HTML}{F1F3F5} \renewcommand{\familydefault}{\sfdefault} \color{TextColor} % Header and Footer \pagestyle{fancy} \fancyhead{} % Set header to blank \fancyfoot{} % Set footer to blank \fancyhead[L]{ \noindent \begin{multicols}{3} \begin{tabulary}{5.8cm}{C} \SetRowColor{DarkBackground} \vspace{-7pt} {\parbox{\dimexpr\textwidth-2\fboxsep\relax}{\noindent \hspace*{-6pt}\includegraphics[width=5.8cm]{/web/www.cheatography.com/public/images/cheatography_logo.pdf}} } \end{tabulary} \columnbreak \begin{tabulary}{11cm}{L} \vspace{-2pt}\large{\bf{\textcolor{DarkBackground}{\textrm{AutoIt (en) Cheat Sheet}}}} \\ \normalsize{by \textcolor{DarkBackground}{SOLVE-SMART (SOLVE-SMART)} via \textcolor{DarkBackground}{\uline{cheatography.com/177604/cs/37060/}}} \end{tabulary} \end{multicols}} \fancyfoot[L]{ \footnotesize \noindent \begin{multicols}{3} \begin{tabulary}{5.8cm}{LL} \SetRowColor{FootBackground} \mymulticolumn{2}{p{5.377cm}}{\bf\textcolor{white}{Cheatographer}} \\ \vspace{-2pt}SOLVE-SMART (SOLVE-SMART) \\ \uline{cheatography.com/solve-smart} \\ \uline{\seqsplit{github}.com/Sven-Seyfert} \end{tabulary} \vfill \columnbreak \begin{tabulary}{5.8cm}{L} \SetRowColor{FootBackground} \mymulticolumn{1}{p{5.377cm}}{\bf\textcolor{white}{Cheat Sheet}} \\ \vspace{-2pt}Published 23rd February, 2023.\\ Updated 23rd February, 2023.\\ Page {\thepage} of \pageref{LastPage}. \end{tabulary} \vfill \columnbreak \begin{tabulary}{5.8cm}{L} \SetRowColor{FootBackground} \mymulticolumn{1}{p{5.377cm}}{\bf\textcolor{white}{Sponsor}} \\ \SetRowColor{white} \vspace{-5pt} %\includegraphics[width=48px,height=48px]{dave.jpeg} Measure your website readability!\\ www.readability-score.com \end{tabulary} \end{multicols}} \begin{document} \raggedright \raggedcolumns % Set font size to small. Switch to any value % from this page to resize cheat sheet text: % www.emerson.emory.edu/services/latex/latex_169.html \footnotesize % Small font. \begin{multicols*}{2} \begin{tabularx}{8.4cm}{x{4.48 cm} x{3.52 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{8.4cm}}{\bf\textcolor{white}{Variable notation and datatypes}} \tn % Row 0 \SetRowColor{LightBackground} \{\{width=29\}\}\$aFruitsList & Array (\$a) \tn % Row Count 2 (+ 2) % Row 1 \SetRowColor{white} \$bIsVisible & Bool (\$b) \tn % Row Count 3 (+ 1) % Row 2 \SetRowColor{LightBackground} \$dBinData & Binary (\$d) \tn % Row Count 4 (+ 1) % Row 3 \SetRowColor{white} \$fPrice & Float (\$f) \tn % Row Count 5 (+ 1) % Row 4 \SetRowColor{LightBackground} \$hGui & Handle (\$h) \tn % Row Count 6 (+ 1) % Row 5 \SetRowColor{white} \$iNumber & Integer (\$i) \tn % Row Count 7 (+ 1) % Row 6 \SetRowColor{LightBackground} \$idButtonOk & GUI control id (\$i) \tn % Row Count 9 (+ 2) % Row 7 \SetRowColor{white} \$mPairs & Map (\$m) \tn % Row Count 10 (+ 1) % Row 8 \SetRowColor{LightBackground} \$oExcel & Object (\$o) \tn % Row Count 11 (+ 1) % Row 9 \SetRowColor{white} \$pRect & Pointer (\$p) \tn % Row Count 12 (+ 1) % Row 10 \SetRowColor{LightBackground} \$sText & String (\$s) \tn % Row Count 13 (+ 1) % Row 11 \SetRowColor{white} \$tSTRUCT & Struct (\$t) \tn % Row Count 14 (+ 1) % Row 12 \SetRowColor{LightBackground} \$vData & Variant (\$v) \tn % Row Count 15 (+ 1) \hhline{>{\arrayrulecolor{DarkBackground}}--} \SetRowColor{LightBackground} \mymulticolumn{2}{x{8.4cm}}{\{\{fa-list-ul\}\} Complete list \{\{link="https://www.autoitscript.com/wiki/Best\_coding\_practices\#Names\_of\_Variables"\}\}here\{\{/link\}\}} \tn \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{8.4cm}{x{2.48 cm} x{5.52 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{8.4cm}}{\bf\textcolor{white}{Variable scope}} \tn % Row 0 \SetRowColor{LightBackground} \{\{width=29\}\}Global & Scope over the entire program \tn % Row Count 2 (+ 2) % Row 1 \SetRowColor{white} Local & Scope related to the block of code \tn % Row Count 4 (+ 2) % Row 2 \SetRowColor{LightBackground} Dim & Hybrid-like scope, local if not exists already globally \tn % Row Count 7 (+ 3) \hhline{>{\arrayrulecolor{DarkBackground}}--} \SetRowColor{LightBackground} \mymulticolumn{2}{x{8.4cm}}{\{\{fa-info-circle\}\} Tip: Avoid Dim, use explicit Local or Global \newline \{\{fa-info-circle\}\} Tip: Don't use Global in function scope} \tn \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{8.4cm}{p{0.76 cm} x{3.192 cm} x{3.648 cm} } \SetRowColor{DarkBackground} \mymulticolumn{3}{x{8.4cm}}{\bf\textcolor{white}{Assignment operators}} \tn % Row 0 \SetRowColor{LightBackground} = & Assignment\{\{width=29\}\} & \$sText = 'Hi' \tn % Row Count 2 (+ 2) % Row 1 \SetRowColor{white} \& & \seqsplit{Concatenates/joins} two strings & \$sText \& ' Max' \tn % Row Count 4 (+ 2) % Row 2 \SetRowColor{LightBackground} \&= & Concatenation assignment & \$sText \&= ' Max' equivalent to \$sText = \$sText \& ' Max' \tn % Row Count 7 (+ 3) % Row 3 \SetRowColor{white} += & Addition assignment & \$iNum += 1 equivalent to \$iNum = \$iNum + 1 \tn % Row Count 10 (+ 3) % Row 4 \SetRowColor{LightBackground} -= & Subtraction assignment & \$iNum -= 1 equivalent to \$iNum = \$iNum -1 \tn % Row Count 13 (+ 3) % Row 5 \SetRowColor{white} *= & Multiplicative assignment & \$iNum *= 2 equivalent to \$iNum = \$iNum * 2 \tn % Row Count 16 (+ 3) % Row 6 \SetRowColor{LightBackground} /= & Divisive assignment & \$iNum /= 2 equivalent to \$iNum = \$iNum / 2 \tn % Row Count 19 (+ 3) \hhline{>{\arrayrulecolor{DarkBackground}}---} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{8.4cm}{x{2.052 cm} x{3.192 cm} x{2.356 cm} } \SetRowColor{DarkBackground} \mymulticolumn{3}{x{8.4cm}}{\bf\textcolor{white}{Arithmetic operators}} \tn % Row 0 \SetRowColor{LightBackground} \{\{width=29\}\}+ & \{\{width=25\}\}Addition & 10 + 20 \tn % Row Count 2 (+ 2) % Row 1 \SetRowColor{white} - & Subtraction & 20 - 10 \tn % Row Count 3 (+ 1) % Row 2 \SetRowColor{LightBackground} * & Multiplication & 20 * 10 \tn % Row Count 4 (+ 1) % Row 3 \SetRowColor{white} / & Division & 20 / 10 \tn % Row Count 5 (+ 1) % Row 4 \SetRowColor{LightBackground} \textasciicircum{} & Power & 2 \textasciicircum{} 4 \tn % Row Count 6 (+ 1) % Row 5 \SetRowColor{white} Mod & Modulus & Mod(val1, val2) \tn % Row Count 8 (+ 2) \hhline{>{\arrayrulecolor{DarkBackground}}---} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{8.4cm}{x{1.444 cm} x{2.964 cm} x{3.192 cm} } \SetRowColor{DarkBackground} \mymulticolumn{3}{x{8.4cm}}{\bf\textcolor{white}{Comparison operators}} \tn % Row 0 \SetRowColor{LightBackground} \{\{width=29\}\}= & \{\{width=25\}\}Equal (CI) & If \$sText = 'Hi' Then .. \tn % Row Count 2 (+ 2) % Row 1 \SetRowColor{white} == & Strict equal (CS) & If \$sText == 'Bye' Then .. \tn % Row Count 4 (+ 2) % Row 2 \SetRowColor{LightBackground} \textless{}\textgreater{} & Not equal (CI) & If \$sText \textless{}\textgreater{} 'hello' Then .. \tn % Row Count 6 (+ 2) % Row 3 \SetRowColor{white} \textgreater{} & Greater than (CL) & \tn % Row Count 8 (+ 2) % Row 4 \SetRowColor{LightBackground} \textgreater{}= & Greater than or equal (CL) & \tn % Row Count 10 (+ 2) % Row 5 \SetRowColor{white} \textless{} & Less than (CL) & \tn % Row Count 11 (+ 1) % Row 6 \SetRowColor{LightBackground} \textless{}= & Less than or equal (CL) & \tn % Row Count 13 (+ 2) \hhline{>{\arrayrulecolor{DarkBackground}}---} \SetRowColor{LightBackground} \mymulticolumn{3}{x{8.4cm}}{\{\{fa-info-circle\}\} Legend: CI: case insensitive, CS: case sensitive, CL: compared lexicographically} \tn \hhline{>{\arrayrulecolor{DarkBackground}}---} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{8.4cm}{x{1.976 cm} x{2.508 cm} x{3.116 cm} } \SetRowColor{DarkBackground} \mymulticolumn{3}{x{8.4cm}}{\bf\textcolor{white}{Conditional operator}} \tn % Row 0 \SetRowColor{LightBackground} \{\{width=29\}\}? : & Ternary\{\{width=25\}\} & See section "Branching" \tn % Row Count 2 (+ 2) \hhline{>{\arrayrulecolor{DarkBackground}}---} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{8.4cm}{x{1.52 cm} x{2.356 cm} x{3.724 cm} } \SetRowColor{DarkBackground} \mymulticolumn{3}{x{8.4cm}}{\bf\textcolor{white}{Logical operators}} \tn % Row 0 \SetRowColor{LightBackground} \{\{width=29\}\}And & \{\{width=25\}\}Logical And & If \$iNum1 = 5 And \$iNum2 \textgreater{} 6 Then .. \tn % Row Count 2 (+ 2) % Row 1 \SetRowColor{white} Or & Logical Or & If \$iNum1 = 5 Or \$iNum2 \textgreater{} 6 Then .. \tn % Row Count 4 (+ 2) % Row 2 \SetRowColor{LightBackground} Not & Logical Not & If Not \$iNum = 5 Then .. \tn % Row Count 6 (+ 2) \hhline{>{\arrayrulecolor{DarkBackground}}---} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{8.4cm}{x{3.04 cm} x{4.96 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{8.4cm}}{\bf\textcolor{white}{Comments}} \tn % Row 0 \SetRowColor{LightBackground} \{\{width=29\}\}; & Single line comment \tn % Row Count 1 (+ 1) % Row 1 \SetRowColor{white} \#cs\{\{nl\}\}\{\{nl\}\}\{\{nl\}\}\#ce & \{\{nl\}\}This is a\{\{nl\}\}multi line comment \tn % Row Count 3 (+ 2) \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{8.4cm}{x{3.12 cm} x{4.88 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{8.4cm}}{\bf\textcolor{white}{Quotes and escaping}} \tn % Row 0 \SetRowColor{LightBackground} \{\{width=29\}\}"First string" & Strings are enclosed in double-quotes \tn % Row Count 2 (+ 2) % Row 1 \SetRowColor{white} 'Second string' & Strings can also be enclosed in single-quotes \tn % Row Count 4 (+ 2) % Row 2 \SetRowColor{LightBackground} "His name was ""Max""" & Double-quotes as escape character \tn % Row Count 6 (+ 2) % Row 3 \SetRowColor{white} 'His name was "Max"' & Or single-quotes instead \tn % Row Count 8 (+ 2) % Row 4 \SetRowColor{LightBackground} 'I''m a string' & Single-quotes as escape character \tn % Row Count 10 (+ 2) % Row 5 \SetRowColor{white} "I'm a string" & Or double-quotes instead \tn % Row Count 11 (+ 1) \hhline{>{\arrayrulecolor{DarkBackground}}--} \SetRowColor{LightBackground} \mymulticolumn{2}{x{8.4cm}}{\{\{fa-list-ul\}\} Complete list \{\{link="https://www.autoitscript.com/wiki/Best\_coding\_practices\#Names\_of\_Variables"\}\}here\{\{/link\}\}} \tn \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{8.4cm}{x{3.44 cm} x{4.56 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{8.4cm}}{\bf\textcolor{white}{Functions}} \tn % Row 0 \SetRowColor{LightBackground} \{\{width=29\}\}Without parameters & Func \_PrintHello()\{\{nl\}\}~~~~ConsoleWrite('Hello' \& @CRLF)\{\{nl\}\}EndFunc \tn % Row Count 5 (+ 5) % Row 1 \SetRowColor{white} With parameters & Func \_PrintText(\$sText)\{\{nl\}\}~~~~ConsoleWrite(\$sText \& @CRLF)\{\{nl\}\}EndFunc \tn % Row Count 10 (+ 5) % Row 2 \SetRowColor{LightBackground} With optional parameters & Func \seqsplit{\_SendWithDelay(\$sKeys}, \$iDelay = 150)\{\{nl\}\}~~~~Send(\$sKeys)\{\{nl\}\}~~~~Sleep(\$iDelay)\{\{nl\}\}EndFunc \tn % Row Count 17 (+ 7) % Row 3 \SetRowColor{white} With Default keyword parameter & Func \seqsplit{\_SendWithDelay(\$sKeys}, \$iDelay = Default)\{\{nl\}\}~~~~\$iDelay = (\$iDelay == Default) ? 150 : \$iDelay\{\{nl\}\}~~~~Send(\$sKeys)\{\{nl\}\}~~~~Sleep(\$iDelay)\{\{nl\}\}EndFunc \tn % Row Count 28 (+ 11) \hhline{>{\arrayrulecolor{DarkBackground}}--} \SetRowColor{LightBackground} \mymulticolumn{2}{x{8.4cm}}{\{\{fa-info-circle\}\} Function calls: \newline \_PrintHello()\{ \newline \_PrintText('This is a text') \newline \_SendWithDelay('\{ENTER\}') \newline \_SendWithDelay('\{ENTER\}', 300) \newline \_SendWithDelay('\{ENTER\}', Default)} \tn \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{8.4cm}{x{2.72 cm} x{5.28 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{8.4cm}}{\bf\textcolor{white}{Loops}} \tn % Row 0 \SetRowColor{LightBackground} \{\{width=29\}\}For..Next & For \$i = 1 To 10 Step 1\{\{nl\}\}~~~~ConsoleWrite(\$i \& @CRLF)\{\{nl\}\}Next \tn % Row Count 4 (+ 4) % Row 1 \SetRowColor{white} \seqsplit{For..In..Next} & For \$sFruit In \$aFruitsList\{\{nl\}\}~~~~ConsoleWrite(\$sFruit \& @CRLF)\{\{nl\}\}Next \tn % Row Count 8 (+ 4) % Row 2 \SetRowColor{LightBackground} While..WEnd & While \$iNum \textless{} 25\{\{nl\}\}~~~~Sleep(200)\{\{nl\}\}~~~~\$iNum += 1\{\{nl\}\}WEnd \tn % Row Count 13 (+ 5) % Row 3 \SetRowColor{white} Do..Until & Do\{\{nl\}\}~~~~Sleep(200)\{\{nl\}\}~~~~\$iNum += 1\{\{nl\}\}Until \$iNum = 25 \tn % Row Count 17 (+ 4) \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{8.4cm}{x{3.28 cm} x{4.72 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{8.4cm}}{\bf\textcolor{white}{Branching}} \tn % Row 0 \SetRowColor{LightBackground} \{\{width=29\}\}If..ElseIf..Else & If \$iNum = 1 Then\{\{nl\}\}~~~~; do something\{\{nl\}\}ElseIf \$iNum = 2 Then\{\{nl\}\}~~~~; do something\{\{nl\}\}Else\{\{nl\}\}~~~~; do something\{\{nl\}\}EndIf \tn % Row Count 9 (+ 9) % Row 1 \SetRowColor{white} Select & Select\{\{nl\}\}~~~~Case \$iNum = 42\{\{nl\}\}~~~~~~~~; do something\{\{nl\}\}~~~~Case \$sText = 'Test'\{\{nl\}\}~~~~~~~~; do something\{\{nl\}\}~~~~Case Else\{\{nl\}\}~~~~~~~~; do something\{\{nl\}\}EndSelect \tn % Row Count 25 (+ 16) % Row 2 \SetRowColor{LightBackground} Switch & Switch @HOUR\{\{nl\}\}~~~~Case 6 To 11\{\{nl\}\}~~~~~~~~\$sMessage = 'Good Morning'\{\{nl\}\}~~~~Case 12 To 17\{\{nl\}\}~~~~~~~~\$sMessage = 'Good Afternoon'\{\{nl\}\}~~~~Case Else\{\{nl\}\}~~~~~~~~\$sMessage = "Later than 17 o'clock"\{\{nl\}\}EndSwitch \tn % Row Count 43 (+ 18) \end{tabularx} \par\addvspace{1.3em} \vfill \columnbreak \begin{tabularx}{8.4cm}{x{3.28 cm} x{4.72 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{8.4cm}}{\bf\textcolor{white}{Branching (cont)}} \tn % Row 3 \SetRowColor{LightBackground} Ternary & \$sVariable = (condition) ? 'thenExpression' : 'elseExpression'\{\{nl\}\}\$bIsAnswerToLife = (\$iNum = 42) ? True : False \tn % Row Count 5 (+ 5) \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{8.4cm}{x{2.96 cm} x{5.04 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{8.4cm}}{\bf\textcolor{white}{Command line}} \tn % Row 0 \SetRowColor{LightBackground} \{\{width=29\}\}\$CmdLine{[}0{]} & Total number of given command line call parameters \tn % Row Count 2 (+ 2) % Row 1 \SetRowColor{white} \$CmdLine{[}1{]} & First parameter (value) of given command line call \tn % Row Count 4 (+ 2) \hhline{>{\arrayrulecolor{DarkBackground}}--} \SetRowColor{LightBackground} \mymulticolumn{2}{x{8.4cm}}{\{\{fa-info-circle\}\} Command line call (e.g. as GUI parameter): \newline C:\textbackslash{}Development\textbackslash{}AutoIt\textgreater{}MyProgram.exe "800" "600" \newline \$iGuiWidth = \$CmdLine{[}1{]} \newline \$iGuiHeight = \$CmdLine{[}2{]}} \tn \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{8.4cm}{x{2.72 cm} x{5.28 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{8.4cm}}{\bf\textcolor{white}{Macros (special read-only variables)}} \tn % Row 0 \SetRowColor{LightBackground} \{\{width=29\}\}@Compiled & Indicates whether the script is compiled or not \tn % Row Count 2 (+ 2) % Row 1 \SetRowColor{white} @CRLF & Carriage Return Line Feed \tn % Row Count 3 (+ 1) % Row 2 \SetRowColor{LightBackground} @error & Status of the error flag \tn % Row Count 4 (+ 1) % Row 3 \SetRowColor{white} @extended & Extended function return \tn % Row Count 5 (+ 1) % Row 4 \SetRowColor{LightBackground} @HOUR & Hours value of clock \tn % Row Count 6 (+ 1) % Row 5 \SetRowColor{white} @MIN & Minutes value of clock \tn % Row Count 7 (+ 1) % Row 6 \SetRowColor{LightBackground} @SEC & Seconds value of clock \tn % Row Count 8 (+ 1) % Row 7 \SetRowColor{white} @ScriptDir & Directory containing the running script \tn % Row Count 10 (+ 2) \hhline{>{\arrayrulecolor{DarkBackground}}--} \SetRowColor{LightBackground} \mymulticolumn{2}{x{8.4cm}}{\{\{fa-list-ul\}\} Complete list \{\{link="https://www.autoitscript.com/autoit3/docs/macros.htm"\}\}here\{\{/link\}\}} \tn \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{8.4cm}{x{2.8 cm} x{5.2 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{8.4cm}}{\bf\textcolor{white}{Directives}} \tn % Row 0 \SetRowColor{LightBackground} \{\{width=29\}\}\#include & Includes a file in the current script\{\{nl\}\}\#include \textless{}Array.au3\textgreater{} or\{\{nl\}\}\#include "path\textbackslash{}filename.au3" \tn % Row Count 4 (+ 4) % Row 1 \SetRowColor{white} \#include-once & Current file may only be included once \tn % Row Count 6 (+ 2) % Row 2 \SetRowColor{LightBackground} \#NoTrayIcon & AutoIt tray icon will not be shown \tn % Row Count 8 (+ 2) % Row 3 \SetRowColor{white} \seqsplit{\#OnAutoItStartRegister} & Registers a function to be called when AutoIt starts \tn % Row Count 10 (+ 2) % Row 4 \SetRowColor{LightBackground} \#pragma & Changes how the script is compiled \tn % Row Count 12 (+ 2) % Row 5 \SetRowColor{white} \#RequireAdmin & Current script requires full administrator rights to run \tn % Row Count 15 (+ 3) \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{8.4cm}{x{2.08 cm} x{5.92 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{8.4cm}}{\bf\textcolor{white}{Au3Check* common parameters}} \tn % Row 0 \SetRowColor{LightBackground} \{\{width=29\}\}-d & As Opt("MustDeclareVars", 1) \tn % Row Count 2 (+ 2) % Row 1 \SetRowColor{white} -w 1 & Already included file (on) \tn % Row Count 3 (+ 1) % Row 2 \SetRowColor{LightBackground} -w 2 & Missing \#comments-end (on) \tn % Row Count 4 (+ 1) % Row 3 \SetRowColor{white} -w 3 & Already declared var (off) \tn % Row Count 5 (+ 1) % Row 4 \SetRowColor{LightBackground} -w 4 & Local var used in global scope (off) \tn % Row Count 7 (+ 2) % Row 5 \SetRowColor{white} -w 5 & Local var declared but not used (off) \tn % Row Count 9 (+ 2) % Row 6 \SetRowColor{LightBackground} -w 6 & Warn when using Dim (off) \tn % Row Count 10 (+ 1) % Row 7 \SetRowColor{white} -w 7 & Warn when passing Const or expression on ByRef param(s) (on) \tn % Row Count 13 (+ 3) \hhline{>{\arrayrulecolor{DarkBackground}}--} \SetRowColor{LightBackground} \mymulticolumn{2}{x{8.4cm}}{\{\{fa-info-circle\}\} Au3Check* checks the script for syntax errors \newline \{\{fa-list-ul\}\} Complete list \{\{link="https://www.autoitscript.com/autoit3/docs/intro/au3check.htm"\}\}here\{\{/link\}\}} \tn \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{8.4cm}{x{2.16 cm} x{5.84 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{8.4cm}}{\bf\textcolor{white}{Au3Stripper* common parameters}} \tn % Row 0 \SetRowColor{LightBackground} \{\{width=29\}\}/sf & Strip all unused Func's \tn % Row Count 2 (+ 2) % Row 1 \SetRowColor{white} /sv & Strip unused Global and Local variable declarations \tn % Row Count 4 (+ 2) % Row 2 \SetRowColor{LightBackground} /mo & Just merges the Include files into the source and strips the Comments\{\{nl\}\}This is similar to aut2exe and helps finding the errorline \tn % Row Count 9 (+ 5) % Row 3 \SetRowColor{white} /rm & Rename Variables and Functions to a shorter name \tn % Row Count 11 (+ 2) % Row 4 \SetRowColor{LightBackground} /rsln & Replace @ScriptLineNumber with the actual line number \tn % Row Count 13 (+ 2) \hhline{>{\arrayrulecolor{DarkBackground}}--} \SetRowColor{LightBackground} \mymulticolumn{2}{x{8.4cm}}{\{\{fa-info-circle\}\} Au3Stripper* clean up the script through various options \newline \{\{fa-list-ul\}\} Complete list \{\{link="https://www.autoitscript.com/autoit3/docs/intro/au3stripper.htm"\}\}here\{\{/link\}\}} \tn \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} % That's all folks \end{multicols*} \end{document}