Consolidated Variable Enumeration

Started by Darius1968, August 10, 2023, 12:49:08 AM

Previous topic - Next topic

Darius1968

Given
This metadata tag:  {File.MD.Photoshop::SliceInfo\20\SlicesGroupName\0}
is producing the following ten values for ten files: 

MoekaKurihara-1-030
MoekaKurihara-1-031
MoekaKurihara-1-033
MoekaKurihara-1-034
MoekaKurihara-1-035
MoekaKurihara-1-036
MoekaKurihara-1-037
MoekaKurihara-1-038
MoekaKurihara-1-040
MoekaKurihara-1-043

Now, it is desired that a data driven category or that the variable filter of the filter panel (Filter>Variable) will now consolidate all ten of these files under one entry named MoekaKurihara

So, what formatting functions and what syntax are needed to pull this off?  How do I do it? 

Mario

I assume there are different names used by Photoshop for your slices in different images?
I would look into splitlist:Split Character,Index to split the names at - and then use the first element?

See Variables for everything IMatch has to offer for variables, and then make some experiments.
-- Mario
IMatch Developer
Forum Administrator
http://www.photools.com  -  Contact & Support - Follow me on 𝕏 - Like photools.com on Facebook

Darius1968

Is it possible to use this splitlist: function with more than one character.  I tried to put multiple splitlist: arguments in my variable statement, and that doesn't seem to work either. 

Mario

You can do all that's documented in splitlist:Split Character,Index
If the Adobe software sometimes uses - and sometimes uses another separator, you need to find a way to consolidate.
Ask Adobe support for details.
-- Mario
IMatch Developer
Forum Administrator
http://www.photools.com  -  Contact & Support - Follow me on 𝕏 - Like photools.com on Facebook