\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-de.pdf) /Creator (Cheatography) /Author (SOLVE-SMART (SOLVE-SMART)) /Subject (AutoIt (de) 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 (de) Cheat Sheet}}}} \\ \normalsize{by \textcolor{DarkBackground}{SOLVE-SMART (SOLVE-SMART)} via \textcolor{DarkBackground}{\uline{cheatography.com/177604/cs/37254/}}} \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}{Variablen Notation und Datentypen}} \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\}\} Komplette Liste \{\{link="https://www.autoitscript.com/wiki/Best\_coding\_practices\#Names\_of\_Variables"\}\}hier\{\{/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}{Variablen Geltungsbereich}} \tn % Row 0 \SetRowColor{LightBackground} \{\{width=29\}\}Global & Geltungsbereich über das gesamte Programm \tn % Row Count 2 (+ 2) % Row 1 \SetRowColor{white} Local & Geltungsbereich bezogen auf den Codeblock \tn % Row Count 4 (+ 2) % Row 2 \SetRowColor{LightBackground} Dim & Hybrid-{\"a}hnlicher Geltungsbereich, lokal, falls nicht bereits global vorhanden \tn % Row Count 7 (+ 3) \hhline{>{\arrayrulecolor{DarkBackground}}--} \SetRowColor{LightBackground} \mymulticolumn{2}{x{8.4cm}}{\{\{fa-info-circle\}\} Tipp: Vermeide Dim, verwende explizit Local oder Global \newline \{\{fa-info-circle\}\} Tipp: Verwende Global nicht innerhalb von Funktionen} \tn \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{8.4cm}{p{0.76 cm} x{3.268 cm} x{3.572 cm} } \SetRowColor{DarkBackground} \mymulticolumn{3}{x{8.4cm}}{\bf\textcolor{white}{Zuweisungsoperatoren}} \tn % Row 0 \SetRowColor{LightBackground} = & Zuweisung\{\{width=29\}\} & \$sText = 'Hi' \tn % Row Count 2 (+ 2) % Row 1 \SetRowColor{white} \& & \seqsplit{Verkettet/verbindet} zwei Strings & \$sText \& ' Max' \tn % Row Count 4 (+ 2) % Row 2 \SetRowColor{LightBackground} \&= & \seqsplit{Verkettungszuweisung} & \$sText \&= ' Max' gleichbedeutend mit\{\{nl\}\}\$sText = \$sText \& ' Max' \tn % Row Count 8 (+ 4) % Row 3 \SetRowColor{white} += & \seqsplit{Additionszuweisung} & \$iNum += 1 gleichbedeutend mit\{\{nl\}\}\$iNum = \$iNum + 1 \tn % Row Count 11 (+ 3) % Row 4 \SetRowColor{LightBackground} -= & \seqsplit{Subtraktionszuweisung} & \$iNum -= 1 gleichbedeutend mit\{\{nl\}\}\$iNum = \$iNum -1 \tn % Row Count 14 (+ 3) % Row 5 \SetRowColor{white} *= & Multiplikative Zuweisung & \$iNum *= 2 gleichbedeutend mit\{\{nl\}\}\$iNum = \$iNum * 2 \tn % Row Count 17 (+ 3) % Row 6 \SetRowColor{LightBackground} /= & Divisive Zuweisung & \$iNum /= 2 gleichbedeutend mit\{\{nl\}\}\$iNum = \$iNum / 2 \tn % Row Count 20 (+ 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}{Arithmetische Operatoren}} \tn % Row 0 \SetRowColor{LightBackground} \{\{width=29\}\}+ & \{\{width=25\}\}Addition & 10 + 20 \tn % Row Count 2 (+ 2) % Row 1 \SetRowColor{white} - & Subtraktion & 20 - 10 \tn % Row Count 3 (+ 1) % Row 2 \SetRowColor{LightBackground} * & Multiplikation & 20 * 10 \tn % Row Count 4 (+ 1) % Row 3 \SetRowColor{white} / & Division & 20 / 10 \tn % Row Count 5 (+ 1) % Row 4 \SetRowColor{LightBackground} \textasciicircum{} & Potenzieren & 2 \textasciicircum{} 4 \tn % Row Count 6 (+ 1) % Row 5 \SetRowColor{white} Mod & Modulo & 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{3.116 cm} x{3.04 cm} } \SetRowColor{DarkBackground} \mymulticolumn{3}{x{8.4cm}}{\bf\textcolor{white}{Vergleichsoperatoren}} \tn % Row 0 \SetRowColor{LightBackground} \{\{width=29\}\}= & \{\{width=25\}\}Gleich (GKu) & If \$sText = 'Hi' Then .. \tn % Row Count 2 (+ 2) % Row 1 \SetRowColor{white} == & Streng gleich (GK) & If \$sText == 'Bye' Then .. \tn % Row Count 4 (+ 2) % Row 2 \SetRowColor{LightBackground} \textless{}\textgreater{} & Ungleich (GKu) & If \$sText \textless{}\textgreater{} 'hallo' Then .. \tn % Row Count 6 (+ 2) % Row 3 \SetRowColor{white} \textgreater{} & Gr{\"o}{\ss}er als (LV) & \tn % Row Count 8 (+ 2) % Row 4 \SetRowColor{LightBackground} \textgreater{}= & Gr{\"o}{\ss}er als oder gleich (LV) & \tn % Row Count 10 (+ 2) % Row 5 \SetRowColor{white} \textless{} & Kleiner als (LV) & \tn % Row Count 11 (+ 1) % Row 6 \SetRowColor{LightBackground} \textless{}= & Kleiner als oder gleich (LV) & \tn % Row Count 13 (+ 2) \hhline{>{\arrayrulecolor{DarkBackground}}---} \SetRowColor{LightBackground} \mymulticolumn{3}{x{8.4cm}}{\{\{fa-info-circle\}\} Legende: GKu: Gro{\ss}- und Kleinschreibung unbeachtet, GK: Gro{\ss}- und Kleinschreibung beachtet, LV: lexikografisch verglichen} \tn \hhline{>{\arrayrulecolor{DarkBackground}}---} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{8.4cm}{x{1.9 cm} x{2.356 cm} x{3.344 cm} } \SetRowColor{DarkBackground} \mymulticolumn{3}{x{8.4cm}}{\bf\textcolor{white}{Konditionaler Operator}} \tn % Row 0 \SetRowColor{LightBackground} \{\{width=29\}\}? : & Ternary\{\{width=25\}\} & Siehe Bereich "Verzweigung" \tn % Row Count 2 (+ 2) \hhline{>{\arrayrulecolor{DarkBackground}}---} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{8.4cm}{x{1.52 cm} x{2.432 cm} x{3.648 cm} } \SetRowColor{DarkBackground} \mymulticolumn{3}{x{8.4cm}}{\bf\textcolor{white}{Logische Operatoren}} \tn % Row 0 \SetRowColor{LightBackground} \{\{width=29\}\}And & \{\{width=25\}\}Logisch Und & If \$iNum1 = 5 And \$iNum2 \textgreater{} 6 Then .. \tn % Row Count 2 (+ 2) % Row 1 \SetRowColor{white} Or & Logisch Oder & If \$iNum1 = 5 Or \$iNum2 \textgreater{} 6 Then .. \tn % Row Count 4 (+ 2) % Row 2 \SetRowColor{LightBackground} Not & Logisch Nicht (Negation) & 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}{Kommentare}} \tn % Row 0 \SetRowColor{LightBackground} \{\{width=29\}\}; & Einzeiliger Kommentar \tn % Row Count 1 (+ 1) % Row 1 \SetRowColor{white} \#cs\{\{nl\}\}\{\{nl\}\}\{\{nl\}\}\#ce & \{\{nl\}\}Dies ist ein\{\{nl\}\}mehrzeiliger Kommentar \tn % Row Count 3 (+ 2) \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{8.4cm}{x{3.2 cm} x{4.8 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{8.4cm}}{\bf\textcolor{white}{Zeichenketten und Zeichen-Maskierung}} \tn % Row 0 \SetRowColor{LightBackground} \{\{width=29\}\}"Erster string" & Zeichenketten werden in doppelte Anführungs-\{\{nl\}\}zeichen eingeschlossen \tn % Row Count 4 (+ 4) % Row 1 \SetRowColor{white} 'Zweiter string' & Zeichenketten k{\"o}nnen auch in einfache Anführungs-\{\{nl\}\}zeichen eingeschlossen werden \tn % Row Count 8 (+ 4) % Row 2 \SetRowColor{LightBackground} "Er ist ""Max""" & Doppeltes Anführungszeichen als Maskierungszeichen \tn % Row Count 11 (+ 3) % Row 3 \SetRowColor{white} 'Er ist "Max"' & Oder stattdessen einfache Anführungszeichen \tn % Row Count 13 (+ 2) % Row 4 \SetRowColor{LightBackground} 'Max auf''m Fahrrad' & Einfaches Anführungszeichen als Maskierungszeichen \tn % Row Count 16 (+ 3) % Row 5 \SetRowColor{white} "Max auf'm Fahrrad" & Oder stattdessen doppelte Anführungszeichen \tn % Row Count 18 (+ 2) \hhline{>{\arrayrulecolor{DarkBackground}}--} \SetRowColor{LightBackground} \mymulticolumn{2}{x{8.4cm}}{\{\{fa-list-ul\}\} Komplette Liste \{\{link="https://www.autoitscript.com/wiki/Best\_coding\_practices\#Names\_of\_Variables"\}\}hier\{\{/link\}\}} \tn \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{8.4cm}{x{3.36 cm} x{4.64 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{8.4cm}}{\bf\textcolor{white}{Funktionen}} \tn % Row 0 \SetRowColor{LightBackground} \{\{width=29\}\}Ohne Parameter & Func \_PrintHello()\{\{nl\}\}~~~~ConsoleWrite('Hello' \& @CRLF)\{\{nl\}\}EndFunc \tn % Row Count 4 (+ 4) % Row 1 \SetRowColor{white} Mit Parameter & Func \_PrintText(\$sText)\{\{nl\}\}~~~~ConsoleWrite(\$sText \& @CRLF)\{\{nl\}\}EndFunc \tn % Row Count 9 (+ 5) % Row 2 \SetRowColor{LightBackground} Mit optionalen Parametern & Func \seqsplit{\_SendWithDelay(\$sKeys}, \$iDelay = 150)\{\{nl\}\}~~~~Send(\$sKeys)\{\{nl\}\}~~~~Sleep(\$iDelay)\{\{nl\}\}EndFunc \tn % Row Count 16 (+ 7) % Row 3 \SetRowColor{white} Mit 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 26 (+ 10) \hhline{>{\arrayrulecolor{DarkBackground}}--} \SetRowColor{LightBackground} \mymulticolumn{2}{x{8.4cm}}{\{\{fa-info-circle\}\} Funktionsaufrufe: \newline \_PrintHello()\{ \newline \_PrintText('Dies ist ein 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}{Schleifen}} \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}{Verzweigungen}} \tn % Row 0 \SetRowColor{LightBackground} \{\{width=29\}\}If..ElseIf..Else & If \$iNum = 1 Then\{\{nl\}\}~~~~; tue etwas\{\{nl\}\}ElseIf \$iNum = 2 Then\{\{nl\}\}~~~~; tue etwas\{\{nl\}\}Else\{\{nl\}\}~~~~; tue etwas\{\{nl\}\}EndIf \tn % Row Count 9 (+ 9) % Row 1 \SetRowColor{white} Select & Select\{\{nl\}\}~~~~Case \$iNum = 42\{\{nl\}\}~~~~~~~~; tue etwas\{\{nl\}\}~~~~Case \$sText = 'Test'\{\{nl\}\}~~~~~~~~; tue etwas\{\{nl\}\}~~~~Case Else\{\{nl\}\}~~~~~~~~; tue etwas\{\{nl\}\}EndSelect \tn % Row Count 25 (+ 16) % Row 2 \SetRowColor{LightBackground} Switch & Switch @HOUR\{\{nl\}\}~~~~Case 6 To 11\{\{nl\}\}~~~~~~~~\$sMessage = 'Guten Morgen'\{\{nl\}\}~~~~Case 12 To 17\{\{nl\}\}~~~~~~~~\$sMessage = 'Hallo'\{\{nl\}\}~~~~Case Else\{\{nl\}\}~~~~~~~~\$sMessage = 'Es ist nach 17 Uhr'\{\{nl\}\}EndSwitch \tn % Row Count 42 (+ 17) \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}{Verzweigungen (cont)}} \tn % Row 3 \SetRowColor{LightBackground} Ternary & \$sVariable = (Bedingung) ? 'dannAusdruck' : 'sonstAusdruck'\{\{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}{Kommandozeile}} \tn % Row 0 \SetRowColor{LightBackground} \{\{width=29\}\}\$CmdLine{[}0{]} & Gesamtanzahl der angegebenen Kommandozeilen-\{\{nl\}\}parameter \tn % Row Count 3 (+ 3) % Row 1 \SetRowColor{white} \$CmdLine{[}1{]} & Erster Parameter (Wert) des angegebenen Kommandozeilen-\{\{nl\}\}aufrufs \tn % Row Count 6 (+ 3) \hhline{>{\arrayrulecolor{DarkBackground}}--} \SetRowColor{LightBackground} \mymulticolumn{2}{x{8.4cm}}{\{\{fa-info-circle\}\} Kommandozeilenaufruf (bspw. als GUI Parameter): \newline C:\textbackslash{}Development\textbackslash{}AutoIt\textgreater{}MeinProgramm.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}{Makros (spezielle schreibgeschützte Variablen)}} \tn % Row 0 \SetRowColor{LightBackground} \{\{width=29\}\}@Compiled & Gibt an, ob das Skript kompiliert ist oder nicht \tn % Row Count 2 (+ 2) % Row 1 \SetRowColor{white} @CRLF & Wagenrücklauf Zeilenvorschub \tn % Row Count 4 (+ 2) % Row 2 \SetRowColor{LightBackground} @error & Status des Fehlerflags \tn % Row Count 5 (+ 1) % Row 3 \SetRowColor{white} @extended & Erweiterte Funktionsrückgabe \tn % Row Count 7 (+ 2) % Row 4 \SetRowColor{LightBackground} @HOUR & Stundenwert \tn % Row Count 8 (+ 1) % Row 5 \SetRowColor{white} @MIN & Minutenwert \tn % Row Count 9 (+ 1) % Row 6 \SetRowColor{LightBackground} @SEC & Sekundenwert \tn % Row Count 10 (+ 1) % Row 7 \SetRowColor{white} @ScriptDir & Verzeichnis des ausgeführten Skripts \tn % Row Count 12 (+ 2) \hhline{>{\arrayrulecolor{DarkBackground}}--} \SetRowColor{LightBackground} \mymulticolumn{2}{x{8.4cm}}{\{\{fa-list-ul\}\} Komplette Liste \{\{link="https://www.autoitscript.com/autoit3/docs/macros.htm"\}\}hier\{\{/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}{Direktiven (Richtlinien)}} \tn % Row 0 \SetRowColor{LightBackground} \{\{width=29\}\}\#include & Fügt eine Datei in das aktuelle Skript ein\{\{nl\}\}\#include \textless{}Array.au3\textgreater{} oder\{\{nl\}\}\#include "Pfad\textbackslash{}Dateiname.au3" \tn % Row Count 5 (+ 5) % Row 1 \SetRowColor{white} \#include-once & Aktuelle Datei darf nur einmal eingebunden werden \tn % Row Count 7 (+ 2) % Row 2 \SetRowColor{LightBackground} \#NoTrayIcon & Das AutoIt-Taskleistensymbol wird nicht angezeigt \tn % Row Count 9 (+ 2) % Row 3 \SetRowColor{white} \seqsplit{\#OnAutoItStartRegister} & Registriert eine Funktion, die beim Start von AutoIt aufgerufen werden soll \tn % Row Count 12 (+ 3) % Row 4 \SetRowColor{LightBackground} \#pragma & Ändert, wie das Skript kompiliert wird \tn % Row Count 14 (+ 2) % Row 5 \SetRowColor{white} \#RequireAdmin & Für die Ausführung des aktuellen Skripts sind vollst{\"a}ndige Administratorrechte erforderlich \tn % Row Count 18 (+ 4) \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* allgemeine Parameter}} \tn % Row 0 \SetRowColor{LightBackground} \{\{width=29\}\}-d & Wie Opt("MustDeclareVars", 1) \tn % Row Count 2 (+ 2) % Row 1 \SetRowColor{white} -w 1 & Bereits eingebundene Datei (an) \tn % Row Count 4 (+ 2) % Row 2 \SetRowColor{LightBackground} -w 2 & Fehlende \#Kommentare-Ende (an) \tn % Row Count 6 (+ 2) % Row 3 \SetRowColor{white} -w 3 & Bereits deklarierte Variablen (aus) \tn % Row Count 8 (+ 2) % Row 4 \SetRowColor{LightBackground} -w 4 & Lokale Variable im globalen Bereich verwendet (aus) \tn % Row Count 10 (+ 2) % Row 5 \SetRowColor{white} -w 5 & Lokale Variable deklariert, aber nicht verwendet (aus) \tn % Row Count 12 (+ 2) % Row 6 \SetRowColor{LightBackground} -w 6 & Warnen bei Verwendung von Dim (aus) \tn % Row Count 14 (+ 2) % Row 7 \SetRowColor{white} -w 7 & Warnung bei Übergabe von Const oder Ausdruck auf ByRef-Parameter(n) (ein) \tn % Row Count 17 (+ 3) \hhline{>{\arrayrulecolor{DarkBackground}}--} \SetRowColor{LightBackground} \mymulticolumn{2}{x{8.4cm}}{\{\{fa-info-circle\}\} Au3Check* überprüft das Skript auf Syntaxfehler \newline \{\{fa-list-ul\}\} Komplette Liste \{\{link="https://www.autoitscript.com/autoit3/docs/intro/au3check.htm"\}\}hier\{\{/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* allgemeine Parameter}} \tn % Row 0 \SetRowColor{LightBackground} \{\{width=29\}\}/sf & Alle ungenutzten Funktionen entfernen \tn % Row Count 2 (+ 2) % Row 1 \SetRowColor{white} /sv & Nicht verwendete globale und lokale Variablen-\{\{nl\}\}deklarationen entfernen \tn % Row Count 5 (+ 3) % Row 2 \SetRowColor{LightBackground} /mo & Fügt die Include-Dateien in das Skript ein und entfernt die Kommentare.\{\{nl\}\}Dies ist {\"a}hnlich wie aut2exe und hilft beim Auffinden der Fehlerzeile. \tn % Row Count 11 (+ 6) % Row 3 \SetRowColor{white} /rm & Benennt Variablen- und Funktionsnamen zu kürzeren Namen um \tn % Row Count 14 (+ 3) % Row 4 \SetRowColor{LightBackground} /rsln & Ersetzt @ScriptLineNumber durch die tats{\"a}chliche Zeilennummer \tn % Row Count 17 (+ 3) \hhline{>{\arrayrulecolor{DarkBackground}}--} \SetRowColor{LightBackground} \mymulticolumn{2}{x{8.4cm}}{\{\{fa-info-circle\}\} Au3Stripper* bereinigt das Skript durch verschiedene Optionen \newline \{\{fa-list-ul\}\} Komplette Liste \{\{link="https://www.autoitscript.com/autoit3/docs/intro/au3stripper.htm"\}\}hier\{\{/link\}\}} \tn \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} % That's all folks \end{multicols*} \end{document}