Batch create note from annotations for different attachment types
In Zotero I can create a child note for an item from my annotations (e.g., in the notes interface, by selecting 'Add item note from annotations'.
Using the Developer JavaScript tool I can batch this for items with:
`return await ZoteroPane.addNotesFromAnnotationsFromSelected();`
But I think this only works for PDF attachments, not annotations on snapshots (Error, "Error: Item must be a PDF attachment").
Possibly `isAttachmentWithExtractableAnnotations` filters out non-PDF?
Is there a way to do this batch 'annotations -> child notes' for snapshots?
Using the Developer JavaScript tool I can batch this for items with:
`return await ZoteroPane.addNotesFromAnnotationsFromSelected();`
But I think this only works for PDF attachments, not annotations on snapshots (Error, "Error: Item must be a PDF attachment").
Possibly `isAttachmentWithExtractableAnnotations` filters out non-PDF?
Is there a way to do this batch 'annotations -> child notes' for snapshots?
-
martynas_bThat error will be fixed in the next update, and the function should work as expected.
-
dstillman@sjgknight: Fixed now in the latest Zotero beta
-
dstillman@sjgknight: Fixed now in Zotero 7.0.11
-
sjgknightAwesome, thank you @martynas_b @dstillman and thanks for letting me know too