AppleScript Tutorial Wiki
Advertisement

If, Then, and Else are three logical operators.

If ''condition'' then

     statements while ''condition'' is true

else

     statements while ''condition'' is false

end if
Advertisement