Feature Request: Open/save JS scripts
The Run JavaScript is helpful for fixing small things and getting familiar with the Zotero API. However, at the moment the only start point is to type in everything that you want to do, or to copy and paste from somewhere.
I would like to make a feature request for opening and saving JavaScript code there directly. I guess it would also make sense to save such scripts locally somewhere within the Zotero profile such that it is part of a data backup.
I would like to make a feature request for opening and saving JavaScript code there directly. I guess it would also make sense to save such scripts locally somewhere within the Zotero profile such that it is part of a data backup.
This discussion has been closed.
I think we could just save to a 'scripts' folder in the data directory, with each script as a separate file, and the title drawn from the either a comment at the top or, failing that, the filename. That would allow scripts to be easily saved and still edited with an external editor.
I don't see much point to opening/saving external files.
These could also be saved to the profile directory, but that's less likely to be backed up.
https://forums.zotero.org/discussion/76808/feature-request-more-options-for-the-javascript-runner/
See also this discussion for the debug-bridge and external files:
https://forums.zotero.org/discussion/76924/running-external-js-files-within-zotero