home *** CD-ROM | disk | FTP | other *** search
/ Black Box 4 / BlackBox.cdr / editors / hypsh40b.arj / HYPDEVEL.LZH / BROWSER.HSI < prev    next >
Text File  |  1991-04-24  |  1KB  |  67 lines

  1. .REMARK
  2. Demo frameset - browser
  3. Copyright (c) 1989 N.G.Taylor
  4. This is a sample directory browser
  5. Select directories to move around.
  6. Select text files to type them.
  7. .
  8. .MENU File
  9. Directory   |Y@d*.*
  10. Change dir. |C@L*.
  11. Browse dir. |SBrowse
  12. Quit        |Q
  13. .
  14. .REMARK
  15. Add extension of file, followed by action to perform for that file.
  16. The variable $< contains the full file name
  17. The actions 'L' below are dummy actions for extensions for which
  18. no action is required. Default action is to display the file as text.
  19. Directories, .TXT and .BAT files are handled in the BROWSE script below.
  20. Additional special cases can be added there as required.
  21. .MENU extns
  22. OBJ|L
  23. LIB|L
  24. DBF|L
  25. SYS|L
  26. EXE|Nexec
  27. COM|Nexec
  28. PIC|G$<
  29. PCX|G$<
  30. HYP|dHS $<
  31. NTE|t$<
  32. HSF|c$<
  33. MNU|A@F$<
  34. *|T$<
  35. .
  36. .REMARK
  37. This is a menu of things which can be done to directories.
  38. .MENU Directory
  39. Change to|C$<
  40. Show     |DDIR/W $<
  41. .
  42. .REMARK
  43. This is a menu for options on files with extension .TXT or .BAT
  44. .MENU Text File
  45. Type     |T$<
  46. Edit     |dHN $<
  47. .
  48. .NOTE exec
  49. An action could be
  50. added to execute the
  51. selected program.
  52. .
  53. .SCRIPT Browse
  54. NBrowser
  55. Lpd;Y@L*.*
  56. jspd
  57. J$>
  58. A@Mextns[$>];Jpd
  59. L
  60. L.
  61. A@Mdirectory;Jpd
  62. LTXT
  63. LBAT
  64. LC
  65. A@MText File;Jpd
  66. .
  67.