I just installed the appscript 0.13.0 and its multitude of
dependencies, and tried to get docs on Preview's scripting support; I
was rewarded with the following:

>>> from appscript import *
>>> p = app('Preview')
>>> help(p)
Traceback (most recent call last):
  File "<stdin>", line 1, in ?
  File 
"/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site.py",
 line 308, in __call__
    return pydoc.help(*args, **kwds)
  File 
"/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/pydoc.py",
 line 1547, in __call__
    self.help(request)
  File 
"/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/pydoc.py",
 line 1583, in help
    else: doc(request, 'Help on %s:')
  File 
"/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/pydoc.py",
 line 1368, in doc
    object, name = resolve(thing, forceload)
  File 
"/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/pydoc.py",
 line 1363, in resolve
    return thing, getattr(thing, '__name__', None)
  File 
"/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/appscript/specifier.py",
 line 257, in __getattr__
    raise RuntimeError, "Unknown property, element or command: %r" % name
RuntimeError: Unknown property, element or command: '__name__'

I seem to remember this used to work... I tried with a couple of
other apps too; same problem.

-- 
Nicholas Riley <[EMAIL PROTECTED]> | <http://www.uiuc.edu/ph/www/njriley>
_______________________________________________
Pythonmac-SIG maillist  -  Pythonmac-SIG@python.org
http://mail.python.org/mailman/listinfo/pythonmac-sig

Reply via email to