Basics of AppleScript

Comments

Script [1.1.1]: --This is a single line comment

Explanation: Comments are used to explain something in the script or give information about the script. Comments are ignored by AppleScript during execution. Using -- we can have single line comments.

Script [1.1.2]: #This is another single line comment

Explanation: Using # we can write single line comments

Script [1.1.3]:

(*
this is
a multi
line comment
*)

Explanation: Multi line comments begin with ( and end with ). It can contain multiple lines of explanation. Usually used to specify author and copyright status.