home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
High Voltage Shareware
/
high1.zip
/
high1
/
DIR21
/
DEPTY309.ZIP
/
DEPARC.EXE
/
SCRIPTS.EXE
/
AUTO.DSL
next >
Wrap
Text File
|
1993-10-15
|
2KB
|
55 lines
Script Auto; (* NOVICE MODE Michael Spalter V.1.00
This will automatically
run when DCD is low and
novice mode is enabled.
(setup - miscellaneous) *)
VAR
Reply : INTEGER;
WindowHandle : INTEGER;
PROCEDURE HelpScreen;
BEGIN
WindowHandle:=Window(10,6,53,14,'',27);
UseWindow(WindowHandle);
Foregnd(LCyan);
Backgnd(Blue); ClrScr;
Write(' WELCOME TO DEPUTY ! \n\r\n');
Write(" You're currently running Deputy in NOVICE MODE\n\r");
Write(' Novice mode is ideal for any users who are not\n\r');
Write(" familiar with comms software. Not all of Deputy's\n\r");
Write(' features are available in Novice Mode. If you do\n\r');
Write(' not use novice mode, then instead of the initial\n\r');
Write(' menu with four choices, you operate Deputy using\n\r');
Write(" 'HOT-KEYS' and more complex menus. To disable\n\r");
Write(' novice mode, select SETUP-MISCELLANEOUS and then\n\r');
Write(' set the NOVICE MODE option to OFF.\n\r\n' );
Write(' Press a key to continue......');
REPEAT UNTIL KeyPressed;
CloseWindow(WindowHandle);
END;
BEGIN
Escape(FALSE);
BackGnd(Black);
ClrScr;
WindowHandle:=Window(11,15,53,2,'',27);
UseWindow(WindowHandle);
Foregnd(LCyan);
Backgnd(Blue);
Write(' Move using cursor keys then press ENTER to select ');
Reply:=Menu(28,8,18,"",
" Call a Service", " Setup ", " Help", " Exit ", 0);
CloseWindow(WindowHandle);
CASE (Reply+1) OF
1 : PushKey(131H); (* Alt-N *) |
2 : PushKey(11FH); (* Alt-S *) |
3 : HelpScreen; |
4 : HaltDeputy; |
END;
END Auto;