photools.com Community

IMatch Bug Reports and Feature Requests => Bug Reports => Solved Bug Reports (for next version) => Topic started by: Dirk Funhoff on May 15, 2022, 02:03:50 PM

Title: image batch processor does not work on file name
Post by: Dirk Funhoff on May 15, 2022, 02:03:50 PM
Dear all,

I very seldom use the image processor to insert a specific category into the filename. It worked but not anymore. Unfortunately I cannot tell when it stopped working. I use this command
{File.Categories.Direct|filter:Naturfotografie - Arten;level:leaf}_{n}
The result is just _{n}.

What do I do wrong? 
Thanks for helping me out,
all the best, Dirk
Title: Re: image batch processor does not work on file name
Post by: Mario on May 15, 2022, 03:42:38 PM
Did you check your variable in the VarToy app to see what it returns?
Does it produce what you think it produces? Looks like the category result is empty?
Title: Re: image batch processor does not work on file name
Post by: Dirk Funhoff on May 15, 2022, 06:26:33 PM
Many thanks for the quick and helpful reply. Turned out to be 2 spaces too much, VarToy helped to run it down.
Have a nice evening,
Dirk
Title: Re: image batch processor does not work on file name
Post by: Mario on May 15, 2022, 07:39:18 PM
Very good.
The VarToy is great for debugging issues with complex variables. I use it very often.