I don't understand the meaning and use of the term flavors as in PastClipboardFlavors, SystemClipboardFlavors

In JXA, if you start the script with ObjC.import("AppKit"), you can directly use all the NSPasteboardItem types and methods.



Some sample code here, for example:

and

1 Like