I need javascript code to change a lot items type?
Because I am new with zotero, and I have manually library in folders and sub folders, and I add a lot of PDFs as link files.
And it's need hard work to add items description , I read in help , there a way to change some description using javascript , I am try and I made some update.
Now
I hope to get javascript code to change a lot items type once time?
for example select many items and change it's type to 'book'... etc.
And it's need hard work to add items description , I read in help , there a way to change some description using javascript , I am try and I made some update.
Now
I hope to get javascript code to change a lot items type once time?
for example select many items and change it's type to 'book'... etc.
Tools
-Run Javascript
menu, make sureasync
is checked, and then runconst zoteroPane = Zotero.getActiveZoteroPane();
const selected = zoteroPane.getSelectedItems();
for (const item of selected) {
item.setType(Zotero.ItemTypes.getID('book'));
await item.saveTx();
}
https://forums.zotero.org/discussion/85593/editing-multiple-items-at-once