jlegewie / zotfile

Zotero plugin to manage your attachments: automatically rename, move, and attach PDFs (or other files) to Zotero items, sync PDFs from your Zotero library to your (mobile) PDF reader (e.g. an iPad, Android tablet, etc.), and extract PDF annotations.
4.06k stars 282 forks source link

Non-PDF attachements skipped when renaming #497

Open lamorton opened 3 years ago

lamorton commented 3 years ago

I get the following error message when I tried to use the "Rename attachments" button from the drop-down actions for an entry with a non-PDF (ex: MS Word or PowerPoint) presentation: "Attachment skipped because they are top-level items, snapshots, or the file does not exist."

Either the error message should be expanded or specialized to indicate/include the case that the file is not of the supported type (if non-PDF files are not supported) or there is a bug for these file types.

FYI, I am using Zotero v5.0.93 and Zotfile v5.0.16 on Mac OS Catalina.

Screen Shot 2020-12-08 at 11 18 41 AM
ahrendsen commented 3 years ago

Hi @lamorton,

I agree that text should be added to clarify that the attachment was skipped because it wasn't of the proper filetype. Also note that ZotFile can be configured to work for all filetypes. (Tools > ZotFile Preferences ... > Advanced Settings > Other Advanced Settings > "Only work with the following filetypes")

Karl