var TitleMime = 'application/x-copyq-item-notes'
var IconMime = 'application/x-copyq-item-icon'
var IconText = "DB$/test.ico"
CurrentTime = new Date()
var TitleText = CurrentTime
write(0, MimeType, What, TitleMime, TitleText, IconMime, IconText)
While the mimetypes are listed, they don't say what the data contains, the above doesn't work but it does add a pencil icon.
How do I get the standard icons as well as my file based icons. I thought I'd add an icon to a note then examine the data but I can't work out how to manually add them (I haven't done that before).