![]() |
|
|
|
|
|
|
|
Scripters have often requested the ability to control, via AppleScript, applications that either do not have AppleScript support or are only partially scriptable. Mac OS X v10.3 includes support for the control of the computer's graphic user interface via AppleScript.Graphic user interface control is performed by an updated version of the System Events application. By addressing the System Events application, AppleScript scripts can select menu items, push buttons, enter text into text fields, and generally control the interfaces of most non-Classic applications. The following pages detail the process of enabling and using the GUI Scripting architecture. |
TABLE OF CONTENTS Introduction Activating UI Scripting - Enabling the GUI Scripting architecture UI Element Inspector - Discovering an object's heirarchy Example Scripts - Example scripts and routines |