Marks the end of the block of steps that should be executed if a previous If condition is true. Used to terminate the If...Else block of steps. Whenever an If step is used in a task, an End If must be used to mark the end of the block of steps that are to be executed conditionally.
Declaration
</AMIF>
Example
Simple If/Else Statement that displays the answer in a message box.
<AMIF EXPRESSION="2 < 1">
<AMSHOWDIALOG>The result is TRUE.</AMSHOWDIALOG>
<AMELSE />
<AMSHOWDIALOG>The result is FALSE.</AMSHOWDIALOG>
</AMIF>
See Also: If, If Compare Files, If File Exists, If Folder Exists, If Last Step, If Pixel Exists, If Process Running, If Text Contains, If Windows Exists, End If, End Select/Case, Goto, Label, Select/Case