ASTranslate tells me that tell application "Pages" to tell front document to get selection as text should be app(u'Pages').documents[1].selection.get(resulttype=k.unicode_text)
but that doesn't return what I want (a reference? ... hardly useful!). Yet: app('Pages').documents[1].selection()() returns what I want. The unicode text. I don't get what that 'extra' set of parens is doing. What implicit function is being called? Can't imagine it's get(). I'm obviously missing something here, but no idea what! ASTranslate seems to be missing it too. Thanks for your help! -Adam
_______________________________________________ Pythonmac-SIG maillist - Pythonmac-SIG@python.org http://mail.python.org/mailman/listinfo/pythonmac-sig