applescript Making Applescript If and Else Statements if var1 = 4, else statements


Example

set var1 to 5
//set the number to anything

if var1 = 5 then
    say "Var one equals 5"
else
 say "Var one does not equal 5"
end if