Customizing sample layouts

Started by neal, June 09, 2021, 02:55:56 PM

Previous topic - Next topic

neal

Mario,
I would like to be able to copy some of the window layouts in Anywhere and then edit them to suit my needs. I think, with the variable app, I could figure out something simple.
Also, wherever there are keywords in these layouts, they are always hierarchical keywords. These take up a lot of space on the screen. I only require flat keywords. How to  change the following in the Custom layout to show only flat keywords?
{File.MD.headline|default:{File.MD.title}}<br/>{File.MD.description}<br/>{File.MD.hierarchicalkeywords|replace:~;==~; }

Mario

What do you consider 'flat' keywords? IMatch always works with hierarchical keywords internally and flattens them, according to the settings under Edit > Preferences > Metadata during write-back or Keyword Panel editing. All layouts in IMA use hierarchical keywords. You can use a custom layout and variables to control what you see there.

Do you want to show only the leaf keyword?
If so, this is covered with many details in the Variables topic. Search for leaf and combine with a filter for @Keywords to get only the @Keyword categories. Several examples on that page. Use the VarToy app in IMatch to test your variables.
-- Mario
IMatch Developer
Forum Administrator
http://www.photools.com  -  Contact & Support - Follow me on 𝕏 - Like photools.com on Facebook

neal

Mario,
I am not a programmer and reading that material is confusing to me. Please just show me what I asked re:display of ordinary keywords without their path. Type out the example so I can copy and paste it, please!

Mario

Try

{File.MD.XMP::dc\subject\Subject\0}

This variable refers to the tag containing the flattened keywords IMatch produces from the hierarchical keywords.


-- Mario
IMatch Developer
Forum Administrator
http://www.photools.com  -  Contact & Support - Follow me on 𝕏 - Like photools.com on Facebook

neal