photools.com Community

IMatch Discussion Boards => General Discussion and Questions => Topic started by: Darius1968 on February 07, 2020, 08:54:35 AM

Title: "@MetadataTag[shutterspeed,between,0,0.009]"
Post by: Darius1968 on February 07, 2020, 08:54:35 AM
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. 
Title: Re: "@MetadataTag[shutterspeed,between,0,0.009]"
Post by: Mario on February 07, 2020, 09:07:31 AM
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 (https://www.photools.com/help/imatch/#cat_formulas.htm#a_metadata_tag?dl=h-31) in the IMatch help for details.

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

is probably what you want.