home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Black Box 4
/
BlackBox.cdr
/
editors
/
hypsh40b.arj
/
HYPDEVEL.LZH
/
HYPERKIT.HYP
< prev
next >
Wrap
Text File
|
1991-04-24
|
3KB
|
111 lines
.HEADER
HyperShell Construction Kit [ $1 - $2 ]
══════════════════════════════════════════════════════════════════════════════
.SCRIPT template
-- Template name set in variable T
VT$\.HYP
O*X1
y
.
.SCRIPT DIY
-- Template name set in variable T
VT$\.HYP
O*Z1
FDIY Kit
.
.SCRIPT toggle
-- Toggle setting of application flag
j$\ISSET
O*$\1
y;q
LISSET
O*$\
y;q
.
.SCRIPT Name File
-- Check file name
q
.SCRIPT Create
-- if DIY, branch
jZDIY
LTEMPLATE
D COPY $T $N.HYP
q
LDIY
-- Open hyperfile for write
w$N.HSL
-- quit if error
azq
-- Write bits in
aAWinclude(menubar.hsi)
aBWinclude(helpsys.hsi)
aCWinclude(spacebar.hsi)
aDWinclude(effects.hsi)
aEWinclude(formfill.hsi)
aFWinclude(buttons.hsi)
aGWinclude(gadgets.hsi)
aHWinclude(browser.hsi)
-- Add main hyperfile bit
Winclude($T)
w
P hc -j $N
D hc -j $N
pFile has been created
q
.SCRIPT SETUP
-- Setup script
-- Set defaults
O*X
O*Z
VTBASIC.HYP
.
.FRAME Select Template
.TITLE HyperShell Construction Kit
EITHER Select a ready made hyperfile template
------
[1] ~AMenubar system~PStemplate(MENUBAR)~K1~E~C40With selections from menu bar
[2] ~AFunction key footer~PStemplate(FUNKFOOT)~K2~E~C40With function key labels
[3] ~AAddress book database~PStemplate(ADDRBOOK)~K3~E~C40With data entry and lookup
[4] ~ANotebook text database~PStemplate(NOTEBOOK)~K4~E~C40Free text database notebook
[5] ~AHOME hyperfile~PStemplate(HOMESKEL)~K5~E~C40With shadow buttons
[6] ~AMultichoice test~PStemplate(MCHOICE)~K6~E~C40For Computer Training
Selected template is [$T] ~APress spacebar when ready to create~PFCreate hyperfile~K ~E
OR DIY Kit - Build a template hyperfile from parts
------
[7] ~ABasic Hyperfile~PSDIY(BASIC)~K7~E~C40Default presentation style.
[8] ~ABasic menu~PSDIY(MENUSKEL)~K8~E~C40With program selections
.
.FRAME DIY Kit
.TITLE Select extra items for DIY hyperfile
Select any extras from the following:-
[1]~C6~hA*~Z ~AMenu bar header~PStoggle(A)~K1~E~C40For customising
[2]~C6~hB*~Z ~AHelp system~PStoggle(B)~K2~E~C40Menu and notes for default hyperfile
[3]~C6~hC*~Z ~ASpace bar footer~PStoggle(C)~K3~E~C40To step through frames
[4]~C6~hD*~Z ~AEffect scripts~PStoggle(D)~K4~E~C40Explodes and wipes
[5]~C6~hE*~Z ~AForm frame skeleton~PStoggle(E)~K5~E~C40For data input
[6]~C6~hF*~Z ~AButton shapes~PStoggle(F)~K6~E~C40For pressing
[7]~C6~hG*~Z ~AGadgets~PStoggle(G)~K7~E~C40Dialogue and confirmation boxes
[8]~C6~hH*~Z ~ADOS Browser~PStoggle(H)~K6~E~C40Directory navigation
~APress spacebar when ready to create~PFCreate hyperfile~K ~E
.
.FRAME Create hyperfile
.TITLE Copy or Build hyperfile
Hyperfile creation - Enter details before creating
[n] Hyperfile name ~I$N~W8~PVN%s;SNAME FILE~Kn~E~Q
[c] ~ACreate Hyperfile~PSCreate~Kc~E Build file from kit
[q] ~AQuit~PQ~Kq~E Quit
Press 'c' to create file after completing name
.