<if_file> File-related condition.


Command Tree:   Macro Flow Control    \  If-Else  \  If File
.
Syntax:   <if_file>("File", "Condition", "Operand")
File
Full path to the file to check against the Condition.
Condition
Condition can be one from  the following:

"EXIST" - the <if_file> statement is true if the file exist.
"NOTEXIST" - the <if_file> statement is true if the file does not exist.
"BIGGER" - the <if_file> statement is true if the file size is bigger than the Operand.
"SMALLER" - the <if_file> statement is true if the file size is smaller than the Operand.
Operand
Takes effect only if Condition is "BIGGER" or "SMALLER".
.
.
Example:   <#> This macro shows how to use if-file condition
<#>
<commands_only_on>

<if_file>("winmine.exe","EXIST","122222")
  
<msg>(100,100,"Minesweeper game is installed.","Message",1)
<else>
   <msg>(100,100,"Minesweeper game is NOT installed.","Message",1)
<endif>