Go GROUPCOLLAPSE=* will only collapse the groups that are there at the time it is run. If the labels are still being calculated in the background, then some of the label groups may not exist yet and will be created after the collapse happens.
Instead, use Set GROUPCOLLAPSE=on which tells Opus to collapse groups that appear later on as well.
You can also (usually) combine multiple set commands into a single line, which is sometimes more efficient::
Working great!! and let's say i want one of the group to be expandedù
I tried with GROUPCOLLAPSE= (because i grouped by label)
But again i have to click 2 times
I don't know if there is a good way to do that. You could add a delay but the amount of time to delay would depend on how quickly the labels in the folder could be calculated, which would depend on the number of files in the folder, disk speed, and what else the PC was doing at the time. Adding a longer delay might work, but might mean you wait longer than needed sometimes.
how do i add delay? the process seems really fast because if i double click the button with same speed i double click folder to open,then i get what i want.
I can still double click but if i can do all in one click is better.
I gave you the command you said you were trying to use:
Working great!! and let’s say i want one of the group to be expandedù
I tried with GROUPCOLLAPSE= (because i grouped by label)
But again i have to click 2 times