Is it possible to replace ";" with a plain, empty space when listing categories?

Started by FotoLars, June 23, 2015, 08:08:30 PM

Previous topic - Next topic

FotoLars

Hi,

I am slowly moving over to fully use IMatch 5.x  - an absolutely spledid piece of software by all means - instead  of 3.6, and at this stage there is one little thing that I would like to enquire about:

Is it possible to on the thumbnails change the categories being separated by a ";" to an empty plain space, " " - such as the categories were separated by a space in 3.6 with the function {Image.CategoriesLineBreak} - when using the {File.Categories.Direct|level:leaf} custom command in 5.x? The categories themself are indeed displayed correctly, with a ";" between them.

I have tried to modify the information given in https://www.photools.com/community/index.php?topic=2704.msg17627#msg17627 where {File.Categories|replace:~;=={lf}} correctly gives a new line - but it doesn't seem to be possible (for me) to merge {File.Categories.Direct|level:leaf} with {File.Categories|replace:~;=={lf}} in a working manner. The desire is to have the categories separated by a space only, nothing more, nothing less, in a continuous manner on each and every thumbnail...


Does anyone have any tips about how to make 5.x show such a category list :) ?

In these fora and in the helpfile I find unfortunately no additional information about the possible characters/values/functions that can be used, and how, in the expressions, besides the line feed mentioned and exemplified above...


Cheers,

Lars Nilsson
Lund, Sweden


Mario

{File.Categories.Direct|level:leaf;replace:~;== }

Works  here. It gets the leaf categories and replaces ; with <blank>.
-- Mario
IMatch Developer
Forum Administrator
http://www.photools.com  -  Contact & Support - Follow me on 𝕏 - Like photools.com on Facebook

FotoLars

Hi Mario,

Yes, your suggestion works indeed very well  ;) !

Thank you very much!!!

Is there any further documentation placed somewhere where one can learn a bit more about different expressions, functions, etc, pertaining to categories - such as the one above, which didn't come out completely clear to me...?


Cheers,
Lars

Mario

I think the Variables help topic in the IMatch help system is pretty extensive and contains many examples. Just click on the Variables entry in the table of contents of search for the term variables.

The VarToy App is a great feature to try out variables and see immediately the results of your experiments.

The IMatch Knowledge Base also uses Variables in several articles.

And of course searching this community for the term Variables reveals examples of what other users are doing with Variables.

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