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
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