My work with Applescript, and programming in general, started because of Adobe’s Creative Suite 2. In addition to the snippets found in this category, many of the snippets found elsewhere on this site were created because of a need required during the creation of automated processes, and it was Adobe CS that forced me learn how to read APIs. I owe a lot to Adobe in this area and now I criticize because I care.
A quick note about versions: Most of the snippets here were written for CS4. This means they are likely easily interchangeable with CS3 code, but then things start to get dodgy with CS5 and later. I have not taken the time to maintain the snippets here, though I do recall most edits were minor, largely syntax-related. I have attempted to label the snippets with their originating version of CS.