[Share] Rename attachments #291
Replies: 3 comments 2 replies
-
我想从剪贴板或者弹窗输入内容 来修改附件名称,但是”ZoteroPane.renameSelectedAttachments(clipboardText); “这一句代码有问题,想请教一下大佬怎么修改
|
Beta Was this translation helpful? Give feedback.
-
Updated the rename script. This will update both the Attachment Title and the Attachment Filename based on the Parent Item Metadata. I am using the script as part of the context menu when selecting multiple items.
|
Beta Was this translation helpful? Give feedback.
-
Awesome. Any way to do this automatically e very time a file is attached to a parent item? This used to be done automatically in Z6 (maybe with help of zutilo, not sure the reason) |
Beta Was this translation helpful? Give feedback.
-
Description
replace the "Rename attachments" function from Zutilo
Use the parent item's metadata to rename its attachments.
Zotero omits to rename newly added attachments when there is any file attached to the item. This script provides a convenient method for renaming attachments.
Compose a workflow together with the previous script. #290
Event
None
Operation
Script
Data
Anything else
Personal Filename Template
{{ authors max="1" name-part-separator="" name="family-given" initialize="given" initialize-with="" suffix="_" }}{{ year suffix="_" }}{{ title truncate="80" }}
Beta Was this translation helpful? Give feedback.
All reactions