photools.com Community

IMatch Discussion Boards => FAQ, Workflow, Tutorials, Tips & Tricks => General => Topic started by: Ger on December 05, 2014, 09:11:13 PM

Title: Formatting categories in the File Window Tip
Post by: Ger on December 05, 2014, 09:11:13 PM
In the File Window tip you can format text quite nicely using the formatting tags; especially the <Run>-command can be quite useful:

<Run FontSize='8pt'>{File.Path}</Run></Run>

If you want to list all categories an image is assigned to, the {File.Categories} variable does the job. And if you want to nicely show every category on a separate line, a bit of fiddling with the formatting functions will give a nice result:

{File.Categories|replace:'==´;pereplace:|== > ;pereplace:~;==<LineBreak/>}

It's also possible to combine both commands and format the Categories in the File Window Tip:

Categories:<LineBreak/>{File.Categories|replace:'==´;pereplace:|== > ;pereplace:~;==</Run><LineBreak/><Run FontSize="8pt">;prefix:<Run FontSize="8pt">;postfix:</Run>}



Regards,

Ger


[attachment deleted by admin]
Title: Re: Formatting categories in the File Window Tip
Post by: pajaro on December 05, 2014, 09:54:11 PM
Ger,

Thanks for the tip, but a dumb question: where do I enter the formatting tags?  :-[

Pavel.
Title: Re: Formatting categories in the File Window Tip
Post by: JohnZeman on December 06, 2014, 02:07:53 AM
Edit > Preferences > File Window Tip
Title: Re: Formatting categories in the File Window Tip
Post by: pajaro on December 06, 2014, 10:15:30 AM
Quote from: JohnZeman on December 06, 2014, 02:07:53 AM
Edit > Preferences > File Window Tip

Thanks a lot. I have never checked this tab...