did -i switchbar 2 1 cb root
did -a switchbar 2 +eb 1 1 Script Folder $tab ( $+ $findfile($mircdir,*,0) $+ ) Files In ( $+ $finddir($mircdir,*,0) $+ ) Folders
did -i switchbar 2 1 cb last
did -a switchbar 2 +b 2 2 $gettok($mircdir,-1,92)
did -i switchbar 2 1 cb last
var %z = 1
while ( $findfile($mircdir,*,%z,0) ) {
did -a switchbar 2 + 4 4 $nopath($ifmatch)
inc %z
}
did -i switchbar 2 1 cb up
var %a = 1
while ( $finddir($mircdir,*,%a,1)) {
var %dir = $ifmatch
did -a switchbar 2 + 2 2 $gettok(%dir,-1,92)
did -i switchbar 2 1 cb last
var %x = 1
while ($findfile(%dir,*.*,%x,1) ) {
did -a switchbar 2 + 4 4 $nopath($ifmatch)
inc %x
}
did -i switchbar 2 1 cb up
inc %a
}