[Share] Auto-run Better Notes template when opening an item #108
Replies: 5 comments 17 replies
-
This will create a new note on every object that doesn't have an auto-template note. If users want to change this to run only if there is no other note already attached to an item, change the code starting with // Check if any note exists for the item
const autoTemplateTag = "auto-template";
const notes = Zotero.Items.get(item.getNotes());
if (notes.length > 0) {
return "A note exists for this item";
} |
Beta Was this translation helpful? Give feedback.
-
I do not find the extensions.actionsTags.customAction.autoRunBNTemplate |
Beta Was this translation helpful? Give feedback.
-
“During the first run (opening file), you will be asked to choose a template to be executed.”为什么我打开笔记工作区,没有弹出来呢? |
Beta Was this translation helpful? Give feedback.
-
Description
Auto-run Better Notes template when opening an item
Action Script
Event: Open File
Operation: Script
Data:
Beta Was this translation helpful? Give feedback.
All reactions