Metadata templates with conditions?

Started by birdbrain, August 02, 2021, 02:29:12 PM

Previous topic - Next topic

birdbrain

Is there a way to conditionally write data with a metadata template?

For example, set the Title as follows:

If dot is red, write {File.Events.Title} : {File.MD.location}: {File.DateTime|format:YYYY}

Otherwise write {File.Events.Title} : {File.MD.location} : Date Unknown

Thanks!

sinus

I think, you can achieve a lot with variables, I am quite sure, this is possible, but I am not sure of course.

Best wishes from Switzerland! :-)
Markus

Mario

This can be done easily enough with a simple is:Value,TV,FV,case function.
Tip: Use the VarToy to test your variable.
-- Mario
IMatch Developer
Forum Administrator
http://www.photools.com  -  Contact & Support - Follow me on 𝕏 - Like photools.com on Facebook

birdbrain