1. Go to Preferences > Add your own columns.
2. Create a new Integer column with the lookup name 'timesread'.
3. (Optional) Create a new date column with the lookup name 'lastread.'*
4. Go to Preferences > Plugins > Get New Plugins and install Action Chains.
Make sure to add it to the toolbar or context menu. Restart Calibre.
5. Download the attached file and put it somewhere.
6. Go to Action Chains > Add/Modify Chains.
7. Right-click the main part of the window and use 'Import' to add the downloaded zip file.
8. Test that it works. If it does, it'll open the book, increment #timesread by 1, and set #lastread to the current time.
8. Assign it to a keyboard shortcut. Note that this will not work if you open it in other methods (e.g. the 'view' toolbar button).
* If you don't want this, make sure to remove the 'Set #lastread to current date' from the chain before running it.
Note that I also set it to activate when one book is selected. This prevents accidentally opening the entire library if you hit the keyboard shortcut by mistake.
|