Author Topic: image batch processor does not work on file name  (Read 183 times)

Dirk Funhoff

  • New Members
  • *
  • Posts: 24
image batch processor does not work on file name
« 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

Mario

  • IMatch Developer
  • Administrator
  • *****
  • Posts: 31554
Re: image batch processor does not work on file name
« Reply #1 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?
« Last Edit: May 15, 2022, 03:47:51 PM by Mario »

Dirk Funhoff

  • New Members
  • *
  • Posts: 24
Re: image batch processor does not work on file name
« Reply #2 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

Mario

  • IMatch Developer
  • Administrator
  • *****
  • Posts: 31554
Re: image batch processor does not work on file name
« Reply #3 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.