title: "Not implemented" Exception when using pywin32 to control Adobe Acrobat
body: <p>I have written a script in python using pywin32 to save pdf files to text that up until recently was working fine.  I use similar methods in Excel.  The code is below:</p>
  
  <pre><code>def __pdf2Txt(self, pdf, fileformat="com.adobe.acrobat.accesstext"):
      outputLoc = os.path.dirname(pdf)
      outputLoc = os.path.join(outputLoc, os.path.splitext(os.path.basename(pdf))[0] + '.txt')
  
      try:
          win32com.client.gencache.EnsureModule('{E64169B3-3592-47d2-816E-602C5C13F328}', 0, 1, 1)
          adobe = win32com.client.DispatchEx('AcroExch.App')
          pdDoc = win32com.client.DispatchEx('AcroExch.PDDoc')
          pdDoc.Open(pdf)
          jObject = pdDoc.GetJSObject()
          jObject.SaveAs(outputLoc, "com.adobe.acrobat.accesstext")
      except:
          traceback.print_exc()
          return False
      finally:
          del jObject
          pdDoc.Close()
          del pdDoc
          adobe.Exit()
          del adobe
  </code></pre>
  
  <p>However this code has suddenly stopped working and I get the following output:</p>
  
  <pre><code>Traceback (most recent call last):
    File "C:\Documents and Settings\ablishen\workspace\HooverKeyCreator\src\HooverKeyCreator.py", line 38, in __pdf2Txt
      jObject.SaveAs(outputLoc, "com.adobe.acrobat.accesstext")
    File "C:\Python27\lib\site-packages\win32com\client\dynamic.py", line 505, in __getattr__
      ret = self._oleobj_.Invoke(retEntry.dispid,0,invoke_type,1)
  com_error: (-2147467263, 'Not implemented', None, None)
  False
  </code></pre>
  
  <p>I have similar code written in VB that works correctly so I'm guessing that it has something to do with the COM interfaces not binding to the appropriate functions correctly? (my COM knowledge is patchy).</p>