Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

10.4: How to search for non-integer exposure times System 10.4
I couldn't get Finder searches (Spotlight Saved Queries, aka Smart Folders) to search for photos with exposure times greater-than or less-than anything but integer seconds, which is pretty useless. Then just now I found that if I edited the Saved Query in a text editor (or Property List Editor), I could change the value for kMDItemExposureTimeSeconds to what I really want.

For example, I told Spotlight that I wanted to find exposure times greater than 0.03 seconds. In my text editor, the saved query read:
kMDItemExposureTimeSeconds > 0
I changed it to:
kMDItemExposureTimeSeconds > 0.03
I saved the file, double-clicked the saved query, and lo and behold, only those photos with exposure times greater than 0.03 seconds showed up. Also note that when I pushed the Edit button in the Saved Query, it showed Exposure time ... Greater than ... 0.03. But trying to set it (in this window) to 0.029 just snapped it back (in the Saved Query) to 0.
    •    
  • Currently 3.25 / 5
  You rated: 5 / 5 (4 votes cast)
 
[5,323 views]  

10.4: How to search for non-integer exposure times | 2 comments | Create New Account
Click here to return to the '10.4: How to search for non-integer exposure times' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
10.4: How to search for non-integer exposure times
Authored by: Blacktiger on Feb 14, '06 09:07:35PM

Rather that going through all that work, why not just use division? If you were to do 21/1000 or 2/100 in the finder's dialog box, you would get the same result!

---
Concentrate on the Solution, not the Problem



[ Reply to This | # ]
10.4: How to search for non-integer exposure times
Authored by: rnelsonbyrne on Feb 18, '06 11:56:59AM

Division doesn't work for me: 1/60 is read as 1 sec, for example.

But here's a better way: Instead of "Kind" or "Last Opened", use "Raw Query", found under "Other" in the same popdown menu. Then in the text field write
kMDItemExposureTimeSeconds < 0.006
(or whatever you want). This works and can be saved, and changed as needed. I limit my search to the appropriate folders, of course, to speed things up - no point in searching other than in the place where the pictures of interest are stored.



[ Reply to This | # ]