I\'m having troubles getting data from the system clipboard on Mac OS X. What I\'m trying to do is to listen to the system clipboard and print the content of the clipboard e
It seems that there is no elegant way around this problem, NSPasteboard does not provide clipboard ownership concept. You can't even solve this problem writing native Objective C.
The only solution is to periodically sample the clipboard.
This seems to be an open bug, see MACOSX_PORT-511 ClipboardOwner method lostClipboard is not called if app is not focused.