Skip to main content
Participant
March 25, 2025
Question

Handling copy paste with ClipboardSuite

  • March 25, 2025
  • 0 replies
  • 105 views

Hi,

I am developing a plug-in for Illustrator that needs to handle custom data in the clipboard.
I registered my plug-in as a new clipboard format handler.  When registering my plug-in with AddClipboard(AIClipboardSuite), I am using options with 

kClipboardCopy | kClipboardPaste to support copy and paste.

The plug-in should receive several kinds of notifications: kSelectorAIGoClipboard, kSelectorAICanCopyClipboard, kSelectorAICloneClipboard, and kSelectorAIDisposeClipboard.

Today the only notification I get is kSelectorAICanCopyClipboard when the user makes a copy inside AI. 
The other notifications are never sent. Since kSelectorAIGoClipboard is never sent, I cannot handle my custom data.

Has anyone experienced this issue ?