As a followup to How Do I Safely Manage Indexed Files, I would like to create a script to:
- Add a
indexed parenttag to each indexed parent item.
- Change the icon of indexed parent items.
What is preventing me from doing this is knowing how to identify the indexed parent items.
There is a boolean property,
indexed, that differentiates between indexed and imported items.
I see a
parent property, but I think that would be the parent group of a particular record regardless of index.
In order to find the indexed parent would I look for the parent of each indexed record and if the parent is not indexed, then the current record is an indexed parent?