Open asweigart opened 3 years ago
Instead of going through the command line program, access it directly through the API. This is an example program: https://developer.apple.com/library/archive/samplecode/ClipboardViewer/Introduction/Intro.html#//apple_ref/doc/uid/DTS40008825-Intro-DontLinkElementID_2
The richxerox project and by extension jaraco.clipboard utilize pyobjc to communicate with the APIs directly.
Instead of going through the command line program, access it directly through the API. This is an example program: https://developer.apple.com/library/archive/samplecode/ClipboardViewer/Introduction/Intro.html#//apple_ref/doc/uid/DTS40008825-Intro-DontLinkElementID_2