[Tutor] pywinauto for OS X and Linux?
Kent Johnson
kent37 at tds.net
Sun May 20 00:10:42 CEST 2007
Alan Gauld wrote:
> "Kent Johnson" <kent37 at tds.net> wrote
>
>> I wasn't aware that AppleScript could be used for general UI
>> scripting
>
> Its all I was aware it could do!
>
> What else does it have up its sleeve?
Originally AppleScript could only perform actions that were
intentionally exposed by the authors of an application. IOW AppleScript
has access to an API that is explicitly exposed by the authors. If you
open Script Editor, then open the dictionary of an application, that is
what you will see. AFAIK this is still the way AppleScript is usually used.
IIUC What happened in 10.3 is that the accessibility hooks were exposed
to AppleScript allowing control of an app by manipulating its GUI elements.
Kent
More information about the Tutor
mailing list