Can anyone tell me if this can be done easily with opus, and the best way to go about it... Or will I need to script with VB?
{1st part I've done}
I want to filter a directory (and all sub-directories) to reveal only all files that don't have any LABELS (Red, Blue, Green etc).
Set FLATVIEW=MixedNoFolders
select NONE
Select "LABEL-NONE" FILTER FILTERFLAGS=hidenomatch
btw the "LABEL-NONE" is what I called a filter I made to match No Labels
Now I want to use all the selected resulting files, and set the label of their individual parent folders (eg red).
Some folders may have subfolders and some may not. But the folders that I want to change the label on are the top level ones (bold) (of the directory I filtered).
This will color parent 1 and parent 2 of the files it found during the filter.
BUT, is there any way I can say color parent1 + parent2 - ONLY UP TO a certain level (ie the level where I filtered from). Otherwise, it's going to be coloring a directory too high.
eg
TOPFOLDER (Directory where I do the flatview filter inside of / and I only want the subfolders to be colored not this one)
FOLDER1\Folder1a\file
Folder2\file
[ul][li]File found in filter from Folder1a will color the first and second level parent up (Folder1a + Folder1). [FINE][/li]
[li]File found in filter from Folder2 will color the first and second level parent up (Folder2 + TOPFOLDER) - The TOPFOLDER is too high, I don't want it to color that one or before it. So I just need a way to say not to color at TOPFOLDER point or before. [/li][/ul]
Yeh that's it.
Okay then it isn't important, it will on be one folder usually that I have to reset.
Also, Does opus have any way of pausing yet? Because it needs to wait for the flat view to sort itself out before going on, otherwise I need to run it in 2 buttons.
[quote]
Set FLATVIEW=MixedNoFolders
select NONE
----PAUSE HERE wait for flat view to finish doing its thing-----
And one last thing. Is there any way to say to select ONLY the first file PER folder - when in a filtered flat view. So it doesn't run the next command on every file, but only the first file of each directory (so it's faster).