Re: Directory sorting
Posted: 02 Oct 2019 10:21
Well then you would activate Manual sorting mode, arrange them how you want and then use a simple script to tag them all with a new updated index. Below I just knocked up a quick crude example, which you could enhance or adapt to suit.
I am using "Extra 5" just as an example:
There are probably faster ways to implement this than the above example if you are working with many files, this is only just to give you a quick basic idea of the concept, the execution is up to you.
You could change it to work on only the selected items or maybe? only the top 50 items etc. if you wanted, because maybe the sort of some items may not matter, you may only for example tag 10 items in a folder where there is 30 items, because only the top 10 items sort order is important, I don't know your exact use case.
I am using "Extra 5" just as an example:
Code: Select all
$i = 0;
foreach($item, <allitems |>) { tagitems("ex5", $i++, $item); }
You could change it to work on only the selected items or maybe? only the top 50 items etc. if you wanted, because maybe the sort of some items may not matter, you may only for example tag 10 items in a folder where there is 30 items, because only the top 10 items sort order is important, I don't know your exact use case.