'-----------------------------------------------------------------------------
' PULLDWN.DEF file for syntax example.   PullDown v2.15 (c) MicroDynamics 1990
' 1445 Mensch Lane, Gilbertsville, PA  19525  Reg. $20, Diskettes Extra.
' GEnie: S.HORTON1, EXEC-PC, CompuServe 72010,2546
' BBS Technical Support (215)-623-6203 with an HST node available.
' Registrations also available through Dealer/Consultants authorized by
' MicroDynamics.  Command line registration system means unlimited upgrades.
' NOTE: Clicking the PULLDOWN name on the bottom row always loads this file.
'
' User-defined help for all options on [F1] keypress defined in PULLDWN.HLP
'
' See QREF.DOC for command summary sheet, and PULL215.DOC for extensive
' discussion of both the structure and keywords available.
'-----------------------------------------------------------------------------
DEF
%Applications

     '01234567890
     %Quattro/Pro
     HI=0
          +echo off
          +cls
          +c:
          +cd\qpro
          +q
          +PULLWN.BAT

     '01234567890
     %Lotus 1-2-3 v2.20
     HI=0
          +echo off
          +cls
          +c:
          +cd\rel22
          +123
          +pulldwn.bat

     '01234567890123456
     %Lotus 1-2-3 v3.0
     '            ^-------- Highlight the 3
     HI=13
          +d:
          +cd\123r3
          +123
          +pulldwn

     '-----------------------------------------------------------------------------
     ' Magellan "clears the stack" which means that unless you pull a little trick
     ' you will end up in DOS after invoking it from within a batch file.  i.e.
     ' the PC never reaches the end of your temporary batch file and thus never
     ' gets back into pulldwn.........  use COMMAND/C just before the command used
     ' to execute in order to avoid this.  (A user has suggest BAT2EXE from PCMag
     ' as another workaround...)
     '
     '01234567890123
     %Lotus Magellan
     HI=6
          +COMMAND/C mg
          +pulldwn

     '01234567890
     %MS Word 5.0
     HI=8
          ? Enter File to Load, [ENTER] for None:
          +c:
          +cd\word5
          +word %1
          +pulldwn

     '01234567890
     %Word Perfect 5.1
     HI=5
          ?Enter File to Load, [ENTER] for None:
          +c:
          +cd\wp51 %1
          +wp
          +pulldwn

     ' Draw a horizontal bar, unselectable
     %-

     '01234567890
     %Harvard Graphics
     HI=8
          +echo off
          +cls
          +c:
          +cd\harvard
          +hg
          +pulldwn

     '01234567890
     %Windows v3.0
     HI=0
          ?Enter Application to Run:
          +c:
          +cd\win
          +win %1
          +pulldwn

     ' Another horizontal line...
     %-

     '01234567890
     %Advanced Examples
     HI=9
          @ADVANCED.DEF
          ' @ Branches to another menu.

     %Windows Applications
     HI=0
          @WINDOWS.DEF


' Second menu choice across the top.  You get 10 of these max. with a toal
' string width of 58 characters.  Anything too long PullDown will reject.
'-----------------------------------------------------------------------------
DEF
%Utilities

     '01234567890
     %PCSHELL (PCTOOLS)
     HI=0
          ? Enter Drive to Work on:
          +pcshell %1
          +pulldwn

     '01234567
     %Norton Advanced
     HI=7
          +nu
          +pulldwn

     '01234567890
     %Undelete
          ? Undelete what path?
          +undelete %1
          +pulldwn

     '01234567890
     %XCONFIG
          +xconfig
          +pulldwn
          ' Modifies your CONFIG.SYS and AUTOEXEC.BAT files from a central menu sys.
          ' Also from MicroDynamics as PD Software.

     %-

     '01234567890
     %Disk Optimizer
     HI=5
          ? Which Drive?
          +optimize %1
          +pulldwn

     %FastBack Plus
          +c:
          +cd\fastback
          +fb
          +pulldwn

     %Browse a Text File
          OKBOX=This option uses the FREE VFILE.EXE utility with PullDown
          ?Enter Filename to browse:
          +vfile %1
          +pulldwn
     %-

     %Format a Disk
          ? Enter Drive Letter to Format:
          +format %1
          +pulldwn

     %Shut Down the System
          OKBOX=Turn Power OFF after completing this process.
          +MIRROR
          +PARK

DEF
%Programming

     '01234567890
     %QuickC 2.0
     HI=5
          ?Enter Source to Load:
          +echo off
          +cls
          +d:
          +cd\qc2
          +qc %1
          +pulldwn

     '01234567890
     %QBXùBC7ùPDS
     HI=1
          ?Enter File to Load:
          +echo off
          +cls
          +f:
          +cd\qbx\bin
          +QBX %1
          +pulldwn

     %MASM
          +d:
          +cd\masm
          +masm
          +pulldwn


DEF
%Communications

     %Qmodem 4.1B
          +e:
          +cd\qmodem
          +qmodem
          +pulldwn

     %Relay Gold
          +c:
          +cd\relay
          +RELAY
          +pulldwn

     %CompuServe Information Manager
          +c:
          +cd\cserve
          +cim
          +pulldwn


     %-

     %3270 Adapter to Mainframe
          +cd\pc3270
          +pc3270 t
          +pulldwn

     ' CAUTION: Use of the R option on some machines will cause a crash
     ' when you use ALT+ESC on top of PullDown.  Use the T option, or
     ' no option at all to load the PC3270 Emulator.



DEF
%Editor

     %Edit PULLDWN.DEF
     OKBOX=This option likely requires that you have modified EDITOR.BAT
          +EDITOR PULLDWN.DEF
          +pulldwn

     %Edit PULLDWN.HLP
     OKBOX=This option likely requires that you have modified EDITOR.BAT
          +EDITOR PULLDWN.HLP
          +pulldwn

     %QEDIT (With Prompt)
          ? Enter Filespec to Edit, [ENTER] for None:
          +QEDIT %1
          +pulldwn

     %PE2 (With Prompt)
          ? Enter Filespec to Edit, [ENTER] for None:
          +PE2 %1
          +pulldwn

' Sample to create your own exit routine.....
DEF
%Exit

     %Exit to DOS
     HI=1
          YORN=Are you sure you want to exit?
          +echo off
          +cls
          +echo Type PULLDWN [ENTER] to return to the menu system.
          +echo.
          ' echo. will echo out a blank line.
          ' you could thus make it anything....
          ' e.g. a special logo file etc.

     %Shell to DOS
          +echo off
          +cls
          +echo Type EXIT [ENTER] to return.  (RAM OHD=3.5K)
          +echo.
          +command
          +pulldwn

' End of Sample file.  See ADVANCED.DEF for the fancy options available.

