At its simplest, you can use scripting to combine commands to perform repetitive operations quickly and easily. However, by using the application's event-driven object model, you can build complete custom solutions, including new user interfaces.
Many applications expose objects for the purpose of Automation. You use those exposed objects to perform tasks using scripts and forms. The details of these Automation interfaces vary from application to application. In addition, the applications offer full-featured form creation, in which you can use scripting to handle the events associated with each object in the form. Scripting languages that the applications support include VBScript and JScript.