You already know that many application objects in AppleScript have properties. A Finder
disk object has
free space properties; an
outgoing message object in Mail has
subject properties; and a Safari
document object has
text properties. These properties have in common the ability to provide information to your scripts and, in many cases, to change application behavior and to store information from your scripts in a persistent way.
In AppleScript, you can think of a script as just another object, and it can have properties, too. The difference is that you define a script’s properties yourself and give them any name you like. When you ...