"@MetadataTag[shutterspeed,between,0,0.009]"

Started by Darius1968, February 07, 2020, 08:54:35 AM

Previous topic - Next topic

Darius1968

The log file that I've just attached represents my having opened the database and trying to create a Formula Category ("@MetadataTag[shutterspeed,between,0,0.009]"). 
The result returns 186 files, but the outcome isn't valid because after sorting, I get one value (1/256), and the rest are 1.  So, what am I doing wrong?  TIA. 

Mario

You are running queries against the formatted tag value, which is in case of the shutter speed tag a text like 1/125.
Between cannot work with text and cannot do numerical comparisons with that.

Use betweenraw instead. See Using the Raw Value in the IMatch help for details.

"@MetadataTagraw[shutterspeed,betweenraw,0,0.009]"

is probably what you want.
-- Mario
IMatch Developer
Forum Administrator
http://www.photools.com  -  Contact & Support - Follow me on 𝕏 - Like photools.com on Facebook