<?xml version="1.0" encoding="UTF-8"?><feed xmlns="http://www.w3.org/2005/Atom"
      xmlns:thr="http://purl.org/syndication/thread/1.0"
>
        <id>http://livingcode.org/2009/01/31/tab-dumping-with-applescript-and-back-to-python</id>
  <title type="html"><![CDATA[Comments on: Tab Dumping with AppleScript and back to Python]]></title>
  <link rel="self" href="http://livingcode.org/2009/01/31/tab-dumping-with-applescript-and-back-to-python/feed" />
  <link rel="alternate" href="http://livingcode.org/2009/01/31/tab-dumping-with-applescript-and-back-to-python" />   
  <author>
    <name>Dethe</name>
  </author>
  <generator uri="http://wordpress.org/" version="2.8.6">WordPress</generator>

<updated>2009-02-01T10:05:15Z</updated>
  <entry>
    <id>http://livingcode.org/2009/01/31/tab-dumping-with-applescript-and-back-to-python/comment-page-1#comment-45</id>
    <updated>2009-02-01T02:05:15Z</updated>
    <title type="html"><![CDATA[Comment by: hhas]]></title>
    <author>
<name><![CDATA[hhas]]></name><uri>http://appscript.sourceforge.net</uri>    </author>
    <link rel="alternate" href="http://livingcode.org/2009/01/31/tab-dumping-with-applescript-and-back-to-python/comment-page-1#comment-45" />
    <thr:in-reply-to ref="http://livingcode.org/?p=116" href="http://livingcode.org/?p=116" type="application/xhtml+xml" source="http://livingcode.org/wp-atom.php"/> 
    <link rel="related" type="text/html" href="http://livingcode.org/?p=116" />
          <content type="html"><![CDATA[<blockquote><p>The only stumbling block was that I couldn&#8217;t find a way to access the clipboard with appscript</p></blockquote>
<p>You need to use the bundled <a href="http://appscript.sourceforge.net/py-appscript/doc/osax-manual/" rel="nofollow">osax</a> module for that. Example:</p>
<p><code><br />
from osax import OSAX<br />
stdadditions = OSAX()<br />
stdadditions.set_the_clipboard_to('Hello world!')<br />
</code></p>
<p>HTH</p>
]]></content>
        </entry>
  <entry>
    <id>http://livingcode.org/2009/01/31/tab-dumping-with-applescript-and-back-to-python/comment-page-1#comment-46</id>
    <updated>2009-02-01T10:51:57Z</updated>
    <title type="html"><![CDATA[Comment by: delza]]></title>
    <author>
<name><![CDATA[delza]]></name><uri>http://livingcode.org/</uri>    </author>
    <link rel="alternate" href="http://livingcode.org/2009/01/31/tab-dumping-with-applescript-and-back-to-python/comment-page-1#comment-46" />
    <thr:in-reply-to ref="http://livingcode.org/?p=116" href="http://livingcode.org/?p=116" type="application/xhtml+xml" source="http://livingcode.org/wp-atom.php"/> 
    <link rel="related" type="text/html" href="http://livingcode.org/?p=116" />
          <content type="html"><![CDATA[<p>Hi Has,</p>
<p>Thanks!  I suspected that (from an example I found using the Ruby version of appscript), but couldn&#8217;t find documentation on the osax module, or anything using help(osax) after importing it.  What else can osax do, and where can I find the docs? It&#8217;s OK to tell me they are in the download and I just didn&#8217;t find them, but I did look for about half an hour or so.</p>
]]></content>
        </entry>
  <entry>
    <id>http://livingcode.org/2009/01/31/tab-dumping-with-applescript-and-back-to-python/comment-page-1#comment-47</id>
    <updated>2009-02-01T12:35:59Z</updated>
    <title type="html"><![CDATA[Comment by: hhas]]></title>
    <author>
<name><![CDATA[hhas]]></name><uri>http://appscript.sourceforge.net</uri>    </author>
    <link rel="alternate" href="http://livingcode.org/2009/01/31/tab-dumping-with-applescript-and-back-to-python/comment-page-1#comment-47" />
    <thr:in-reply-to ref="http://livingcode.org/?p=116" href="http://livingcode.org/?p=116" type="application/xhtml+xml" source="http://livingcode.org/wp-atom.php"/> 
    <link rel="related" type="text/html" href="http://livingcode.org/?p=116" />
          <content type="html"><![CDATA[<p>help() tends not to work on appscript &amp;co.; it kinda used up its allowance of double-underscore magic on providing the human-readable syntactic sugar. Use the ASDictionary application to produce export application and scripting addition dictionaries in Python format.</p>
<p>You can use OSAX instances to invoke any scripting addition command (one instance per addition), though in practice most osaxen don&#8217;t provide any functionality you can&#8217;t already get from existing Python modules. Documentation is <a href="http://appscript.sourceforge.net/py-appscript/doc/osax-manual/" rel="nofollow">available online</a> (yeah, site navigation could be better) or included in the source (.tar.gz) download.</p>
]]></content>
        </entry>
  <entry>
    <id>http://livingcode.org/2009/01/31/tab-dumping-with-applescript-and-back-to-python/comment-page-1#comment-48</id>
    <updated>2009-02-01T12:41:14Z</updated>
    <title type="html"><![CDATA[Comment by: delza]]></title>
    <author>
<name><![CDATA[delza]]></name><uri>http://livingcode.org/</uri>    </author>
    <link rel="alternate" href="http://livingcode.org/2009/01/31/tab-dumping-with-applescript-and-back-to-python/comment-page-1#comment-48" />
    <thr:in-reply-to ref="http://livingcode.org/?p=116" href="http://livingcode.org/?p=116" type="application/xhtml+xml" source="http://livingcode.org/wp-atom.php"/> 
    <link rel="related" type="text/html" href="http://livingcode.org/?p=116" />
          <content type="html"><![CDATA[<p>Ah, cool.  Given that, I supposed I can find documentation on the scripting additions through normal AppleScript documentation channels.  Thanks again!</p>
]]></content>
        </entry>
</feed>
