1

HI i have an old code which uses a scrapref and selects scrap using GetScrapbyname(kscrapclipboardscrap,kscrapgetnamedscrap,&scrapref);

Than it takes the flavour count using getscrapflavourcount and then the list using getscrapinfoflavourlist

As the above API's are deprecated, i am trying to replace them using pasteboard manager

but to replace , getscrapflavourcount the replacement is PasteboardCopyItemFlavors which uses an itemid, which is not theer as such in the old code ??? what to do here ..

Peter
  • 2,719
  • 4
  • 25
  • 55

1 Answers1

1

Cocoa and NSPasteboard (plus NSPasteboardItem on 10.6+) would be the modern equivalents of the Pasteboard Manager (cf. official documentation and CocoaDev for examples).

gcbrueckmann
  • 2,413
  • 18
  • 10