11.1. Creating Variables11.1.1. Declaring Your Variables11.1.2. Choosing Your Variable Names11.1.2.1. When Keywords and Identifiers Conflict11.1.2.2. Tips for Avoiding Problems with Variable Names11.1.2.3. Follow Good Naming Practices11.1.2.4. Break All the Rules!11.2. Working with Local Variables11.2.1. Understanding Local Variable Scope11.2.2. Passing Values to and from User-Defined Handlers11.3. Working with Properties and Global Variables11.3.1. Understanding Property and Global Variable Scope11.3.2. How Properties (and Global Variables) Can Retain Values Between Runs11.3.3. When to Use Properties and Global Variables11.3.3.1. Managing User Preferences11.3.3.2. Enabling Debugging Code11.3.3.3. Clarifying the Meaning of Important Hard-Coded Values11.3.3.4. Importing Script Libraries11.4. Using AppleScript's Built-in Variables11.4.1. Variables Containing Predefined Values11.4.1.1. The return, linefeed, space, tab, and quote Variables11.4.1.2. The weeks, days, hours, and minutes Variables11.4.1.3. The pi Variable11.4.2. Variables Containing Objects of Special Interest11.4.2.1. The it Variable11.4.2.2. The me Variable11.4.2.3. The result Variable11.5. Summary