Lesson 28. GUI Scripting
AppleScript controls applications by sending them messages called Apple events. When a scriptable application receives an Apple event, it determines what the message wants it to do, and then it performs the requested action. The scripts you write are rarely designed to address or control the user interface elements of an application, such as a text field or window, because that isn’t AppleScript’s normal focus. Usually, you use AppleScript to get at an application’s underlying data. You rely on the application’s scripting dictionary to learn what elements and properties of the application can be addressed and controlled, as you learned in Chapter ...
Get Apple Pro Training Series: AppleScript 1-2-3 now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.