Thank you - that script looks quite interesting indeed
Question on JXA syntax - with a bit of help I have gotten some Bookends JXA scripts working.
The pertinent issues I am pondering in one script refers to item.format() in the script below which applies a bibliography format to each item I am displaying. The Javascript dictionary entry says it is possible to to format "as HTML" or "as RTF" but I cannot figure out the syntax for that. I tried item.format.html() and that failed. How do I interpret this dictionary entry?
pb.forEach(item => {
titlelist=titlelist+item.format() +"\n"+"\n";
});
return titlelist;