Category : Word Processors
Archive   : HSHELL2.ZIP
Filename : BROWSER.HYP

 
Output of file : BROWSER.HYP contained in archive : HSHELL2.ZIP
.REMARK
Demo frameset - browser
Copyright (c) 1989 N.G.Taylor
.CHECK +fa
Check both menu types

.HEADER
~M~TwF~TKile~Kf~E³~M~TwO~TKptions~Ko~E³~M~TwH~TKelp~Kh~E³~AHISTORY $6~C33~Pb@B~E³ $1 - $2
ÍÍÍÍÍÏÍÍÍÍÍÍÍÏÍÍÍÍÏÍÍÍÍÍÍÍÍÍÍÍÍÍÏÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ
.
.FOOTER
~L22
ÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ
F1 ~AHELP~PMHelp~E F2 ~ACONTENTS~PA@C~E F3/4 ~ABACKTRACK~PB~E F5 ~ANOTEPAD~PA@R~E F6 ~ASEARCH~PA@X?Search string~E F7 ~ATYPE FILE~PT$_~E F10 ~AQUIT~PQ~E
.

.MENU File
Directory |Y@d*.*
Change dir. |C@L*.
Browse dir. |SBrowse
Quit |Q
.

.MENU Options
Create notepad |O01;pO.K.
No backtrack |O20
Backtrack on |O21
Disable warnings |O80
Warnings on |O81
.

.MENU Help
Information |NInfo
Selecting |NSelecting
Funct. keys |NFkeys
.
.SCRIPT MENBAR
ZX2;ZY1
.
.REMARK
Add extension of file, followed by action to perform for that file.
The variable $< contains the full file name
The actions 'L' below are dummy actions for extensions for which
no action is required. Default action is to display the file as text.
Directories, .TXT and .BAT files are handled in the BROWSE script below.
Additional special cases can be added there as required.
.MENU extns
OBJ|L
LIB|L
DBF|L
SYS|L
EXE|Nexec
COM|Nexec
PIC|G$<
PCX|G$<
HYP|dHS $<
NTE|t$<
HSF|c$<
MNU|A@F$<
*|T$<
.
.REMARK
This is a menu of things which can be done to directories.
.MENU Directory
Change to|C$<
Show |DDIR/W $<
.
.REMARK
This is a menu for options on files with extension .TXT or .BAT
.MENU Text File
Type |T$<
Edit |dHN $<
.

.NOTE Confirm
$\
ÚÄÄÄÄÄÄÄÄÄÄ¿ ÚÄÄÄÄÄÄÄÄÄÄ¿
³ ~A OK ~PO*C1~Ko~E ³ ³ ~A CANCEL ~PO*C~Kc~E ³
ÀÄÄÄÄÄÄÄÄÄÄÙ ÀÄÄÄÄÄÄÄÄÄÄÙ
.
.NOTE Info
- $9 -
Frame: $1
Title: $2
File : $3
Date : $4
Time : $5
~ABacktrack ~O2 ~PO2A;NInfo~E with $6 entries
~AAutoref ~O4 ~PO4A;NInfo~E
Error status $? ~C32~AClear~PYah;NInfo~E
.

.NOTE Selecting
Press LEFT button to select item
Press RIGHT mousebutton to select
menu bar. Use TAB to move to next
reference, Shift TAB for previous
.
.NOTE Browser
This is a sample directory browser

Select directories to move around.

Select text files to type them.
.
.NOTE exec
An action could be
added to execute the
selected program.
.

.NOTE Fkeys
F1 Help F2 Browse
F3 Backtrack F4 Select back
F5 Notepad actions F6 Search text
F7 Type file F8 Do action
F9 DOS Shell F10 Quit
.
.REMARK
Directory browser with actions depending on file type.
See also MENU 'extns' above.
.SCRIPT Browse
NBrowser
Lpd;Y@L*.*
jspd
J$>
A@Mextns[$>];Jpd
L
L.
A@Mdirectory;Jpd
LTXT
LBAT
LC
A@MText File;Jpd
.

.SCRIPT SETUP
O#
O17
O*41
OTWB
KF1MHelp
KM1HELP
KH4SMENBAR
Vtø
Vd$
Vsfirst
VxDog
VnFrodo
VZ$d?
.

.FRAME Browser
.TITLE DOS directory structure browser

This option provides a simple MSDOS directory structure browser.

[1] Press This to browse -> ~SBrowse~K1~E

[2] This hyperfile contains a number of ~Fuseful items~K2~E for
authors to include in their own hyperfiles

[3] Also some handy ~FGadgets~K3~E are provided for authors
.
.FRAME useful items
.TITLE items for authors to use
A number of useful items are provided in this hyperfile.

An error number menu provides a useful means of getting the
text associated with an error status. The action

p@MError text($$?)

Will display the error text associated with the last error.

The .HEADER demonstrates how a simple menu bar can be set up.

The Info note shows how options can be toggled
.
.FRAME Gadgets
.TITLE Useful accessories for hyperfiles

[1] ~nThe confirm box~Psconf(feed $x)~K1~E

[2] The selector - ~n$x~PVx@mselector;y~K2~E

[3] The stepper - ~n$s~PVs@mstepper[$s];y~K3~E

[4] The dialogue box - ~nName input~Pndialogue;y~K4~E {$n}

[5] ~FDescription~K5~E - Details about gadgets
.
.MENU selector
Dog
Cat
Hamster
Goldfish
Rabbit
Mouse
Elephant
.
.SCRIPT conf
A@NConfirm
zCp$n the $x growls menacingly
aCp$n the $x purrs gratefully
.
.REMARK
Above is example of conditional actions
.
.MENU stepper
first|second
second|third
third|fourth
fourth|fifth
fifth|sixth
sixth|seventh
seventh|eighth
eighth|ninth
ninth|first
.
.NOTE dialogue

Enter the name of your $x here

Name: ~I$n~W20~PVn%s;y~E~Q

.
.FRAME description
.TITLE details about gadgets
~A~PP;B~E~Q ~HThis is used for immediate return after confirmation
The confirm box is useful for confirming an action before it
is executed, in cases where some irreversible action is to
take place. e.g. a file is to be deleted. The confirm box can
be extended to any number of options.

The selector presents a menu from which a new value for a
variable can be chosen. The variable can be used as the
reference text to show the current value.

The stepper is similar to the selector, only allows the set
of values to be stepped through one at a time.

The dialogue box is used to input a string from the user. It
is similar to the prompted input action, but it permits extra
information to be displayed around the input field, such as
the values of other variables
.



  3 Responses to “Category : Word Processors
Archive   : HSHELL2.ZIP
Filename : BROWSER.HYP

  1. Very nice! Thank you for this wonderful archive. I wonder why I found it only now. Long live the BBS file archives!

  2. This is so awesome! 😀 I’d be cool if you could download an entire archive of this at once, though.

  3. But one thing that puzzles me is the “mtswslnkmcjklsdlsbdmMICROSOFT” string. There is an article about it here. It is definitely worth a read: http://www.os2museum.com/wp/mtswslnk/