<commit_before><!doctype html>
<html>
  <head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="chrome=1">
    <title>pywinauto - Windows GUI Automation</title>

    <link rel="stylesheet" href="stylesheets/styles.css">
    <link rel="stylesheet" href="stylesheets/github-light.css">
    <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
    <!--[if lt IE 9]>
    <script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
    <![endif]-->
  </head>
  <body>
    <div class="wrapper">
      <header>
        <h1>pywinauto</h1>
        <p>(c) <NAME></p>

        <p class="view"><a href="https://github.com/pywinauto/pywinauto">View the Project on GitHub <small>pywinauto/pywinauto</small></a></p>


        <ul>
          <li><a href="https://github.com/pywinauto/pywinauto/zipball/master">Download <strong>ZIP File</strong></a></li>
          <li><a href="https://github.com/pywinauto/pywinauto/tarball/master">Download <strong>TAR Ball</strong></a></li>
          <li><a href="https://github.com/pywinauto/pywinauto">View On <strong>GitHub</strong></a></li>
        </ul>

        <br/><p class="view"><a href="https://github.com/pywinauto/pywinauto/releases/tag/0.5.4">pywinauto 0.5.4 released</a> (October,30)<br/>
        <blockquote><p class="view">Fix bugs and inconsistencies<br/>
        Partial MFC Menu Bar support<br/>
        Python 3.5 is supported<br/></blockquote>
        <a href="https://github.com/pywinauto/pywinauto/releases/download/0.5.4/pywinauto-0.5.4.zip">Download pywinauto-0.5.4.zip</a><br/></p>

        <br/><p class="view"><a href="https://github.com/pywinauto/pywinauto/releases">All downloads</a></p><br/>

        <ul>
          <li><a href="http://pywinauto.github.io/docs/"><strong>Read the docs (by sphinx)</strong></a></li>
          <li><a href="https://gist.github.com/vasily-v-ryabov"><strong>View examples</strong></a></li>
          <li><a href="http://guiautomation.blogspot.com/"><strong>Automation blog</strong></a></li>
        </ul>

        <br/><br/><p class="view"><a href="https://github.com/pywinauto/SWAPY"><center-left>SWAPY<br/>(Object Inspector and Code Generator)</center-left></a></p>

        <br/><p class="view"><a href="https://github.com/pywinauto/SWAPY/releases/tag/0.4.7">SWAPY 0.4.8 released</a> (November,01)<br/>
        <blockquote><p class="view">New Code Generator<br/>
        Saving code to a file</blockquote></p>


      </header>
      <section>
        <h1>
<a id="windows-gui-automation-with-python" class="anchor" href="#windows-gui-automation-with-python" aria-hidden="true"><span class="octicon octicon-link"></span></a>Windows GUI Automation with Python</h1>

<p><b>pywinauto</b> is a set of python modules to automate the Microsoft Windows GUI. 
At it’s simplest it allows you to send mouse and keyboard actions to windows 
dialogs and controls, but it also supports more complex actions.</p>

<p><table style="width:100%" border="0">
  <tr>
    <td colspan="2"><img src="walter_cat.jpg" height="55" width="55"/></td>
    <td><i>[New <a href="https://github.com/pywinauto">team</a> icon]</i>
    Thanks, <a href="https://www.behance.net/anna9111990"><u>Anna</u></a>, who painted the icon for the team, cat Walter.<br/>
    Logo for the pywinauto library <a href="https://github.com/pywinauto/pywinauto/issues/76">is still wanted</a>.</td>
  </tr>
</table></p>


<h3>
<a id="setup" class="anchor" href="#setup" aria-hidden="true"><span class="octicon octicon-link"></span></a>Demo example</h3>

<p><img src="https://raw.githubusercontent.com/pywinauto/pywinauto.github.io/master/notepad-simple2-ir.gif" alt="Notepad.exe automation example"></p>

<p>It is simple and the resulting scripts are very readable. How simple?</p>

<div class="highlight highlight-python"><pre>app.UntitledNotepad.MenuSelect(<span class="pl-s"><span class="pl-pds">"</span>Help-&gt;About Notepad<span class="pl-pds">"</span></span>)
app.AboutNotepad.OK.Click()
app.UntitledNotepad.Edit.TypeKeys (<span class="pl-s"><span class="pl-pds">"</span>pywinauto Works!<span class="pl-pds">"</span></span>, <span class="pl-smi">with_spaces</span> <span class="pl-k">=</span> <span class="pl-c1">True</span>)</pre></div>

