Quote:
Originally Posted by LibBikher
I have one column that displays the asin (I figured out how to do this)
I would like to create a column that displays the file name of the book
And a column that compares the asin column and the file name column and retures 1 if the same and 2 if different
|
Try this:
- Use the GetFileName plugin to put the file name in a custom column ('file') ==>> Index of plugins
- Put the ASIN into a composed custom column ('asin') using a template; something like this {identifiers:select(amazon)}
- In another composed custom column ('result') use the string compare (strcmp) function to compare 'file' and 'asin' and set the 'results' column value see ==>> calibre templates: Function classification
The names 'file', 'asin', and 'result' are illustrative.
BR