Collection 3/4/5/6 days old

Started by ben, June 16, 2018, 11:27:05 PM

Previous topic - Next topic

ben

Hi Mario,
Is it somehow possible to create collections or categories that are similar to the collection "updated today" but for the last 3,4,5 days (each a different category)?

Thanks for your help
Beb

Mario

Not that I'm aware of.
This would require data-driven categories which perform date arithmetic.
There is also no way to do this via variables, because this would again require date arithmetic to work.
-- Mario
IMatch Developer
Forum Administrator
http://www.photools.com  -  Contact & Support - Follow me on 𝕏 - Like photools.com on Facebook

ben

Ok, thanks.

I process the files of that category by script, anyway.
So I could use the collection" modified last week" as a starting point and loop through all files checking the date.

Is the date information "last modified in database" somehow accessible to a script?


Ben

Mario

Yes. See the /files endpoint documentation. And you of course also have access to all variables.

Use the IMatch WebServices documentation App (in IMatch) for details about the /files endpoint.
-- Mario
IMatch Developer
Forum Administrator
http://www.photools.com  -  Contact & Support - Follow me on 𝕏 - Like photools.com on Facebook