I want the NSPasteboard.generalPasteboard()
to be temporarily switched to a custom one generated by my app using NSPasteboard.pasteboardWithUniqueName()
So that when the user presses Cmd+C/Cmd+V while the pasteboard is switched, my app's pasteboard gets used instead of the general pasteboard.
Is there a way to do this?