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


Click here to return to the '10.4: Use a Smart Folder for a better 'Recent apps'' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
10.4: Use a Smart Folder for a better 'Recent apps'
Authored by: adrianm on Jun 15, '05 04:18:05PM
If you drag a smart folder to TextEdit or SubEthaEdit or whatever, you'll see an expression component like:

(kMDItemLastUsedDate >= $time.today(-3))
(in last 3 days).

According to http://developer.apple.com/documentation/Carbon/Conceptual/SpotlightQuery/index.html you can use $time.now(NUMBER) where NUMBER is seconds.

So change the expression to use a number of seconds instead.

[ Reply to This | # ]

10.4: Use a Smart Folder for a better 'Recent apps'
Authored by: mistersquid on Jun 16, '05 09:10:11AM

According to http://developer.apple.com/documentation/Carbon/Conceptual/SpotlightQuery/index.html you can use $time.now(NUMBER) where NUMBER is seconds.

Thanks, adrianm. I'm only a sometimes scripter (in PERL when I need it and AppleScript when I can't avoid it). I didn't mean to make someone look at the dev documentation for me, but I appreciate your reply.

Cheers,
msq



[ Reply to This | # ]