Copy Attachment URL to item URL field

I need to copy the attachment URL to the item's URL field, since CSL styles cannot access the URL of the attachment directly. I used to do this with a javascript that I run in the Zotero pane in firefox. Is there a simple solution to this problem for Zotero standalone?
  • Nothing as simple as the local javascript, unfortunately. If you're synced to the Zotero server (data syncing is enough), using the server API, probably with pyzotero is an option:
    https://github.com/urschrei/pyzotero

    My understanding is that a way to make Zotero functionality accessible from the commandline is planned, but no idea when that's actually going to happen.
  • Thanks for the advice. I did use the server API, which turned out to be fairly simple. I didn't go into python (which would be new to me), but used a PHP script I can now run periodically using a cronjob.

This is an old discussion that has not been active in a long time. Before commenting here, you should strongly consider starting a new discussion instead. If you think the content of this discussion is still relevant, you can link to it from your new discussion.

Sign In or Register to comment.