<h3>
<a id="setup" class="anchor" href="#setup" aria-hidden="true"><span class="octicon octicon-link"></span></a>Setup</h3>

<ul>
<li>Just run <code>pip install pywinauto</code> (Py2.7+)
</ul>
or
<ul>
<li>Install <a href="http://sourceforge.net/projects/pywin32/files/pywin32/" target="_blank">pyWin32 extensions</a> (no need for Active Python except 3.4 64-bit)</li>
<li>Download <a href="https://github.com/pywinauto/pywinauto/releases/download/0.5.4/pywinauto-0.5.4.zip" target="_blank">latest version</a>
</li>
<li>Just unpack and run <code>python setup.py install</code>
</li>
</ul>

<h3>
<a id="supported-controls" class="anchor" href="#supported-controls" aria-hidden="true"><span class="octicon octicon-link"></span></a>Supported controls</h3>

<ul>
<li>Native Windows controls (full support through Win32 API)</li>
<li>.NET Windows Forms (partial support through Win32 API, some basic controls only)</li>
</ul>
<br/>

<h3>
<a id="swapy" class="anchor" href="#swapy" aria-hidden="true"><span class="octicon octicon-link"></span></a><img src="https://raw.githubusercontent.com/pywinauto/SWAPY/master/swapy_dog.png" height="40" width="40"/> SWAPY: Simple Windows Automation on Python</h3>

<p class="view">SWAPY is a pywinauto Inspector and Code generator</p>

<p class="view"><img src="https://raw.githubusercontent.com/pywinauto/pywinauto.github.io/master/steps.jpg" alt="SWAPY steps example"/></p>

      </section>
      <footer>
        <p>This project is maintained by <a href="https://github.com/vasily-v-ryabov">vasily-v-ryabov</a></p>
        <p><small>Hosted on GitHub Pages &mdash; Theme by <a href="https://github.com/orderedlist">orderedlist</a></small></p>
      </footer>
    </div>
    <script src="javascripts/scale.fix.js"></script>
    
  </body>
</html>
<commit_msg>Fix the link again. :)<commit_after><!doctype html>
<html>
  <head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="chrome=1">
    <title>pywinauto - Windows GUI Automation</title>

    <link rel="stylesheet" href="stylesheets/styles.css">
    <link rel="stylesheet" href="stylesheets/github-light.css">
    <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
    <!--[if lt IE 9]>
    <script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
    <![endif]-->
  </head>
  <body>
    <div class="wrapper">
      <header>
        <h1>pywinauto</h1>
        <p>(c) <NAME></p>

        <p class="view"><a href="https://github.com/pywinauto/pywinauto">View the Project on GitHub <small>pywinauto/pywinauto</small></a></p>


        <ul>
          <li><a href="https://github.com/pywinauto/pywinauto/zipball/master">Download <strong>ZIP File</strong></a></li>
          <li><a href="https://github.com/pywinauto/pywinauto/tarball/master">Download <strong>TAR Ball</strong></a></li>
          <li><a href="https://github.com/pywinauto/pywinauto">View On <strong>GitHub</strong></a></li>
        </ul>

        <br/><p class="view"><a href="https://github.com/pywinauto/pywinauto/releases/tag/0.5.4">pywinauto 0.5.4 released</a> (October,30)<br/>
        <blockquote><p class="view">Fix bugs and inconsistencies<br/>
        Partial MFC Menu Bar support<br/>
        Python 3.5 is supported<br/></blockquote>
        <a href="https://github.com/pywinauto/pywinauto/releases/download/0.5.4/pywinauto-0.5.4.zip">Download pywinauto-0.5.4.zip</a><br/></p>

        <br/><p class="view"><a href="https://github.com/pywinauto/pywinauto/releases">All downloads</a></p><br/>

        <ul>
          <li><a href="http://pywinauto.github.io/docs/"><strong>Read the docs (by sphinx)</strong></a></li>
          <li><a href="https://gist.github.com/vasily-v-ryabov"><strong>View examples</strong></a></li>
          <li><a href="http://guiautomation.blogspot.com/"><strong>Automation blog</strong></a></li>
        </ul>

        <br/><br/><p class="view"><a href="https://github.com/pywinauto/SWAPY"><center-left>SWAPY<br/>(Object Inspector and Code Generator)</center-left></a></p>

        <br/><p class="view"><a href="https://github.com/pywinauto/SWAPY/releases/tag/0.4.8">SWAPY 0.4.8 released</a> (November,01)<br/>
        <blockquote><p class="view">New Code Generator<br/>
        Saving code to a file</blockquote></p>


      </header>
      <section>
        <h1>
