Although I have read through the help function, I have a problem understanding how to use the custom tables.
I want to create a more complex rule with multiple conditions, but I'm not sure how to proceed so that the search for the conditions actually occurs in the same row.
Since the conditions are not unique in a more extensive table, the search may really only occur in one row.
Let's take the example from Hazel help:
A table with the columns: "Name," "ID Number," and "Favorite Color."
For the first condition, I use the table and assign the 1st column "Name" from the table to the first condition. For clarity, I name the custom table attribute created "Name".
So far so good, but how do I use the table for the 2nd condition (3rd, 4th. 5th condition etc.) or even later for the actions?
Do I proceed as described in "Reusing Custom Attributes in Condition Patterns"?
Do I use the Custom Table Attribute "Name" again for the 2nd condition and assign only another column under "Match using column"?
If yes, however, the rule becomes very confusing.
For example, if I have 4 conditions under "If all conditions are met", there are 4x "Name", although other columns (contents) are used in each case.
Also for the actions it becomes very unclear. If the file is to be renamed accordingly, it may look like this:
"Name"_"Name"_"Name"_"Name".EXT
If no, for the 2nd condition the same table is selected under "use a table from a file" but the custom table attribute is named e.g. like the columns "ID Number" and "Favorite Color".
This would make the rule much easier to read.
Also the action rename would be clear:
"Name"_"ID Number"_"Favorite Color"_"column_4".EXT
But does this ensure that only the same row is searched and found?
I am looking forward to your feedback.