In article <9b202abc0912130745u53d4fe79vfd9ca0a2aa839...@mail.gmail.com>, Adam Morris <amor...@mistermorris.com> wrote: > Quick question from someone getting used to appscript with python. > > How do I coerce into a text? > > reference.get(resulttype=k.text) > > But that doesn't seem to do what I want it to do. In Applescript I actually > get the string, but in appscript I still get a reference.
Are you sure you are formulating the correct reference? Normally there is no need to coerce the type. You might want to try has's ASTranslate tool: http://appscript.sourceforge.net/tools.html -- Ned Deily, n...@acm.org _______________________________________________ Pythonmac-SIG maillist - Pythonmac-SIG@python.org http://mail.python.org/mailman/listinfo/pythonmac-sig