[Tutor] pywinauto for OS X and Linux?

Kent Johnson kent37 at tds.net
Sat May 19 14:21:41 CEST 2007


Alan Gauld wrote:
> "John" <pythontutoraccount at gmail.com> wrote
> 
>> few hours. Pywinauto allows you to use python to automate the GUI of
>> Windows using Python in very intuitive ways.  What are the closest
>> analogs for this under OS X and Linux?
> 
> Applescript on MacOS could be used.
> You can call Python from within Applescript (and vice versa I think?)
> ISTR there is a module in the MacPython download for doing this.

I wasn't aware that AppleScript could be used for general UI scripting 
but apparently since MacOS 10.3 it can. Here is an article about it:
http://www.macgeekery.com/development/gui_automation_with_applescript

Googling 'python applescript' is also rewarding.

Kent


More information about the Tutor mailing list