How can I check that the NSPasteboard is updated?
- by Ben Packard
I'm automating a copy command to place some text on the pasteboard every second or so - unfortunately this is my only way of accessing the text, which is in another application. After copying, I access the pasteboard text and process it.
Sometimes, the copy command will be sent when nothing is selected - for example in textEdit, if the cursor is…