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

  1. .HEADER
  2. HyperShell Construction Kit [ $1 - $2 ]
  3. ══════════════════════════════════════════════════════════════════════════════
  4. .SCRIPT template
  5. -- Template name set in variable T
  6. VT$\.HYP
  7. O*X1
  8. y
  9. .
  10. .SCRIPT DIY
  11. -- Template name set in variable T
  12. VT$\.HYP
  13. O*Z1
  14. FDIY Kit
  15. .
  16. .SCRIPT toggle
  17. -- Toggle setting of application flag
  18. j$\ISSET
  19. O*$\1
  20. y;q
  21. LISSET
  22. O*$\
  23. y;q
  24. .
  25. .SCRIPT Name File
  26. -- Check file name
  27. q
  28. .SCRIPT Create
  29. -- if DIY, branch
  30. jZDIY
  31. LTEMPLATE
  32. D COPY $T $N.HYP
  33. q
  34. LDIY
  35. -- Open hyperfile for write
  36. w$N.HSL
  37. -- quit if error
  38. azq
  39. -- Write bits in
  40. aAWinclude(menubar.hsi)
  41. aBWinclude(helpsys.hsi)
  42. aCWinclude(spacebar.hsi)
  43. aDWinclude(effects.hsi)
  44. aEWinclude(formfill.hsi)
  45. aFWinclude(buttons.hsi)
  46. aGWinclude(gadgets.hsi)
  47. aHWinclude(browser.hsi)
  48. -- Add main hyperfile bit
  49. Winclude($T)
  50. w
  51. P hc -j $N
  52. D hc -j $N
  53. pFile has been created
  54. q
  55. .SCRIPT SETUP
  56. -- Setup script
  57. -- Set defaults
  58. O*X
  59. O*Z
  60. VTBASIC.HYP
  61. .
  62. .FRAME Select Template
  63. .TITLE HyperShell Construction Kit
  64.  
  65. EITHER    Select a ready made hyperfile template
  66. ------
  67. [1]    ~AMenubar system~PStemplate(MENUBAR)~K1~E~C40With selections from menu bar
  68. [2]    ~AFunction key footer~PStemplate(FUNKFOOT)~K2~E~C40With function key labels
  69. [3]    ~AAddress book database~PStemplate(ADDRBOOK)~K3~E~C40With data entry and lookup
  70. [4]    ~ANotebook text database~PStemplate(NOTEBOOK)~K4~E~C40Free text database notebook
  71. [5]    ~AHOME hyperfile~PStemplate(HOMESKEL)~K5~E~C40With shadow buttons
  72. [6]    ~AMultichoice test~PStemplate(MCHOICE)~K6~E~C40For Computer Training
  73.  
  74.   Selected template is [$T]   ~APress spacebar when ready to create~PFCreate hyperfile~K ~E 
  75.  
  76. OR    DIY Kit - Build a template hyperfile from parts
  77. ------
  78. [7]    ~ABasic Hyperfile~PSDIY(BASIC)~K7~E~C40Default presentation style.
  79. [8]    ~ABasic menu~PSDIY(MENUSKEL)~K8~E~C40With program selections
  80. .
  81. .FRAME DIY Kit
  82. .TITLE Select extra items for DIY hyperfile
  83.  
  84.     Select any extras from the following:-
  85.  
  86. [1]~C6~hA*~Z    ~AMenu bar header~PStoggle(A)~K1~E~C40For customising
  87. [2]~C6~hB*~Z    ~AHelp system~PStoggle(B)~K2~E~C40Menu and notes for default hyperfile
  88. [3]~C6~hC*~Z    ~ASpace bar footer~PStoggle(C)~K3~E~C40To step through frames
  89. [4]~C6~hD*~Z    ~AEffect scripts~PStoggle(D)~K4~E~C40Explodes and wipes
  90. [5]~C6~hE*~Z    ~AForm frame skeleton~PStoggle(E)~K5~E~C40For data input
  91. [6]~C6~hF*~Z    ~AButton shapes~PStoggle(F)~K6~E~C40For pressing
  92. [7]~C6~hG*~Z    ~AGadgets~PStoggle(G)~K7~E~C40Dialogue and confirmation boxes
  93. [8]~C6~hH*~Z    ~ADOS Browser~PStoggle(H)~K6~E~C40Directory navigation
  94.  
  95.    ~APress spacebar when ready to create~PFCreate hyperfile~K ~E 
  96. .
  97. .FRAME Create hyperfile
  98. .TITLE Copy or Build hyperfile
  99.  
  100.     Hyperfile creation - Enter details before creating
  101.  
  102. [n]    Hyperfile name  ~I$N~W8~PVN%s;SNAME FILE~Kn~E~Q
  103.  
  104. [c]    ~ACreate Hyperfile~PSCreate~Kc~E    Build file from kit
  105.  
  106. [q]    ~AQuit~PQ~Kq~E        Quit
  107.  
  108.     Press 'c' to create file after completing name
  109.  
  110. .
  111.