In article 
<[email protected]>,
 Adam Morris <[email protected]> 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,
 [email protected]

_______________________________________________
Pythonmac-SIG maillist  -  [email protected]
http://mail.python.org/mailman/listinfo/pythonmac-sig

Reply via email to