Alright, I’ve prepared a first version of a plugin for you. Right now this is aimed at your specific use-case, but it should be easy to adjust for others’ CSV requirements and my hope is that we’ll eventually expand this into a fully customizable CSV plugin that can handle all kinds of different setups.
That said, you download the plugin here by downloading either the
tar.gz package of the latest version. In Tropy, you can install the plugin in the plugins’ pane of the preferences window.
Once installed, you need to activate the plugin and add a configuration.
In the screenshot above I’ve created two different configurations which I’ve called
CSV (file) and
CSV (clipboard). The configuration options right now are rather limited, but should be easy to understand. You can set a default file name and decide if you want to wrap each value in quotes or include a header row. Additionally, you can use the clipboard option to export directly to the clipboard instead of saving a file.
Configured like this, you can send items to the plugin by selecting one or more item, right clicking on one of the items and selecting the respective plugin from menu. This should look somewhat like this:
At the moment, the plugin assumes that you’re using the correspondence template (and the English version of Tropy) and will pick the author, recipient, date, location, and type of your items. In the future I would like to allow you to make the selection of fields to pick directly in the plugin’s configuration, but the plugin preferences pane is currently not good enough for this. (You can still change the fields by editing the plugin file directly).
Right, I hope this is a good start. Let me know if it works for you!