A command can send an Apple event that describes its command operation, making it easy to record the operation or to allow an attached script to respond to the Apple event. You must support the required Apple events to be compatible with newer versions of the Macintosh Operating System. An application that supports a wide variety of Apple events can interact more effectively with other applications. Program testing can be automated and users can automate repetitive tasks. New or enhanced features can be delivered simply by distributing new scripts.
Power users can customize program behavior.
Scripting support adds some complexity to an application and can be difficult to debug, especially when you're at the beginning of the learning curve. Allowing users to modify program behavior with scripts is definitely a two-edged sword. Consider the problem of providing technical support for a user who has modified or completely replaced scripts that provide the basic functions of your application. Inc. All rights reserved.