Making ZotFile move file automatically after Saving to Zotero via browser connector
Hey guys,
#1 Act
I'm trying to have this behaviour:
(1) Opening a journal paper PDF in Firefox;
(2) Clicking on Zotero browser connector;
(3) Having entry created in Zotero and PDF attached filed moved to a folder inside my cloud folder.
I already had Zotero working fine and syncing storage by means of WebDAV. But then I got the Zotero's original folder structure, and I was looking for something more similar to a single folder with all files. I've learned that with ZotFile I could do this.
#2 Act
So first I've done the following:
(1) Installed ZotFile;
(2) In ZotFile preferences, I've changed "Location of files" to "Custom location" and indicated the folder I want;
(3) In "Renaming rules", I've activated "Use Zotero to rename".
Then I've run some tests and it worked great, exactly the behaviour expected in #1 Act. Then I asked ZotFile to rename and move previous saved entries. Everything fine.
#3 Act
But then I've done this in Zotero preferences:
(1) Deactivated File Syncing with WebDAV (I didn't want files to occupy my cloud storage twice);
(2) Changed "Linked attachment base directory" to the same path indicated in ZotFile preferences.
After doing all of this and restarting Zotero, whenever I save a PDF with the browser connector, it gets stored in Zotero's original storage folder, and not in the folder indicated in ZotFile preferences and in "Linked attachment base directory". If I click on the entry and ask ZotFile to rename and move it, it does what I want. But I would like to have the behaviour #1 Act, whereby any attachment would be automatically renamed and moved to that folder.
What have I done wrong? Any hints how to fix this?
FYI, I've already tried to reverse #3 Act both partially and fully. But even so I don't get anymore the automatic behaviour.
Thanks!
#1 Act
I'm trying to have this behaviour:
(1) Opening a journal paper PDF in Firefox;
(2) Clicking on Zotero browser connector;
(3) Having entry created in Zotero and PDF attached filed moved to a folder inside my cloud folder.
I already had Zotero working fine and syncing storage by means of WebDAV. But then I got the Zotero's original folder structure, and I was looking for something more similar to a single folder with all files. I've learned that with ZotFile I could do this.
#2 Act
So first I've done the following:
(1) Installed ZotFile;
(2) In ZotFile preferences, I've changed "Location of files" to "Custom location" and indicated the folder I want;
(3) In "Renaming rules", I've activated "Use Zotero to rename".
Then I've run some tests and it worked great, exactly the behaviour expected in #1 Act. Then I asked ZotFile to rename and move previous saved entries. Everything fine.
#3 Act
But then I've done this in Zotero preferences:
(1) Deactivated File Syncing with WebDAV (I didn't want files to occupy my cloud storage twice);
(2) Changed "Linked attachment base directory" to the same path indicated in ZotFile preferences.
After doing all of this and restarting Zotero, whenever I save a PDF with the browser connector, it gets stored in Zotero's original storage folder, and not in the folder indicated in ZotFile preferences and in "Linked attachment base directory". If I click on the entry and ask ZotFile to rename and move it, it does what I want. But I would like to have the behaviour #1 Act, whereby any attachment would be automatically renamed and moved to that folder.
What have I done wrong? Any hints how to fix this?
FYI, I've already tried to reverse #3 Act both partially and fully. But even so I don't get anymore the automatic behaviour.
Thanks!
If you download the PDF directly, Zotero tries to retrieve metadata after the fact and then attach the PDF to that and ZotFile isn't aware of that operation so can't move the PDF automatically (you can still do the manual manage attachments --> rename attachment).
My new question: would there be a way to automatise my shortcut? I mean: each time a new item is added to Zotero, it triggers the shortcut (or, what actually matters, the desired behaviour).