Quote:
Originally Posted by ivanm
Is it possible to have different behaviour based upon a ctrl/shift click? (e.g. ctrl-click is AND, shift-click is OR)
|
Not without some significant coding in calibre.
Also, I question the utility given and/or precedence (and is higher than or). It isn't easy to visualize how a series of and/or clauses will evaluate, which is why it is probably a good idea to use parentheses to make things explicit. One could help out by parsing the expression then regenerating it with parens in the right places, but this adds even more complexity to the changes.
I suggest you construct the series of tests, then manually change the incorrect operators and possibly add parentheses.