I’m doing some testing with using the clipboard to see if I can get an external program to put together the XML that is needed to paste a clipboard event.
So far I’m stuck at the point where mAirlist doesn’t seem to want to paste anything copied from an external program - is there any special requirements mAirlist has to allow a paste?
Just putting some XML (as text) into the clipboard (as CF_TEXT) won’t work I’m afraid.
For internal copy/paste, mAirList uses its own format identifier, which is first obtained using the RegisterClipboardFormat() function from Windows API.
For convenience, mAirList stores the data in either format (CF_MAIRLISTPLAYLIST and CF_TEXT, or CF_UNICODETEXT) when you copy from mAirList, so you can paste and inspect it in a text editor. But the opposite direction won’t work - mAirList won’t recognize the XML if it’s stored as CF_TEXT.