<a id="windows-gui-automation-with-python" class="anchor" href="#windows-gui-automation-with-python" aria-hidden="true"><span class="octicon octicon-link"></span></a>Windows GUI Automation with Python</h1>

<p><b>pywinauto</b> is a set of python modules to automate the Microsoft Windows GUI. 
At it’s simplest it allows you to send mouse and keyboard actions to windows 
dialogs and controls, but it also supports more complex actions.</p>

<p><table style="width:100%" border="0">
  <tr>
    <td colspan="2"><img src="walter_cat.jpg" height="55" width="55"/></td>
    <td><i>[New <a href="https://github.com/pywinauto">team</a> icon]</i>
    Thanks, <a href="https://www.behance.net/anna9111990"><u>Anna</u></a>, who painted the icon for the team, cat Walter.<br/>
    Logo for the pywinauto library <a href="https://github.com/pywinauto/pywinauto/issues/76">is still wanted</a>.</td>
  </tr>
</table></p>


<h3>
<a id="setup" class="anchor" href="#setup" aria-hidden="true"><span class="octicon octicon-link"></span></a>Demo example</h3>

<p><img src="https://raw.githubusercontent.com/pywinauto/pywinauto.github.io/master/notepad-simple2-ir.gif" alt="Notepad.exe automation example"></p>

<p>It is simple and the resulting scripts are very readable. How simple?</p>

<div class="highlight highlight-python"><pre>app.UntitledNotepad.MenuSelect(<span class="pl-s"><span class="pl-pds">"</span>Help-&gt;About Notepad<span class="pl-pds">"</span></span>)
app.AboutNotepad.OK.Click()
app.UntitledNotepad.Edit.TypeKeys (<span class="pl-s"><span class="pl-pds">"</span>pywinauto Works!<span class="pl-pds">"</span></span>, <span class="pl-smi">with_spaces</span> <span class="pl-k">=</span> <span class="pl-c1">True</span>)</pre></div>

<h3>
<a id="setup" class="anchor" href="#setup" aria-hidden="true"><span class="octicon octicon-link"></span></a>Setup</h3>

<ul>
<li>Just run <code>pip install pywinauto</code> (Py2.7+)
</ul>
or
<ul>
<li>Install <a href="http://sourceforge.net/projects/pywin32/files/pywin32/" target="_blank">pyWin32 extensions</a> (no need for Active Python except 3.4 64-bit)</li>
<li>Download <a href="https://github.com/pywinauto/pywinauto/releases/download/0.5.4/pywinauto-0.5.4.zip" target="_blank">latest version</a>
</li>
<li>Just unpack and run <code>python setup.py install</code>
</li>
</ul>

<h3>
<a id="supported-controls" class="anchor" href="#supported-controls" aria-hidden="true"><span class="octicon octicon-link"></span></a>Supported controls</h3>

<ul>
<li>Native Windows controls (full support through Win32 API)</li>
<li>.NET Windows Forms (partial support through Win32 API, some basic controls only)</li>
</ul>
<br/>

<h3>
<a id="swapy" class="anchor" href="#swapy" aria-hidden="true"><span class="octicon octicon-link"></span></a><img src="https://raw.githubusercontent.com/pywinauto/SWAPY/master/swapy_dog.png" height="40" width="40"/> SWAPY: Simple Windows Automation on Python</h3>

<p class="view">SWAPY is a pywinauto Inspector and Code generator</p>

<p class="view"><img src="https://raw.githubusercontent.com/pywinauto/pywinauto.github.io/master/steps.jpg" alt="SWAPY steps example"/></p>

      </section>
      <footer>
        <p>This project is maintained by <a href="https://github.com/vasily-v-ryabov">vasily-v-ryabov</a></p>
        <p><small>Hosted on GitHub Pages &mdash; Theme by <a href="https://github.com/orderedlist">orderedlist</a></small></p>
      </footer>
    </div>
    <script src="javascripts/scale.fix.js"></script>
    
  </body>
</html>

{'fraction_non_alphanumeric': 0.2053637943878818, 'fraction_numerical': 0.01506497806472974, 'mean_word_length': 4.262195121951219, 'pattern_counts': {'":': 0, '<': 491, '<?xml version=': 0, '>': 491, 'https://': 38, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 14, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1909013', 'n_tokens_mistral': 4420, 'n_tokens_neox': 4305, 'n_words': 786}