Seldirs for label in context menu button

I have toolbar button with dynamic label like:
@label:=seldirs>1 ? "Some folders" : seldirs==1 ? "One folder" : "No folder"

I want to have this in folder context menu but label is always "No folder".
@label:=seldirs always return 0. Normal ?

I try this and it's ok:
@label:FileCount(true, "dirs:**")

So my context menu button is:
@label:FileCount(true, "dirs:**")>1 ? "Some folders" : "One folder"

This will be supported in 13.7.1 beta.

1 Like