I'm trying to read OSX Clipboard using PyObjC.
Inside python shell
import AppKit
>>> clip = AppKit.NSPasteboard.generalPasteboard()
>>> dir(clip)
['__class__', '__delattr__', '__doc__', '__format__', '__getattribute__', '__hash__', '__init__', '__new__', '__reduce__', '__reduce_ex__', '__repr__', '__setattr__', '__sizeof__', '__str__', '__subclasshook__']
Many pasteboard attributes are missing. So clip.stringForType_(AppKit.NSStringPboardType)
results in AttributeError.
dir(AppKit.NSPasteboard)
shows alot of attributes. OSX version - 10.9.4. How can I check PyObjC version? – Somatology