On Sep 9, 2008, at 6:06 AM, David Morley wrote:
I can use (Python) appscript reasonably well, if I know exactly what "components" I am looking for, e.g.,app('TextEdit').documents['Read Me'].paragraphs[1].get() But if I'm faced with a new application I don't know where to start. Is there any way to interactively explore what is available? Something like dir(app('TextEdit')) -> [..., "documents", ...] to let me know that the app has document components app('TextEdit').documents.keys() -> [..., "Read Me", ...] to let me know that "Read Me" is one of the documents and so on.
http://osx.iusethis.com/app/prefabuibrowser this seems to do that. _______________________________________________ Pythonmac-SIG maillist - [email protected] http://mail.python.org/mailman/listinfo/pythonmac-sig
