They are also documented in Apple Event Manager Reference and AppleScript Terminology and Apple Event Codes Reference.You use codes in your sdef file to identify scriptable commands, classes, properties, elements, and other items your application supports.