home *** CD-ROM | disk | FTP | other *** search
- .key dir
- .bra {
- .ket }
-
- failat 21
-
- echo >t:file.sel "title *"{dir}*""
- echo >>t:file.sel "gap 0"
- echo >>t:file.sel "settings off"
- echo >>t:file.sel "flow right*NSortbuttons ON"
-
- echo >>t:file.sel "onexit exec 'delete >nil: t:file.sel'"
- echo >>t:file.sel "color yellow black"
- echo >>t:file.sel "button Parent exec @execute sel:bro/goparent *"{dir}*"@ load t:file.sel"
- echo >>t:file.sel "button Devs exec @copy >nil: sel:bro/browser.sel t:file.sel@ load t:file.sel"
- echo >>t:file.sel "color white*Ncenter off"
- echo >>t:file.sel "text Dirs:"
-
- list >>t:file.sel "{dir}" pat ~(#?.info) dirs lformat "button *"%n*" exec @execute sel:bro/makebrowser *"{dir}%n/*"@ load t:file.sel"
- if warn
- copy >nil: sel:bro/browser.sel t:file.sel
- quit
- endif
-
- echo >>t:file.sel "color black"
- echo >>t:file.sel "text Files:"
- list >>t:file.sel "{dir}" pat ~(#?.info) files lformat "button *"%n*" run £execute sel:bro/what *"{dir}%n*"£"
- if warn
- copy >nil: sel:bro/browser.sel t:file.sel
- quit
- endif
-
- set lines `count file t:file.sel text ascii 10`
- set size 15
-
- if $lines GT 30 VAL
- set size 13
- endif
-
- if $lines GT 50 VAL
- set size 11
- endif
-
- echo >>t:file.sel "font courier $size orDefault"
-
- unset size
- unset lines
-