@hidenosel:files,count='number', Confirm the number of selected files or folders

Can add a parameter to ' @hidenosel ' to confirm the number of selected files or folders?Example:

@hidenosel:files,count=1
......
@hidenosel:files,type=*.jpg,count>1
......
@hidenosel:dirs,count=2
......

Added for the next release:

  • @hidenosel:files,numfiles=1
    -- exactly 1 file and 0 folders.

  • @hidenosel:files,minfiles=2,type=*.jpg
    -- exactly 0 folders, at least 2 files, and one of the files must match *.jpg. (Note: type must come last on the line.)

  • @hidenosel:dirs,numdirs=2
    -- exactly 2 folders and 0 files.

More examples:

  • @hidenosel:numfiles=2
    -- any number of folders, and exactly 2 files.

  • @hidenosel:mindirs=2,maxdirs=4
    -- any number of files, and 2, 3 or 4 folders.

Also works with @disablenosel.