home *** CD-ROM | disk | FTP | other *** search
/ Shareware Overload / ShartewareOverload.cdr / utils / hdmiv.zip / HDMDOC.EXE / lha / USER.DOC < prev   
Text File  |  1990-04-22  |  109KB  |  2,851 lines

  1.  
  2.  
  3.  
  4.                         Hard Disk Menu (HDM) IV
  5.                             User's Manual
  6.  
  7.                              INTRODUCTION
  8.  
  9. This manual will help you get the most out of HDM IV, a state-of-the-art
  10. menuing program. With HDM IV, you can start your word processing,
  11. spreadsheet, database, and other programs with just the press of one or two
  12. keys.
  13.  
  14. HDM IV also provides a host of other sophisticated features:
  15.  
  16. * Set up Menus automatically or manually -- you can include up to 100,000
  17. separate Menu Entries
  18.  
  19. * Combine or stack DOS commands, batch files, and HDM IV Macros for efficient
  20. file and disk management
  21.  
  22. * Pass keystrokes on to other programs
  23.  
  24. * Dial phone numbers with any Hayes-compatible modem
  25.  
  26. * Automatically execute commands at predefined intervals
  27.  
  28. * Customize the HDM IV interface by choosing colors, borders, panel
  29. positions, the Opening Screen, the Menu Title, Menu Page names, screen
  30. blackout time for longer monitor life, mouse sensitivity, and the cursor
  31. blink rate.
  32.  
  33. * Access help by pressing F1
  34.  
  35. * Create your own Personal Help Screens
  36.  
  37. * Log the time you spend doing specific tasks on your computer
  38.  
  39. * Access network files
  40.  
  41. * Password-protect any Menu Entry
  42.  
  43. HDM IV is written in Turbo Pascal. That makes it fast and efficient.
  44.  
  45. HDM IV's features are available through convenient pull-down menus and pop-up
  46. windows that adhere to IBM's SAA/CUA (Systems Application Architecture/Common
  47. User Access) guidelines. That makes HDM IV easy to use.
  48.  
  49.                      Hard Disk Menu (HDM) IV (TM)
  50.                      Copyright 1986-1990 Jim Hass
  51.                     All rights reserved worldwide
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.                 REGISTRATION AND ORDERING INFORMATION
  59.  
  60. HDM IV is distributed through the user-supported software or "shareware"
  61. concept. This means that you're permitted to use the program on a trial
  62. basis. If you decide to use it on a regular basis after the evaluation
  63. period, however, you're legally required to pay a registration fee.
  64.  
  65. You may freely copy HDM IV for others to use in group, corporate, and
  66. educational settings. If they use the program on a regular basis, they are
  67. also legally required to pay the appropriate registration or licensing fee.
  68.  
  69. If you are a software distributor, you may distribute HDM IV provided that
  70. you charge a copying and distribution fee of no more than $10 and make no
  71. changes in the program or accompanying on-disk documentation.
  72.  
  73. The user-supported software concept is a service to computer users. It allows
  74. you to try programs before you buy. But it will only work if users support
  75. it. Please do.
  76.  
  77. HDM IV users who register or pay the appropriate licensing fee will receive a
  78. complete printed manual and are eligible to receive telephone technical
  79. support and program-upgrade notices.
  80.  
  81. NOTE: To to disk-space limitations, there is no information in this on-disk
  82. manual on how to how to log usage or create customized opening screens and
  83. help screens. This information, however, is included in the printed manual.
  84.  
  85.  
  86.  
  87.  
  88.  
  89.  
  90.                       REGISTRATION AND ORDERING
  91.  
  92. To register or order, please send this coupon or a photocopy with your check
  93. or purchase order to:
  94.  
  95. Jim Hass, President
  96. MicroFox Co.
  97. P.O. Box 447
  98. Richfield, OH 44286-0447
  99.  
  100. Electronic Mail --> CompuServe: 73057,3113
  101.  
  102. 4.24                                   Fee        Quantity     Subtotal
  103.  
  104. Current version number
  105.  
  106. HDM IV individual-user registration
  107.         with latest disk and manual   $50
  108. HDM IV network license per network    $200
  109. HDM IV unlimited site license         $600
  110. HDM IV unlimited corporate license    $1,200
  111.  
  112. Extra copies of HDM IV User's Manual  $10
  113. Extra copies of HDM IV program disks  $5
  114.  
  115. Shipping and Handling Charges:
  116.                      U.S.A. . . . . . $3
  117.                      Canada . . . . . $4
  118.         All other countries . . . . . $7
  119.  
  120. Ohio residents add 5.5% sales tax
  121.  
  122. Total
  123.  
  124. Educational institutions may request a 40 percent discount on any of the
  125. above registrations and licenses.
  126.  
  127. Each network, site, or corporate license will receive one manual, one program
  128. disk, and a license to make as many copies as needed.
  129.  
  130. Name
  131. Company (if appropriate)
  132. Street
  133. City, State, ZIP
  134. Country (if other than U.S.)
  135. Telephone
  136.  
  137.  
  138. Note: Be sure to add Sales Tax (if in Ohio) and Shipping Charges (for all).
  139.  
  140.  
  141.  
  142. Where did you hear about HDM IV?
  143.  
  144.  
  145. How would you like to see HDM IV improved?
  146.  
  147.  
  148.  
  149.  
  150.  
  151.  
  152.                                CONTENTS
  153.  
  154. Preface 1: How This Manual Is Organized
  155.  
  156. Preface 2: Requirements in Using HDM IV
  157.  
  158.  
  159. Section A: FOR NEW COMPUTER USERS
  160.  
  161. Chapter 1: An Introduction to DOS
  162.  
  163. Chapter 2: How HDM IV Can Help
  164.  
  165. Section B: FOR NEW HDM USERS
  166.  
  167. Chapter 3: Installing HDM IV
  168.  
  169. Chapter 4: Starting HDM IV
  170.  
  171. Chapter 5: Starting Programs With HDM IV
  172.  
  173. Chapter 6: Setting Up HDM IV Menus Automatically
  174.  
  175. Section C: FOR ADVANCED HDM IV USERS
  176.  
  177. Chapter 7: Setting Up HDM IV Menus Manually
  178.  
  179. Chapter 8: Using HDM IV Functions to Build Menus
  180.  
  181. Chapter 9: Using HDM IV Macros to Build Menus
  182.  
  183. Chapter 10: Automatic Command Execution
  184.  
  185. Chapter 11: Customizing the HDM IV Interface
  186.  
  187. Chapter 12: Network Support
  188.  
  189. Chapter 13: Password Protection
  190.  
  191. Appendix 1: Updating from a Previous Version
  192.  
  193. Appendix 2: HDM IV Error Messages
  194.  
  195. Appendix 3: Technical Support
  196.  
  197. Appendix 4: Additional Program: List
  198.  
  199.  
  200.  
  201.  
  202.  
  203.  
  204.                               Preface 1:
  205.                      HOW THIS MANUAL IS ORGANIZED
  206.  
  207. Like HDM IV itself, we've made this manual easy to use. Section A is for new
  208. computer users. Here we explain the basics of DOS and the advantages of using
  209. HDM IV with DOS to launch your programs and manage your files,
  210. subdirectories, and hard disk.
  211.  
  212. Section B is for new HDM users. We describe how to install and start HDM IV,
  213. how to start programs with HDM IV, and how to automatically set up Menus.
  214.  
  215. And Section C is for advanced HDM IV users. Here we provide details on how to
  216. take full advantage of HDM IV's sophisticated features, such as command
  217. stacking, Macros, phone dialing, automatic command execution, interface
  218. customization, network support, and password protection.
  219.  
  220. If you're upgrading from a previous version of HDM, you should first turn to
  221. Appendix 1.
  222.  
  223. If you run into a problem and HDM IV gives you an error message, you can
  224. refer to Appendix 2.
  225.  
  226. If you run into a problem and can't solve it yourself, there's HDM IV's
  227. Technical Support, described in Appendix 3.
  228.  
  229. And for information about List, an additional and complementary program
  230. provided on your disk, see Appendix 4.
  231.  
  232.  
  233.  
  234.  
  235.  
  236.  
  237.                               Preface 2:
  238.                      REQUIREMENTS IN USING HDM IV
  239.  
  240. You can use HDM IV on any IBM or IBM-compatible PC, XT, AT, or PS/2 computer
  241. with DOS 2.0 or later. HDM IV works with monochrome, Hercules, CGA, EGA, and
  242. VGA monitors. HDM IV can optionally work with a Microsoft- or
  243. Logitech-compatible mouse. HDM IV supports common networks, including Novell,
  244. Token Ring, and TOPS.
  245.  
  246. HDM IV requires just 256K of RAM. What's more, HDM IV is not RAM-resident,
  247. and it frees all the RAM it was using as soon as you load any of your
  248. programs.
  249.  
  250.  
  251. Disclaimer
  252.  
  253. The author makes no representations or warranties with respect to the
  254. contents of HDM IV or the HDM IV User's Manual and specifically disclaims any
  255. implied warranties of merchantability or fitness for any particular purpose.
  256. The author also reserves the right to revise HDM IV or the HDM IV User's
  257. Manual without obligation to notify any person or organization of such
  258. changes
  259.  
  260.  
  261.  
  262.  
  263.  
  264.  
  265.                               Section A:
  266.                         FOR NEW COMPUTER USERS
  267.  
  268.                               Chapter 1:
  269.                         AN INTRODUCTION TO DOS
  270.  
  271. Now that you're using a computer, you've probably heard the term DOS. But
  272. what exactly is DOS? What does DOS do?
  273.  
  274. DOS stands for disk operation system. The complete term is MS-DOS or PC-DOS.
  275. MS-DOS is used with IBM-compatible computers; PC-DOS is used with IBMs. All
  276. varieties of DOS perform the same basic functions.
  277.  
  278. DOS's primary function is to act as an intermediary between your computer and
  279. your programs, such as your word processor, your spreadsheet, and your
  280. database programs. Like a versatile foreign language translator at the United
  281. Nations, DOS allows your computer to understand your programs, each of which
  282. may be written in a different computer language.
  283.  
  284. But DOS does more than just act as an intermediary. It also allows you to
  285. start your programs and copy, delete, move, and otherwise manage files and
  286. subdirectories on your hard disk.
  287.  
  288.  
  289. Terminology
  290.  
  291. Let's stop for a moment and define our terms:
  292.  
  293. * Program: A series of instructions that tells your computer what to do, such
  294. as add a column of numbers or find a customer's invoice number. Before the
  295. program tells the computer what to do, you have to tell the program what to
  296. do.
  297.  
  298. * File: DOS's basic unit of organization. A file is like a piece of paper
  299. that's stored in your computer. On it can be one of two things: (a) a series
  300. of instructions -- a program -- in which case it's called a program file, or
  301. (b) words or numbers -- data -- in which case it's called a data file.
  302.  
  303. * Subdirectory: A group of files. A subdirectory is like a manila folder --
  304. it holds a number of pieces of paper, or files. Just as with manila folders,
  305. using subdirectories is a way of organizing your work for greater efficiency.
  306.  
  307. * Hard disk: A physical disk inside your computer on which files and
  308. subdirectories are stored. A hard disk looks and works a bit like a
  309. high-fidelity record -- it has cylindrical grooves and a head that reads
  310. information from between the grooves. Logically, a hard disk is like a drawer
  311. in a file cabinet -- it stores your manila folders (subdirectories) and files
  312. (papers).
  313.  
  314. Sometimes the term hard drive is used interchangeably with hard disk. A hard
  315. drive in actuality is the apparatus that moves or drives the hard disk.
  316.  
  317. * Floppy disk: Basically a miniature and portable hard disk. You use floppies
  318.  
  319.  
  320.  
  321.  
  322.  
  323. to bring programs or data files onto your hard disk and to store backup or
  324. extra copies of program and data files that already exist on your hard disk.
  325.  
  326.  
  327. DOS Confusion
  328.  
  329. All the above may seem a bit confusing. That's because DOS is a bit
  330. confusing. Take the DOS command line, for example. The DOS command line is
  331. where you type commands that tell DOS what you'd like it to do. It looks like
  332. this:
  333.  
  334. C>
  335.  
  336. Or it looks like this:
  337.  
  338. C:\wp\let>
  339.  
  340. Or it may even look like this:
  341.  
  342. C:\dbase\widget\mar\east>
  343.  
  344. All these symbols and letters mean something, but to the uninitiated (and
  345. even sometimes to the initiated) they can be confusing. Typing the commands
  346. that tell DOS what you'd like it to do can also be confusing. Here, for
  347. example, is a relatively simple command that tells DOS to start the program
  348. WordPerfect:
  349.  
  350. cd \wp [then you press Enter]
  351. wp [then you press Enter again]
  352.  
  353. And here's another relatively simple command that tells DOS to copy a file
  354. from one subdirectory to another and to verify that the copying went
  355. smoothly:
  356.  
  357. copy /v c:\wp\let\pcr\word.rev c:\wp\misc\ [then you press Enter]
  358.  
  359. See what we mean?
  360.  
  361. The next chapter explains how HDM IV does away with much of DOS's confusion.
  362.  
  363.  
  364.  
  365.  
  366.  
  367.  
  368.                               Chapter 2:
  369.                          HOW HDM IV CAN HELP
  370.  
  371. To make it easier and more efficient for you to use DOS, we've created HDM
  372. IV. Like a restaurant menu, HDM (Hard Disk Menu) IV gives you a way to
  373. quickly choose tantalizing options. HDM IV allows you to bypass DOS and its
  374. difficult-to-understand conventions to do the things that make computing
  375. enjoyable.
  376.  
  377. Once HDM IV has been set up, to start your programs and organize your files,
  378. subdirectories, and hard disk, all you have to do in many cases is press one
  379. or two keys.
  380.  
  381. To start your word processor, for example, all you may have to do is press
  382. the Enter key. To start your spreadsheet program, all you may have to do is
  383. press the letter B, followed by the Enter key. And to copy a file from one
  384. subdirectory to another and verify the copying, all you may have to do is
  385. press the letter C, press the number 2, type in the filename, and press the
  386. Enter key.
  387.  
  388. The HDM IV screen makes it easy to know exactly which keys to press.
  389.  
  390. You can use HDM IV in two ways: (a) You can simply use the Menus that someone
  391. has already set up for you, or (b) You can set up Menus yourself, either
  392. automatically or manually.
  393.  
  394. In the next section of this manual, Section B, you'll learn the basics of
  395. using HDM IV, whether you use already created Menus or set up Menus yourself.
  396.  
  397.  
  398.  
  399.  
  400.  
  401.  
  402.                               Section B:
  403.                           FOR NEW HDM USERS
  404.  
  405.                               Chapter 3:
  406.                           INSTALLING HDM IV
  407.  
  408. If someone has already installed HDM IV for you, you can skip to Chapter 5 if
  409. you like. You don't need to read this chapter or the next one (though you may
  410. want to out of interest).
  411.  
  412. To install HDM IV, first put the HDM IV disk in your a: (floppy) drive. Type
  413. a: and press Enter to make sure you're working from your a: drive. Then type
  414. this line and press Enter:
  415.  
  416. install c:\hdm
  417.  
  418. This line tells HDM IV to install itself in the \hdm subdirectory of your
  419. hard drive. You can actually name this subdirectory anything you wish.
  420.  
  421.  
  422. The Autoexec.bat File
  423.  
  424. After HDM IV finishes installing itself, you'll need to make some changes in
  425. your autoexec.bat file or create an autoexec.bat file if you don't already
  426. have one. An autoexec.bat file is a special file containing a series of
  427. instructions that your computer will carry out each time you turn it on.
  428.  
  429. The easiest way to create or change your autoexec.bat file is to use a word
  430. processor or text editor that saves files in ASCII (straight text) format. Or
  431. you can use DOS, in which case you should consult your DOS manual.
  432.  
  433. Add the following line to your autoexec.bat file. If you already have a path
  434. statement, just make sure these subdirectories are included in it (they don't
  435. necessarily have to have these names, however).
  436.  
  437. path=c:\;c:\hdm;c:\dos
  438.  
  439. This line is needed for several reasons. First, it tells HDM IV that it can
  440. find command.com in the root directory (c:\). This is needed to run batch
  441. files within HDM IV if you're using DOS 3.2 or earlier, and it assumes that
  442. the file command.com resides in your root directory. Second, this line allows
  443. you to restart HDM IV whenever you exit it by simply typing x, no matter
  444. where you are on your hard disk. And third, this line allows HDM IV to access
  445. DOS's external commands, which it will need to do if you build Menus that
  446. include those commands.
  447.  
  448. If you add or modify the path statement in your autoexec.bat file, you should
  449. first reboot your computer before starting HDM IV.
  450.  
  451. In the next chapter you'll learn the various ways you can start HDM IV.
  452.  
  453.  
  454.  
  455.  
  456.  
  457.  
  458.                               Chapter 4:
  459.                            STARTING HDM IV
  460.  
  461. Once you've installed HDM IV, you can start it by typing these lines and
  462. pressing Enter after each:
  463.  
  464. cd \hdm
  465. hdm
  466.  
  467. You may, if you like, customize the way you start HDM IV, and you may set up
  468. your system so that your computer starts HDM IV automatically each time you
  469. turn your computer on.
  470.  
  471. You'll likely be able to customize the way you start HDM IV by simply adding
  472. a series of parameters to the HDM IV command line.
  473.  
  474.  
  475. HDM IV Startup Options
  476.  
  477. The following are your choices of startup parameters and what they do. In
  478. typing these parameters, you can use either uppercase or lowercase letters.
  479.  
  480. -N              Bypasses HDM IV's Opening Screen, unless a user logon
  481.                 is required, for example, in a network setup
  482. -Ddrive         Displays the free disk space on the specified drive.
  483.                 If you don't specify a drive, a disk space message for
  484.                 the default drive will appear.
  485. -S              Eliminates snow in older CGA and single-color monitors.
  486. -V              Sets the video mode to monochrome for unreadable
  487.                 laptop and portable screens.
  488. -P              Stops the cursor from wrapping to the next or the
  489.                 previous Menu Page and causes the cursor to stop at
  490.                 all Menu Entries, even empty ones.
  491. -K              Stops Key locks from displaying and stops constant
  492.                 updating of data & time on the screen.
  493. -H              Reads opening title screen from HDM.HDR file.
  494. -L              Logs activity to HDM.LOG if user ID's are in use.
  495. -Bp#            Immediately highlights this Menu Entry (p# can be A1
  496.                 through J0).
  497. -A              Automatically runs the Menu Entry specified by the
  498.                 parameter -Bp#.
  499. -M#             Immediately takes you to the specified Menu File.
  500. -Epath          Specifies the exit path where you'll be when you exit
  501.                 from HDM IV.
  502. -Cpath          Specifies the path where a second copy of the Menu
  503.                 File(s) is stored. You may want to use this parameter
  504.                 if you're running HDM IV from a RAM disk and don't
  505.                 want to risk losing the Menu File(s) by forgetting to
  506.                 save it back to your hard disk.
  507. -Tpath          Specifies the path where the Menu File(s) are stored,
  508.                 useful in a network setup.
  509. -0 to -9        Specifies the path where groups of 100 Menu Files are
  510.                 stored, useful in a network setup. 0c:\jhmenus, for
  511.                 instance, indicates that Menu Files 000 to 099 are
  512.                 stored in the \jhmenus subdirectory on the c: drive;
  513.  
  514.  
  515.  
  516.  
  517.                 -3c:\rgmenus indicates that Menu Files 300 to 399 are
  518.                 stored in the \rgmenus subdirectory on the c: drive.
  519. -Wpath          Specifies the path (must be in the DOS path) where the
  520.                 x.bat file is stored, useful in a network setup.
  521.  
  522. Here's an example of an HDM IV startup sequence with added parameters:
  523.  
  524. cd \hdm
  525. hdm -N -BC1
  526.  
  527. This causes your computer to change to the \hdm subdirectory, starts HDM,
  528. bypasses HDM IV's Opening Screen, and highlights Menu Entry C1.
  529.  
  530. After you start HDM IV the first time, HDM IV writes a file to your disk
  531. called x.bat. This file records all the startup parameters, if any, you've
  532. used. If you exit HDM IV and want to restart the program or want to quickly
  533. start HDM IV at any time in the future, all you have to do is type the letter
  534. x. If you've specified the HDM IV subdirectory in the path statement of your
  535. autoexec.bat file, you can type x from anywhere on your hard disk. Each time
  536. you start HDM IV with new startup parameters, HDM IV creates a new x.bat
  537. file.
  538.  
  539.  
  540. Changing the Environmental Variable
  541.  
  542. DOS requires that the command line you use be 128 characters or less. If you
  543. use a lot of HDM IV startup parameters, you may want to customize the way you
  544. start HDM IV by changing HDM IV's environmental variable instead of or along
  545. with adding parameters to the HDM IV command line. To do this, you add an
  546. additional line to your autoexec.bat file. You would type the following line,
  547. with any of the above parameters following the equal sign:
  548.  
  549. set HDM=
  550.  
  551. Here's an example of how to change HDM IV's environmental variable:
  552.  
  553. set HDM=-Dd: -Ec:\dos -Wd:\work
  554.  
  555. This causes HDM IV to display the free space on the d: drive, exit to the
  556. \dos subdirectory of the c: drive, store the x.bat file in the \work
  557. subdirectory of the d: drive.
  558.  
  559.  
  560.  
  561.  
  562.  
  563.  
  564. Starting HDM IV Automatically
  565.  
  566. You may also want to set up your system so that your computer starts HDM IV
  567. each time you turn your computer on. To do this, you simply include your HDM
  568. IV startup sequence as the last two lines of your autoexec.bat file.
  569.  
  570. In the next chapter you'll learn how to use HDM IV to start your programs if
  571. your Menus have already been set up for you.
  572.  
  573.  
  574.  
  575.  
  576.  
  577.  
  578.                               Chapter 5:
  579.                     STARTING PROGRAMS WITH HDM IV
  580.  
  581. To start programs and access other commands with HDM IV if someone has
  582. already set up Menus for you, all you have to know is how the HDM IV screen
  583. is organized and which keys to press. (Chapter 6 explains how to set up Menus
  584. yourself.)
  585.  
  586. The Top Line indicates the current day, date, and time. You can replace the
  587. Top Line with the Top Menu by pressing F10, and then return to the Top Line
  588. by pressing Esc. (You'll discover in later chapters how to use the Top Menu
  589. and its pull-down menus to access HDM's menu-building and customization
  590. features. You'll also learn keyboard shortcuts to bypass the Top Menu in
  591. accessing these same features.)
  592.  
  593. Underneath the Top Line is the Menu Title. (In Section C you'll see how to
  594. customize your Menu Title as you like.)
  595.  
  596. Underneath the Menu Title is the Main Menu. It consists of two panels. The
  597. panel labeled A through J consists of Menu Page names. The panel labeled 1
  598. through 0 consists of Menu Entry names. (In later chapters you'll discover
  599. how to change the names of the Menu Pages and Menu Entries, to switch the
  600. positions of the two panels, and to otherwise customize the HDM IV
  601. interface.)
  602.  
  603. The quickest way to start a program or access a command is to simply move to
  604. the appropriate Menu Page by pressing letter A through J and then to press
  605. the number key 1 through 0 that precedes the appropriate Menu Entry. If
  606. you're already on the appropriate Menu Page, all you have to do is press a
  607. number. (Alternately, you can move to a Menu Page by pressing Alt-1 through
  608. Alt-0.)
  609.  
  610. Say, for example, you want to start Lotus 1-2-3, which is on Menu Page C in
  611. position 2. All you do is press C, then press 2. That's all there is to it.
  612.  
  613. Underneath the Menu Page names is a line that provides the Menu File name (We
  614. use the terms Menu File and Menu -- when capitalized -- interchangeably in
  615. this manual). The default Menu File name is HDM.000. Since you can include as
  616. many as 100 different Menu Entries (10 Menu Entries on 10 Menu Pages) in each
  617. Menu File, some users may need to have only one Menu File. But you have the
  618. option of using as many as 1,000 different Menu Files, whose file names can
  619. range up to HDM.999.
  620.  
  621. Underneath the Menu Entry names is a line that reminds you that you can
  622. access a Menu Entry by pressing the number preceding it. This line also
  623. provides the HDM version number (depending on the interface you're using) and
  624. indicates which Menu Page and Menu Entry are highlighted.
  625.  
  626. The Bottom Line indicates how to access Help (F1), how to exit HDM IV (F3),
  627. how to activate the Top Menu (F10), and whether you previously turned on the
  628. Caps Lock key, the Num Lock key, or the Scroll Lock key. If you used the -D
  629. startup parameter, it also indicates which drive you're in and how much free
  630. disk space you have on that drive.
  631.  
  632.  
  633.  
  634.  
  635.  
  636.  
  637. Getting Help
  638.  
  639. Anytime you have a question about HDM IV, a quick way to get an answer is to
  640. press F1, which displays the Help Menu. To access a particular Help Screen,
  641. simply press the first letter in the name of the screen or scroll the cursor
  642. down with the down arrow key.
  643.  
  644. If you press F1 a second time, you'll be provided with the Help Screen that
  645. explains which keys to press in moving around the Main Menu.
  646.  
  647.  
  648. Main Menu Keys
  649.  
  650. HDM IV generally provides several ways to carry out its menu-building and
  651. other procedures. When this is the case, we list the quickest and most
  652. efficient option first.
  653.  
  654. The following are the keys you can use while you're in HDM IV's Main Menu.
  655. They're provided here as a reference -- you won't need to know how to use all
  656. of them just yet.
  657.  
  658. Since HDM IV is very intuitive in nature, however, by experimenting with
  659. these keys you'll likely be able to figure out how to do many HDM IV
  660. procedures. If you experiment and want to get back to a previous position,
  661. just press Esc. If you don't want to experiment, you can move straight to
  662. Chapter 6 to learn how to set up Menus.
  663.  
  664. Some keys, such as F1 (Help) and F3 (Exit), are active anywhere in HDM IV.
  665.  
  666. Letters A-J                     Moves the cursor to the
  667. (also Alt-1 to Alt-0)           corresponding Menu Page (if it
  668.                                 exists)
  669. Numbers 1-0                     Starts the Menu Entry that
  670.                                 corresponds to the number (if it
  671.                                 exists)
  672. Down arrow                      Moves the cursor to the next
  673. (also space bar or tab)         Menu Entry
  674. Up arrow                        Moves the cursor to the previous
  675. (also back space or             Menu Entry
  676. back tab)
  677. Enter                           Starts the Menu Entry the cursor
  678.                                 is on
  679. PgDn                            Moves the cursor to the first
  680. (also right arrow)              Menu Entry on the next page
  681. PgUp                            Moves the cursor to the last
  682. (also left arrow)               Menu Entry on the previous page
  683. Home                            Moves the cursor to the first
  684. (also minus)                    Menu Entry on the first Menu Page
  685. End                             Moves the cursor to the last
  686. (also plus)                     Menu Entry on the last Menu Page
  687. Ins                             To insert a new Menu Entry
  688. Del                             To delete an existing Menu Entry
  689.  
  690.  
  691.  
  692.  
  693.  
  694.  
  695. F1                              Displays the Help Menu
  696. (also ?)
  697. F2                              To edit a Menu Entry nameand
  698.                                 Menu Action
  699. F3                              Exits HDM IV
  700. F4                              To copy a Menu Entry
  701. F5                              Toggles the Menu Title and the
  702.                                 Menu Actions
  703. F6                              Toggles the Top Line andthe Top
  704.                                 Menu
  705. F7                              Displays line variations inside
  706.                                 the Main Menu
  707. F8                              Switches the positions of the
  708.                                 Menu Page and Menu Entry panels
  709.                                 and presents other alternative
  710.                                 user interfaces
  711. F9                              Opens the DOS Window
  712. F10                             Activates the Top Menu
  713. (also /)
  714. Alt-F1                          To add or delete a password on a
  715.                                 Main Menu Entry or pull-down menu
  716.                                 item
  717. Alt-F2                          To edit a Menu Page name
  718. Alt-F3                          To logoff a user who's logged on
  719. Alt-F4                          To move a Menu Entry
  720. Alt-F10                         Activates the last pull-down
  721. (also \)                        menu used from the Top Menu
  722. Alt-G                           Pulls down the Global Variables
  723.                                 Menu
  724. Alt-L                           Pulls down the Local Variables
  725.                                 Menu
  726. Alt-M                           Pulls down the Menu Maintenance
  727.                                 Menu
  728. Alt-P                           Pulls down the Page Index
  729.                                 Maintenance Menu
  730. Alt-S                           Pulls down the Security Password
  731.                                 Menu
  732. Alt-X                           Pulls down the Exit Menu
  733. Esc                             Returns to the previous
  734. (also Ctrl-Break or             position (displays the Opening
  735. Ctrl-C)                         Screen in the Main Menu)
  736. Ctrl-F                          Freezes the screen and suspends
  737.                                 Timed Execution
  738.  
  739.  
  740. Top Menu Keys
  741.  
  742. The following are the keys you can use while accessing HDM IV's Top Menu:
  743.  
  744. Letters M,P,S,L,G,X             Pulls down the corresponding
  745.                                 menu
  746. Right arrow                     Moves the cursor to the next
  747. (also tab, space bar, or        menu
  748. PgDn)
  749.  
  750.  
  751.  
  752.  
  753.  
  754.  
  755. Left arrow                      Moves the cursor to the previous
  756. (also back tab, back space,     menu
  757. or PgUp)
  758. Home                            Moves the cursor to the first
  759. (also minus)                    menu
  760. End                             Moves the cursor to the last
  761. (also plus)                     menu
  762. Enter                           Pulls down the menu the cursor
  763. (also downarrow or              is on
  764. up arrow)
  765. Esc                             Returns to the Main Menu
  766. (also Ctrl-Break, Ctrl-C,
  767. or F10)
  768.  
  769.  
  770. Pull-down Menus Keys
  771.  
  772. The following are the keys you can use while accessing HDM IV's pull-down
  773. menus:
  774.  
  775. Highlighted letter              Starts the corresponding entry
  776. Down arrow                      Moves the cursor to the next
  777. (also tab, space bar, or        entry
  778. PgDn)
  779. Up arrow                        Moves the cursor to the previous
  780. (also back tab, back space,     entry
  781. or PgUp)
  782. Home                            Moves the cursor to the first
  783. (also minus)                    entry
  784. End                             Moves the cursor to the last
  785. (also plus)                     entry
  786. Right arrow                     Removes the current pull-down
  787.                                 menu and pulls down the next one
  788. Left arrow                      Removes the current pull-down
  789.                                 menu and pulls down the previous
  790.                                 one
  791. Enter                           Starts the entry the cursor is
  792.                                 on
  793. Esc                             Returns to the Top Menu
  794. (also Ctrl-Break or Ctrl-C
  795. F10                             Returns to the Main Menu
  796. (also Alt-F10)
  797. Alt-F1                          To add, change, or delete the
  798.                                 password for the entry the
  799.                                 cursor is on
  800.  
  801.  
  802. Mouse Buttons
  803.  
  804. The following describes how you can use a mouse in HDM IV. The use of a mouse
  805. is entirely optional.
  806.  
  807. Up motion                       Moves the cursor to the previous
  808. (same as up arrow)              Menu Entry
  809.  
  810.  
  811.  
  812.  
  813.  
  814.  
  815. Down motion                     Moves the cursor to the next
  816. (same as down arrow)            Menu Entry
  817. Left button                     Starts the Menu Entry the cursor
  818. (same as Enter)                 is on
  819. Right button                    Returns to the previous
  820. (same as Esc)                   position (displays the Opening
  821.                                 Screen in the Main Menu)
  822. Left motion                     Moves the cursor to the last
  823. (same as PgUp)                  Menu Entry on the previous page
  824. Right motion                    Moves the cursor to the first
  825. (same as PgDn)                  Menu Entry on the next page
  826. Middle button (3-button         Activates the Top Menu
  827. mouse) or both buttons
  828. (2-button mouse)
  829. (same as F10)
  830.  
  831. In the next chapter you'll learn an easy way to start building your own
  832. Menus.
  833.  
  834.  
  835.  
  836.  
  837.  
  838.  
  839.                               Chapter 6:
  840.                 SETTING UP HDM IV MENUS AUTOMATICALLY
  841.  
  842. HDM IV provides you with both automatic and manual methods to set up the
  843. Menus that start your programs and manage your files, subdirectories, and
  844. hard disk. This chapter explains how to set up Menus automatically. Automatic
  845. Menu building works well with many relatively simple Menu Entries. (Section C
  846. explains how to access HDM IV's sophisticated menu-building features when
  847. building Menus manually.)
  848.  
  849. Creating (adding) Menu Entries automatically is an 8-step process:
  850.  
  851. Step 1: While in the Main Menu, press the Ins key. (Alternately, you could
  852. press F10 to activate the Top Menu, press M, and press A, or press F10 and
  853. press Enter twice.)
  854.  
  855. Step 2: Move to the Menu Page where you'd like the Menu Entry to appear by
  856. pressing the appropriate letter. (Alternately, you could use the PgUp or PgDn
  857. keys or the arrow keys.) If you're already on the right Menu Page, you can
  858. skip this step.
  859.  
  860. Step 3: Choose where you'd like the Menu Entry to appear by pressing the
  861. appropriate number key. (Alternately, you could use the arrow and Enter
  862. keys.)
  863.  
  864. Step 4: Type the Menu Entry name that you'd like to appear on the Main Menu,
  865. using up to 48 characters, and press Enter.
  866.  
  867. Step 5: Press F4 to tell HDM IV to automatically build the Menu Action for
  868. you.
  869.  
  870. Step 6: Fill in the blanks for the drive where the program resides, the
  871. directory (subdirectory) where the program resides, the program command, and
  872. the parameters if any. Be sure to include a backslash (\) before the
  873. subdirectory's name.
  874.  
  875. Step 7: Press F2 to save the Menu Entry.
  876.  
  877. Step 8: Test the new Menu Entry by pressing the number associated with it or
  878. by clicking on it with your mouse.
  879.  
  880. From now on whenever you want to run the Menu Entry, all you have to do is
  881. move to the appropriate Menu Page and press the appropriate Menu Entry
  882. number.
  883.  
  884. Now that you know how to create Menu Entries, you'll probably want to
  885. categorize the Menu Entries you create by grouping related items on specific
  886. Menu Pages and giving those Menu Pages appropriate names. You may, for
  887. example, want to put all your word processing Menu Entries on Menu Page A and
  888. call the page Word Processing, put all your database Menu Entries on Menu
  889. Page B and call the page Database, and so on.
  890.  
  891.  
  892.  
  893.  
  894.  
  895.  
  896. Erasing Menu Entries
  897.  
  898. First you should erase or move any existing Menu Entries you don't need.
  899. There are a number of sample Menu Entries, for example, provided on the HDM
  900. IV disk as illustrations of how to create sophisticated Menu Entries. You may
  901. want to use some of these sample Menu Entries as is, and you may want to
  902. modify some to suit you individual needs. Eventually, you may want to erase
  903. or move those sample Menu Entries you won't be using.
  904.  
  905. Erasing a Menu Entry is a 4-step process:
  906.  
  907. Step 1: Press Del. (Alternately, you could press F10 to activate the Top
  908. Menu, press M, and press E, or press F10 and use the arrow and Enter keys.)
  909.  
  910. Step 2: Move to the Menu Page that contains the Menu Entry you'd like to
  911. erase by pressing the appropriate letter. (Alternately, you could use the
  912. PgUp or PgDn keys or the arrow keys.) If you're already on the right Menu
  913. Page, you can skip this step.
  914.  
  915. Step 3: Press the number corresponding to the Menu Entry you want to erase.
  916. (Alternately, you could use the arrow and Enter keys.)
  917.  
  918. Step 4: Press Y in response to the prompt.
  919.  
  920.  
  921. Moving Menu Entries
  922.  
  923. Moving a Menu Entry is a 5-step process:
  924.  
  925. Step 1: Press Alt-F4. (Alternately, you could press F10 to activate the Top
  926. Menu, press M, and press M a second time, or press F10 and use the arrow and
  927. Enter keys.)
  928.  
  929. Step 2: Move to the Menu Page that contains the Menu Entry you'd like to move
  930. by pressing the appropriate letter. (Alternately, you could use the PgUp or
  931. PgDn keys or the arrow keys.) If you're already on the right Menu Page, you
  932. can skip this step.
  933.  
  934. Step 3: Press the number corresponding to the Menu Entry you want to move.
  935. (Alternately, you could use the arrow and Enter keys.)
  936.  
  937. Step 4: Press the letter corresponding to the page where you want to move the
  938. Menu Entry. (Alternately, you could use the arrow keys.)
  939.  
  940. Step 5: Press the number corresponding to the new position. (Alternately, you
  941. could use the arrow and Enter keys.)
  942.  
  943. HDM IV also allows you to change and duplicate Menu Entries. These procedures
  944. are much the same as adding, erasing, and moving Menu Entries.
  945.  
  946.  
  947. Naming Menu Pages
  948.  
  949. To better categorize your Menu Entries, you should give your Menu Pages
  950.  
  951.  
  952.  
  953.  
  954.  
  955.  
  956. appropriate names. As you can see, HDM IV provides default Menu Page names.
  957. Changing those Menu Page names is a 3-step process:
  958.  
  959. Step 1: Press Alt-F2. (Alternately, you could press F10 to activate the Top
  960. Menu, press P, and press N, or press F10 and use the arrow and Enter keys.)
  961.  
  962. Step 2: Press the letter corresponding to the Menu Page you want to rename
  963. and press Enter. (Alternately, you could use the PgDn, PgUp, and Enter keys,
  964. or the arrow and Enter keys.) If you're already on the right Menu Page, you
  965. can skip this step.
  966.  
  967. Step 3: Type the new Menu Page name, using up to 19 characters, and press
  968. Enter. Typing any letter or number will erase an existing Menu Page name.
  969. Pressing an arrow key will allow you to edit an existing Menu Page name.
  970.  
  971. HDM IV also allows you to compress a Menu Page (move all Menu Entries to the
  972. top positions), to erase all the Menu Entries on a Menu Page, to import all
  973. the Menu Entries from another Menu Page in the same Menu File or a different
  974. Menu File, and to switch one Menu Page with another. These procedures are
  975. much the same as naming Menu Pages.
  976.  
  977.  
  978. Input Keys
  979.  
  980. The following are the keys you can use in any input field, including the Menu
  981. Entry field, the Menu Page field, and the Menu Action field (The Menu Action
  982. field is used when setting up Menus manually and is described in the next
  983. chapter).
  984.  
  985. Right arrow                     Moves the cursor one character
  986.                                 to the right
  987. Left arrow                      Moves the cursor one character
  988.                                 to the left
  989. Tab                             Moves the cursor eight
  990.                                 characters to the right
  991. Back tab                        Moves the cursor eight
  992.                                 characters to the left
  993. Home                            Moves the cursor to the first
  994.                                 character in the field
  995. End                             Moves the cursor to the last
  996.                                 character in the field
  997. Delete                          Deletes the character at the
  998.                                 cursor
  999. Backspace                       Deletes the character left of
  1000.                                 the cursor
  1001. Ctrl-Home                       Deletes all characters from the
  1002.                                 cursor to the beginning of the
  1003.                                 field
  1004. Ctrl-End                        Deletes all characters from the
  1005.                                 cursor to the end of thefield
  1006. Ctrl-U                          Restores the field to its
  1007.                                 original contents
  1008. Esc                             Cancels any changes and returns
  1009. (also Ctrl-Break or Ctrl-C)     to the previous screen
  1010.  
  1011.  
  1012.  
  1013.  
  1014.  
  1015.  
  1016. Enter                           Goes to the next field, or if
  1017.                                 there is only one field ends
  1018.                                 editing and saves the changes
  1019. F2                              Saves changes to all fields and
  1020.                                 returns to the previous screen
  1021. Up arrow                        Moves the cursor to the previous
  1022.                                 field on the screen
  1023. Down arrow                      Moves the cursor to the next
  1024.                                 field on the screen
  1025. PgUp                            Moves the cursor to the first
  1026.                                 field on the screen
  1027. PgDn                            Moves the cursor to the last
  1028.                                 field on the screen
  1029. Insert                          Toggles between insert mode and
  1030.                                 overstrike mode
  1031.  
  1032. In Section C you'll learn how to include sophisticated HDM IV Functions in
  1033. your Menu Entries and how to access other advanced HDM IV features.
  1034.  
  1035.  
  1036.  
  1037.  
  1038.  
  1039.  
  1040.                               Section C:
  1041.                       FOR ADVANCED HDM IV USERS
  1042.  
  1043.                               Chapter 7:
  1044.                    SETTING UP HDM IV MENUS MANUALLY
  1045.  
  1046. Using the manual method of setting up HDM IV Menus allows you to access HDM
  1047. IV's wealth of sophisticated menu-building Functions. This chapter describes
  1048. how to create Menu Entries that combine or stack DOS commands. (Chapter 8
  1049. explains all the rest of HDM IV's menu-building Functions.)
  1050.  
  1051. Setting up Menus manually involves creating Menu Actions. A Menu Action is
  1052. simply a series of instructions that you type telling HDM IV what to do each
  1053. time you access the corresponding Menu Entry. HDM IV allows you to include up
  1054. to 255 characters in each Menu Action.
  1055.  
  1056. A Menu Action consists of normal DOS commands plus HDM IV's Functions. The
  1057. HDM IV Function that you'll use most often is the Execute Function. It's
  1058. represented by the tilde -(~). In a Menu Action, a tilde is the equivalent of
  1059. pressing Enter at the DOS prompt.
  1060.  
  1061. You type a tilde in a Menu Action to separate more than one command. It
  1062. allows you to combine or stack numerous commands and have HDM IV carry them
  1063. all out in sequence. Each time HDM IV sees a tilde, it executes the command
  1064. that preceded it. Here's an example of a Menu Action using the Execute
  1065. Function:
  1066.  
  1067. c:~cd \wp~wp~
  1068.  
  1069. This Menu Action is the equivalent of typing the following at the DOS prompt
  1070. and pressing Enter after each line:
  1071.  
  1072. c:
  1073. cd \wp
  1074. wp
  1075.  
  1076. Creating Menu Entries manually with Menu Actions is similar to creating them
  1077. automatically. It's a 7-step process.
  1078.  
  1079. Step 1: While in the Main Menu, press the Ins key. (Alternately, you could
  1080. press F10 to activate the Top Menu, press M, and press A, or press F10 and
  1081. press Enter twice.)
  1082.  
  1083. Step 2: Move to the Menu Page where you'd like the Menu Entry to appear by
  1084. pressing the appropriate letter. (Alternately, you could use the PgUp or PgDn
  1085. keys or the arrow keys.) If you're already on the right Menu Page, you can
  1086. skip this step.
  1087.  
  1088. Step 3: Choose where you'd like the Menu Entry to appear by pressing the
  1089. appropriate number key. (Alternately, you could use the arrow and Enter
  1090. keys.)
  1091.  
  1092. Step 4: Type the Menu Entry name that you'd like to appear on the Main Menu,
  1093.  
  1094.  
  1095.  
  1096.  
  1097.  
  1098.  
  1099. using up to 48 characters, and press Enter.
  1100.  
  1101. Step 5: Type the Menu Action, using up to 255 characters. (If you were
  1102. creating Menu Entries automatically, you would press F4 instead.)
  1103.  
  1104. Step 6: Press F2 to save the Menu Entry.
  1105.  
  1106. Step 7: Test the new Menu Entry by pressing the number associated with it or
  1107. by clicking on it with your mouse.
  1108.  
  1109.  
  1110. DOS Conventions
  1111.  
  1112. In creating HDM IV Menu Actions, you use the same conventions as DOS. The
  1113. following are some of the more common DOS conventions. (Experienced DOS users
  1114. can skip over this section.)
  1115.  
  1116. file name       A DOS file name can have up to eight characters,
  1117.                 plus an optional extension up to three
  1118.                 characters. For example, smith2.let is a typical
  1119.                 file name. You can't use these characters in
  1120.                 file names: !, @, #, $, %, &, (, ), -, _, {, },
  1121.                 ', `.
  1122. subdirectory    Rules for naming subdirectories are the same as
  1123. name            those for naming files, though you probably
  1124.                 won't need to use extensions.
  1125. \               Type a backslash before subdirectory names, to
  1126.                 separate subdirectory names in a multilevel
  1127.                 subdirectory structure, and to separate
  1128.                 subdirectory names from file names. For example,
  1129.                 \wp\let\apr and \wp\let\apr\smith2.let. A
  1130.                 backslash alone means root directory.
  1131. :               Type a colon after the letter specifying a
  1132.                 drive. For example, a: for floppy drive, c: for
  1133.                 hard drive.
  1134. *               Type an asterisk to signify all files. For
  1135.                 example, *.let means all files with the
  1136.                 extension .let and \apr\*.* means all files in
  1137.                 the \apr subdirectory.
  1138. ?               Type a question mark to signify any character.
  1139.                 For example, smith?.let means all files that
  1140.                 begin with smith, are six characters long, and
  1141.                 have the extension .let.
  1142. .               Type a period to signify the current
  1143.                 subdirectory.
  1144. ..              Type two periods to signify the subdirectory
  1145.                 above the current subdirectory.
  1146.  
  1147.  
  1148. Using the DOS Window
  1149.  
  1150. By using the DOS Window, HDM IV allows you to access the DOS prompt without
  1151. exiting HDM IV. This makes it possible to run any DOS command, batch file, or
  1152. program without adding it to your HDM IV Menus.
  1153.  
  1154.  
  1155.  
  1156.  
  1157.  
  1158.  
  1159. In addition, you can use any HDM IV Function or Macro in the DOS Window. You
  1160. can include up to 64 characters in any one entry. HDM IV remembers the last
  1161. nine entries you keyed into the DOS Window. Any time you access the DOS
  1162. Window, you can use the arrow and Enter keys to rerun a previous entry.
  1163.  
  1164. To access the DOS Window, all you have to do is press F9. (Alternately, you
  1165. could press F10 to access the Top Menu, press X, and press Enter, or press
  1166. F10 and use the arrow and Enter keys.)
  1167.  
  1168. In the next chapter you'll learn how to incorporate HDM IV's other Functions,
  1169. besides the Execute Function, into Menu Actions.
  1170.  
  1171.  
  1172.  
  1173.  
  1174.  
  1175.  
  1176.                               Chapter 8:
  1177.                 USING HDM IV FUNCTIONS TO BUILD MENUS
  1178.  
  1179. Along with the Execute Function, you can use a host of other sophisticated
  1180. HDM IV Functions in Menu Actions to build your Menus. These Functions enable
  1181. you, for instance, to create Menu Entries that prompt you for the names of
  1182. files or subdirectories, to display a menu of choices and allow you to select
  1183. from it, and to pass keystrokes on to other programs.
  1184.  
  1185. HDM IV carries out Menu Action Functions from left to right, except where
  1186. Functions are nested within other Functions. In this case it carries out the
  1187. nested or inner Functions first.
  1188.  
  1189.  
  1190. Viewing Functions
  1191.  
  1192. Any time you want to view the Menu Actions of your Menu Entries, including
  1193. Functions, all you have to do is press F5. (Alternately, you could press F10
  1194. to access the Top Menu, press Alt-L, and press Enter, or press F10 and use
  1195. the arrow and Enter keys.) Pressing F5 will replace the Menu Title with the
  1196. Menu Action of the Menu Entry the cursor is on. To return the Menu Title,
  1197. press F5 again.
  1198.  
  1199.  
  1200. HDM IV Functions
  1201.  
  1202. Below are all of HDM IV's Menu Action Functions. Detailed explanations of how
  1203. to use each Function follow. (Using Macros in Functions is covered in the
  1204. next chapter.)
  1205.  
  1206. In typing these Functions, you may use either uppercase or lowercase letters.
  1207.  
  1208. Execute: ~ (tilde)               Executes a command
  1209. Pause: {?}                      Pauses and waits for your input
  1210. Pause with Prompt: {?prompt}    Pauses, displays the prompt that
  1211.                                 your previously specified, and
  1212.                                 waits for your input
  1213. Pause with Prompt and           Provides a default reply to the
  1214. Reply-to-Prompt:                Prompt Function
  1215. {DEFAULT reply-to-prompt}
  1216. User: {USER}                    Displays the user logon name
  1217. Select: {SELECT prompt~choice1~   Displays a menu of choices and
  1218. choice2~ ... choice9}            allows you to select from it
  1219. Inside: !                       Quickly runs an entire Menu
  1220.                                 Action inside HDM IV instead of
  1221.                                 going to DOS
  1222. Run Inside: {RUN command}       Quickly runs any part of a Menu
  1223.                                 Action inside HDM IV instead of
  1224.                                 going to DOS
  1225. Run Inside with Pause:          Quickly runs any part of a Menu
  1226. {RUN! command}                  Action inside HDM IV instead of
  1227.                                 going to DOS and then pauses
  1228. Key: {KEY k1 k2 ... k15}        Passes up to 15 keystrokes to
  1229.  
  1230.  
  1231.  
  1232.  
  1233.  
  1234.                                 most programs
  1235. Beep: {BEEP}                    Sounds your computer's speaker
  1236. Check: {CK drive-letter}        Checks to see if the drive you
  1237.                                 specify is ready
  1238. Batch: @@                       Needed before a batch-file
  1239. Color: {COLOR foreground-color  Sets the DOS screen color for
  1240. background-color}               the current Menu Entry
  1241. Cursor: {CURSOR start-line      Sets the shape of the cursor
  1242. end-line}                       when you leave HDM IV
  1243. Menu: {MENU #}                  Creates or accesses another Menu
  1244.                                 File
  1245. Return: {RETURN}                Returns to the previous Menu
  1246.                                 File
  1247. Dial: {DIAL phone number}       Dials a phone number
  1248. Exit: {EXIT}                    Exits to DOS
  1249. (also {QUIT})
  1250. Reboot: {REBOOT}                Reboots your computer
  1251. Macro: &#                       Calls a Macro that you
  1252.                                 previously set up
  1253. Macro with Parameter(s):        Calls a Macro that you
  1254. {&# %#}                         previously set up and uses a
  1255.                                 Macro Parameter or Parameters
  1256. Parameter: %#                   Replaces a Macro Parameter that
  1257.                                 you previously set up
  1258. Parameter Now: {%#}             Replaces a Macro Parameter that
  1259.                                 you previously set up and
  1260.                                 resolves it immediately
  1261.  
  1262.  
  1263. Execute Function:
  1264. ~ (tilde)
  1265.  
  1266. As explained in the last chapter, the Execute Function separates and executes
  1267. commands in a Menu Action.
  1268.  
  1269. Here's another example of a Menu Action using the Execute Function:
  1270.  
  1271. copy c:\dbase\inv\*.mar a:~chkdsk a:~pause~
  1272.  
  1273. This Menu Action copies from your hard disk c: to your floppy disk a: all
  1274. those files in the \dbase\inv subdirectory that end with the extension .mar,
  1275. checks the integrity of the data on you floppy disk using DOS's Check Disk
  1276. utility, and pauses for you to read the analysis.
  1277.  
  1278.  
  1279. Pause Function:
  1280. {?}
  1281.  
  1282. The Pause Function pauses the execution of the Menu Action. At the pause,
  1283. which is indicated by the words, Pause for input ..., on your screen, you can
  1284. optionally enter up to 64 characters that will be included in the Menu
  1285. Action. Pressing Enter continues the execution of the Menu Action. Pressing
  1286.  
  1287.  
  1288.  
  1289.  
  1290.  
  1291.  
  1292. Esc cancels the execution and returns you to the Main Menu.
  1293.  
  1294. Here's an example of a Menu Action using the Pause Function:
  1295.  
  1296. copy c:{?} a:~
  1297.  
  1298. This Menu Action copies from your hard disk c: to your floppy disk a: those
  1299. files that you specify. At the pause you type the path and name of the file
  1300. or files you want copied. If you wanted to copy the file smith2.let, which
  1301. resides in your \wp\let subdirectory, you would type \wp\let\smith2.let, then
  1302. press Enter.
  1303.  
  1304.  
  1305. Pause with Prompt Function:
  1306. {?Prompt}
  1307.  
  1308. The Pause with Prompt Function is identical to the Pause Function except that
  1309. it allows you to specify your own prompt message.
  1310.  
  1311. Here's an example of a Menu Action using the Pause with Prompt Function:
  1312.  
  1313. copy c:\{?Enter the directory to copy to floppy disk:}\*.* a:~
  1314.  
  1315. This Menu Action prompts you with, Enter the directory to copy to floppy
  1316. disk:. Then it copies from your hard disk c: to your floppy disk a: all the
  1317. files in the subdirectory that you specify. If you type wp\let\ap at the
  1318. pause, it would copy all the files in your \wp\let\apr subdirectory.
  1319.  
  1320.  
  1321.  
  1322.  
  1323.  
  1324.  
  1325. Pause with Prompt and Reply-to-Prompt Function:
  1326. {DEFAULT reply-to-prompt}
  1327.  
  1328. The Pause with Prompt and Reply-to-Prompt Function is identical to the Pause
  1329. with Prompt Function except that it allows you to specify a default reply to
  1330. your prompt message. If you press Enter at the pause, HDM IV accepts the
  1331. default reply you previously specified. You also have the option of modifying
  1332. the reply.
  1333.  
  1334. Here's an example of a Menu Action using the Pause with Prompt and
  1335. Reply-to-Prompt Function:
  1336.  
  1337. copy /v c:\{?Enter the directory to copy to floppy disk:{default
  1338. c:wp\let\apr}}\*.* a:~
  1339.  
  1340. This Menu Action prompts you with, Enter the directory to copy to floppy
  1341. disk:. If you press Enter it accepts the default reply, c:wp\let\apr. Then it
  1342. copies from your hard disk c: to your floppy disk a: all the files in the
  1343. \wp\let\apr subdirectory and verifies the copying.
  1344.  
  1345.  
  1346. User Function:
  1347. {USER}
  1348.  
  1349. The User Function displays the user logon name, if one was used. It's helpful
  1350. in creating prompts if you're setting up Menus for other users.
  1351.  
  1352. Here's an example of a Menu Action using the User Function:
  1353.  
  1354. list {?{user}, enter the name of the file you want to view.}~
  1355.  
  1356. If the user logged onto HDM IV as Jim, this Menu Action would display the
  1357. prompt, Jim, enter the name of the file you want to see. Once Jim entered the
  1358. file name and pressed Enter, HDM IV would display the file's contents, using
  1359. the List program (This is a separate a complementary program provided with
  1360. HDM IV -- see Appendix 4 for details).
  1361.  
  1362. You can also use this Function in the Menu Title that's displayed above the
  1363. Main Menu. This automates the process of creating a customized Menu Title for
  1364. other users.
  1365.  
  1366.  
  1367.  
  1368.  
  1369.  
  1370.  
  1371. Select Function:
  1372. {SELECT prompt~choice1~choice2~ ... choice9}
  1373.  
  1374. The Select Function displays a list of up to nine choices and allows you to
  1375. select one. The first words you type after select and before the first tilde
  1376. (~) appear as a prompt or title above the list. You can choose from the list
  1377. by typing the first letter of a choice, using the down-arrow key and pressing
  1378. Enter, or by clicking on the choice with your mouse. If you type the first
  1379. letter of a choice and two or more choices begin with that letter, the last
  1380. one with that letter will be selected.
  1381.  
  1382. In creating an HDM IV Menu Action with the Select Function, you must separate
  1383. the prompt and the choices with a tilde (~).
  1384.  
  1385. Here's an example of a Menu Action using the Select Function:
  1386.  
  1387. dir {select Choose a directory~c:\wp~c:\dbase~c:\123~c:\ventura~c:\util}/p
  1388.  
  1389. This Menu Action displays a list of five subdirectories -- c:\wp, c:\dbase,
  1390. c:\123, c:\ventura, and c:\util -- and uses as a prompt, Choose a directory.
  1391. By choosing one of the subdirectories, you obtain a list of the files in that
  1392. subdirectory one screenful at a time.
  1393.  
  1394.  
  1395. Inside Function:
  1396. !
  1397.  
  1398. The Inside Function quickly runs an entire Menu Action inside HDM IV instead
  1399. of first terminating HDM IV and going to DOS. This causes the program,
  1400. command, or batch file to execute faster than otherwise, and it returns you
  1401. to the HDM IV Main Menu faster after the program or command has been run.
  1402.  
  1403. The Inside Function has two limitations. First, because HDM IV is kept in RAM
  1404. (memory), you will likely be able to run only smaller programs, since both
  1405. HDM IV and the program will have to fit into RAM simultaneously. Second, you
  1406. cannot run memory-resident programs using the Inside Function.
  1407.  
  1408. The Inside Function must be the first character in a Menu Action. Here's an
  1409. example of a Menu Action using the Inside Function:
  1410.  
  1411. !c:~cd\norton~ni~
  1412.  
  1413. This Menu Action quickly runs the program Norton Utilities without first
  1414. terminating HDM IV.
  1415.  
  1416.  
  1417.  
  1418.  
  1419.  
  1420.  
  1421. Run Inside Function:
  1422. {RUN command}
  1423.  
  1424. The Run Inside Function is identical to the Inside Function, except that it
  1425. allows you to run any part of a Menu Action inside HDM IV.
  1426.  
  1427. The same limitations that apply to the Inside Function also apply to the Run
  1428. Inside Function.
  1429.  
  1430. Here's an example of a Menu Action using the Run Inside Function:
  1431.  
  1432. {run dir c:\wp\art}c:~cd\wp~wp \art\{?Enter document name:}
  1433.  
  1434. This Menu Action quickly lists the files in the \wp\art subdirectory on your
  1435. c: drive then prompts you for the name of the document in that subdirectory
  1436. you want loaded immediately when you start the program Word Perfect.
  1437.  
  1438.  
  1439. Run Inside with Pause Function:
  1440. {RUN! command}
  1441.  
  1442. The Run Inside with Pause       Function        is identical to the Run
  1443. Inside Function except that it pauses before executing the rest of the Menu
  1444. Action. This gives you, for instance, plenty of time to see the files in a
  1445. directory list, such as the one included in the previous Menu Action example.
  1446.  
  1447. Here's an example of a Menu Action using the Run Inside with Pause Function:
  1448.  
  1449. {run! dir c:\bat/w}{run list c:\bat{?Enter the file name to view}}
  1450.  
  1451. This Menu Action quickly provides a wide list of the files in the \bat
  1452. subdirectory on your c: drive, pauses until you press a key, prompts you for
  1453. the file in that subdirectory that you want to view, then runs the List
  1454. program (See Appendix 4).
  1455.  
  1456.  
  1457. Key Function:
  1458. {KEY k1 k2 ... k15}
  1459.  
  1460. The Key Function passes up to 15 keystrokes to most programs. It allows you
  1461. to load files or otherwise automate procedures in programs that you start
  1462. using HDM IV. The Key Function won't work with programs that clear the
  1463. keyboard buffer before they start or that use their own keyboard buffer
  1464. instead of DOS's, and it won't work with memory-resident keyboard enhancement
  1465. utilities that expand the size of the keyboard buffer. Testing will tell if
  1466. the Key Function will work with any given program.
  1467.  
  1468. You can pass through any key on the IBM keyboard, plus the following:
  1469.  
  1470. HDM     Key             HDM     Key             HDM     Key
  1471. CA      Ctrl-A          CB      Ctrl-B          CC      Ctrl-C
  1472. CD      Ctrl-D          CE      Ctrl-E          CF      Ctrl-F
  1473. CG      Ctrl-G          CH      Ctrl-H          CI      Ctrl-I
  1474.  
  1475.  
  1476.  
  1477.  
  1478.  
  1479.  
  1480. CJ      Ctrl-J          CK      Ctrl-K          CL      Ctrl-L
  1481. CM      Ctrl-M          CN      Ctrl-N          CO      Ctrl-O
  1482. CP      Ctrl-P          CQ      Ctrl-Q          CR      Ctrl-R
  1483. CS      Ctrl-S          CT      Ctrl-T          CU      Ctrl-U
  1484. CV      Ctrl-V          CW      Ctrl-W          CX      Ctrl-X
  1485. CY      Ctrl-Y          CZ      Ctrl-Z          SP      Space
  1486. C[      Ctrl-[          C]      Ctrl-]          C\      Ctrl-\
  1487. C2      Ctrl-2          C6      Ctrl-6          C-      Ctrl- -
  1488. ENTR    Enter           ESC     Escape          CBRK    Ctrl-Break
  1489. BSP     Back Space      CBSP    Ctrl-BackSp     TAB     Tab
  1490. STAB    Shift-Tab       AA      Alt-A           AB      Alt-B
  1491. AC      Alt-C           AD      Alt-D           AE      Alt-E
  1492. AF      Alt-F           AG      Alt-G           AH      Alt-H
  1493. AI      Alt-I           AJ      Alt-J           AK      Alt-K
  1494. AL      Alt-L           AM      Alt-M           AN      Alt-N
  1495. AO      Alt-O           AP      Alt-P           AQ      Alt-Q
  1496. AR      Alt-R           AS      Alt-S           AT      Alt-T
  1497. AU      Alt-U           AV      Alt-V           AW      Alt-W
  1498. AX      Alt-X           AY      Alt-Y           AZ      Alt-Z
  1499. F1      F1              F2      F2              F3      F3
  1500. F4      F4              F5      F5              F6      F6
  1501. F7      F7              F8      F8              F9      F9
  1502. F10     F10             F11     F11             F12     F12
  1503. AF1     Alt-F1          AF2     Alt-F2          AF3     Alt-F3
  1504. AF4     Alt-F4          AF5     Alt-F5          AF6     Alt-F6
  1505. AF7     Alt-F7          AF8     Alt-F8          AF9     Alt-F9
  1506. AF10    Alt-F10         AF11    Alt-F11         AF12    Alt-F12
  1507. CF1     Ctrl-F1         CF2     Ctrl-F2         CF3     Ctrl-F3
  1508. CF4     Ctrl-F4         CF5     Ctrl-F5         CF6     Ctrl-F6
  1509. CF7     Ctrl-F7         CF8     Ctrl-F8         CF9     Ctrl-F9
  1510. CF10    Ctrl-F10        CF11    Ctrl-F11        CF12    Ctrl-F12
  1511. SF1     Shift-F1        SF2     Shift-F2        SF3     Shift-F3
  1512. SF4     Shift-F4        SF5     Shift-F5        SF6     Shift-F6
  1513. SF7     Shift-F7        SF8     Shift-F8        SF9     Shift-F9
  1514. SF10    Shift-F10       SF11    Shift-F11       SF12    Shift-F12
  1515. LAR     Left Arrow      RAR     Right Arrow     UAR     Up Arrow
  1516. CLAR    Ctrl-LeftArrow  CRAR    Ctrl-RightArrow DAR     DownArrow
  1517. HOM     Home            END     End             INS     Insert
  1518. CHOM    Ctrl-Home       CEND    Ctrl-End        DEL     Delete
  1519. PGU     PgUp            PGD     PgDn            CPRT    Ctrl-PrtSc
  1520. CPGU    Ctrl-PgUp       CPGD    Ctrl-PgDn
  1521. A1      Alt-1           A2      Alt-2           A3      Alt-3
  1522. A4      Alt-4           A5      Alt-5           A6      Alt-6
  1523. A7      Alt-7           A8      Alt-8           A9      Alt-9
  1524. A0      Alt-0           A-      Alt- -          A=      Alt-=
  1525.  
  1526. In creating an HDM IV Menu Action with the Key Function, you can use either
  1527. uppercase or lowercase letters to represent keystrokes. You must separate
  1528. each keystroke representation with a space.
  1529.  
  1530. Here's an example of a Menu Action using the Key Function:
  1531.  
  1532. c:~cd\123~123~{key / f r 9 0 b u d j e t entr}
  1533.  
  1534.  
  1535.  
  1536.  
  1537.  
  1538.  
  1539. This Menu Action starts the program Lotus 1-2-3 and retrieves the file named
  1540. 90budget.
  1541.  
  1542.  
  1543. Beep Function:
  1544. {BEEP}
  1545.  
  1546. The Beep Function causes your computer's speaker to sound a short beep. You
  1547. can use it at the end of a Menu Action to alert you when a task has been
  1548. completed.
  1549.  
  1550. Here's an example of a Menu Action using the Beep Function:
  1551.  
  1552. c:~cd\clipper~clipper acctappl~tlink acctappl~{beep}
  1553.  
  1554. This Menu Action starts the program Clipper, completes a compile and link,
  1555. and beeps you when finished.
  1556.  
  1557.  
  1558. Check Function:
  1559. {CK drive-letter}
  1560.  
  1561. The Check Function checks to see if the drive you specify is ready. Typing
  1562. the letter a after CK causes it to check drive a:. If the drive is ready, the
  1563. Menu Action continues. If the drive isn't ready, HDM IV displays an error
  1564. message, cancels the Menu Action, and returns you to HDM IV. If you don't use
  1565. the Check Function and DOS finds that a drive isn't ready, you'll be
  1566. disconnected from HDM IV and returned to the DOS prompt.
  1567.  
  1568. Here's an example of a Menu Action using the Check Function:
  1569.  
  1570. {ck a}copy c:\xy\dec\*.inv a:~
  1571.  
  1572. This Menu Action checks to see if you have a disk in drive a:, then copies
  1573. all the files with the extension .inv from the \xy\dec subdirectory on your
  1574. c: drive to your a: drive.
  1575.  
  1576.  
  1577. Batch Function:
  1578. @@
  1579.  
  1580. The Batch Function is needed before a batch-file command (.bat) in a Menu
  1581. Action if you want to return to the HDM IV Main Menu after the batch file is
  1582. run.
  1583.  
  1584. If you're using DOS 3.2 or earlier, @@ is replaced by command /c when the
  1585. Menu Action is executed. This causes the batch file to be executed by a
  1586. second copy of command.com, DOS's command processor. If you don't use the
  1587. Batch Function before a batch-file command, after the batch file is run
  1588. you'll be disconnected from HDM IV and returned to the DOS prompt.
  1589.  
  1590. If you're using DOS 3.3 or later, @@ is replaced by the DOS call command when
  1591. the Menu Action is executed. With DOS 3.3 or later, you can optionally use
  1592. call in a Menu Action instead of @@.
  1593.  
  1594.  
  1595.  
  1596.  
  1597.  
  1598.  
  1599. If you create Menu Entries automatically (as explained in Chapter 6), HDM IV
  1600. automatically places @@ in front of batch-file commands.
  1601.  
  1602. Here's an example of a Menu Action using the Batch Function:
  1603.  
  1604. c:~cd\dsplywr4~@@dw4~
  1605.  
  1606. This Menu Action runs the batch file dw4.bat from the \dsplywr4 subdirectory
  1607. on your c: drive and returns you to HDM IV's Main Menu when you're finished.
  1608.  
  1609.  
  1610. Color Function:
  1611. {COLOR foreground-color background-color}
  1612.  
  1613. The Color Function sets the DOS screen color for the current Menu Entry. It
  1614. won't work, however, if you've loaded ansi.sys in your config.sys file. You
  1615. can use 0 to 15 as a foreground color and 0 to 7 as a background color.
  1616. Here's what the numbers mean:
  1617.  
  1618. 0=black         3=cyan          6=yellow
  1619. 1=blue          4=red           7=white
  1620. 2=green         5=magenta       8-15 are bright versions
  1621.                                 of 0-7
  1622.  
  1623. Here's an example of a Menu Action using the Color Function:
  1624.  
  1625. {color 15 1}
  1626.  
  1627. This Menu Action turns the foreground color to white and the background color
  1628. to blue and carries out DOS's Check Disk utility.
  1629.  
  1630.  
  1631. Cursor Function:
  1632. {CURSOR start-line end-line}
  1633.  
  1634. The Cursor Function sets the shape of the cursor when you leave HDM IV to run
  1635. a program, DOS command, batch file, or when you just exit to the DOS prompt.
  1636. The start-line is the top scan line of the cursor; the end-line is the bottom
  1637. scan line. The range for monochrome and EGA monitors is 0-13; the range for
  1638. CGA monitors is 0-7. Check your monitor's manual for the number of scan lines
  1639. you can use.
  1640.  
  1641. Here's an example of a Menu Action using the Cursor Function:
  1642.  
  1643. {cursor 6 7}c:~cd\wp\~wp~
  1644.  
  1645. This Menu Action sets the shape of the cursor before running the program
  1646. WordPerfect 5.0. With some Hercules-compatible video cards and monochrome
  1647. graphics monitors, WordPerfect 5.0 sets the cursor line to the middle of the
  1648. character box.
  1649.  
  1650.  
  1651.  
  1652.  
  1653.  
  1654.  
  1655. Menu Function:
  1656. {MENU #}
  1657.  
  1658. The Menu Function creates or accesses another Menu File. It's useful if you
  1659. want to include more Menu Entries in HDM IV than can fit in a single Menu
  1660. File.
  1661.  
  1662. The number of the default Menu File is 000. This is the Menu File you start
  1663. with. To create a new Menu File, you just include a number referring to it
  1664. using this Function. The number can be 001 to 999, which gives you access to
  1665. as many as 100,000 Menu Entries. The number of the Menu File that you're in
  1666. is always displayed below the Menu Page names in the Main Menu.
  1667.  
  1668. There is no limit to the Menu File chain -- the number of Menu Files you can
  1669. access in a Menu Action using this Function. Menu File HDM.001 can call Menu
  1670. File HDM.017, which can call Menu File HDM.073, and so on. To return to a
  1671. previous Menu File, you can press Esc from the Main Menu or use the Return
  1672. Function in a Menu Action, which is described next. Each Menu File can have a
  1673. different Menu Title, borders, colors, Macros, and so on (See Chapter 11).
  1674.  
  1675. Here's an example of a Menu Action using the Menu Function:
  1676.  
  1677. {menu 001}
  1678.  
  1679. This Menu action access Menu File HDM.001, or creates it if it doesn't
  1680. already exists. This gives you the ability to create 10 additional Menu
  1681. Entries on 10 additional Menu Pages, for a total of 100 additional Menu
  1682. Entries.
  1683.  
  1684.  
  1685. Return Function:
  1686. {RETURN}
  1687.  
  1688. The Return Function returns you to the previous Menu File in a Menu Action.
  1689. If you are in Menu File HDM.000, the default Menu File, HDM IV displays a
  1690. message that you are as far back as you can go in the Menu File chain.
  1691.  
  1692. Here's an example of a Menu Action using the Return Function:
  1693.  
  1694. {return}
  1695.  
  1696. This Menu Action simply returns you to the previous Menu File.
  1697.  
  1698.  
  1699. Dial Function:
  1700. {DIAL phone number}
  1701.  
  1702. The Dial Function dials a phone number if you have a Hayes-compatible modem
  1703. connected to your computer.
  1704.  
  1705. One handy way to use the Dial Function is to set up a phone number and
  1706. dialing directory. You could dedicate a separate Menu File to this directory,
  1707. with each Menu Page representing a different company, and each Menu Entry
  1708. representing a the phone number of a person in that company.
  1709.  
  1710.  
  1711.  
  1712.  
  1713.  
  1714. You can include as many as 30 characters in the phone number. Your modem will
  1715. ignore punctuation and spaces, but you may want to include them in Menu
  1716. Actions to make phone numbers easier to read.
  1717.  
  1718. Here's an example of a Menu Action using the Dial Function:
  1719.  
  1720. {dial 9,1,(123)456-7890}~
  1721.  
  1722. This Menu Action dials the specified phone number. As HDM IV sends the number
  1723. to your modem, it displays a message telling you to pick up the phone and
  1724. press a key. This disconnects the modem, allowing you to talk on the phone.
  1725.  
  1726. Before using the Dial Function, you should configure HDM IV with the correct
  1727. phone parameters. This is a 4-step process:
  1728.  
  1729. Step 1: From the Main Menu, press Alt-G, then P. (Alternately, you could
  1730. press F10 to activate the Top Menu and use the arrow and Enter keys.)
  1731.  
  1732. Step 2: Press 1, 2, 3, or 4 to choose COM1, COM2, COM3, or COM4, which
  1733. indicates the communications port that your modem is connected to.
  1734. (Alternately, you could use the arrow and Enter keys.)
  1735.  
  1736. Step 3: Press T or P to indicate whether you're using a tone or pulse type
  1737. phone. (Alternately, you could use the arrow and Enter keys.)
  1738.  
  1739. Step 4: Press F2 to save the configuration.
  1740.  
  1741.  
  1742. Exit Function:
  1743. {EXIT} or {QUIT}
  1744.  
  1745. The Exit Function exits to DOS from a Menu Action. It has the same effect as
  1746. pressing F3 or pressing Exit HDM from the Exit Menu. This Function is useful
  1747. if you want to change your drive or subdirectory before you exit to the DOS
  1748. prompt.
  1749.  
  1750. When you're finished working at the DOS prompt, just press x and Enter to
  1751. return to HDM IV.
  1752.  
  1753. Here's an example of a Menu Action using the Exit Function:
  1754.  
  1755. c:~cd\mm~dir *.doc~{exit}
  1756.  
  1757. This Menu Action changes to your \mm subdirectory on your c: drive, displays
  1758. a list of all the files in that subdirectory that end with the extension
  1759. .doc, and takes you to the DOS prompt.
  1760.  
  1761.  
  1762. Reboot Function:
  1763. {REBOOT}
  1764.  
  1765. The Reboot Function reboots your computer. It's useful in changing the setup
  1766. of your autoexec.bat and config.sys files, which you may need to do to run
  1767. Windows, Desqview, Ventura Publisher, or other programs. If you include the
  1768.  
  1769.  
  1770.  
  1771.  
  1772.  
  1773.  
  1774. startup parameter -A when loading HDM IV from the new autoexec.bat file, HDM
  1775. IV will automatically load the program.
  1776.  
  1777. Here's an example of a Menu Action using the Exit Function:
  1778.  
  1779. copy c:\autoexec.new c:\autoexec.bat~copy c:\config.new c:\config.sys~{reboot}
  1780.  
  1781. This Menu Action makes autoexec.new and config.new your autoexec.bat and
  1782. config.sys files and reboots your computer.
  1783.  
  1784. In the next chapter you learn how to save time by incorporating Macros into
  1785. Menu Actions.
  1786.  
  1787.  
  1788.  
  1789.  
  1790.  
  1791.  
  1792.                                    Chapter 9:
  1793.                         USING HDM IV MACROS TO BUILD MENUS
  1794.  
  1795. Macros in HDM IV, like macros in any program, are shortcuts that make it
  1796. easier and more efficient to carry out tasks. HDM IV Macros are used in Menu
  1797. Actions to reduce the number of keystrokes needed to create Menu Entries.
  1798.  
  1799. HDM IV Macros are simply parts of Menu Actions that you want to use for more
  1800. than one Menu Entry. Here's an example of a Macro:
  1801.  
  1802. copy *.* a:~pause~
  1803.  
  1804. Any time you refer to this Macro in a Menu Action, it will copy all the files
  1805. from your current subdirectory to your a: drive and pause when finished.
  1806.  
  1807. You can create up to 10 Macros in each of your Menu Files. Creating a Macro
  1808. is a 3-step process:
  1809.  
  1810. Step 1: Press Alt-L and M. (Alternately, you could Press F10 to activate the
  1811. Top Menu, press L, and press M, or press F10 and use the arrow and Enter
  1812. keys.)
  1813.  
  1814. Step 2: With the arrow keys move to any position -- &1 through &0 -- then
  1815. type the Macro or Macros you want, using any of HDM IV's Menu Action
  1816. Functions and up to 255 characters. The position of the Macro -- &1 through
  1817. &0 -- becomes its name.
  1818.  
  1819. Typing a letter or number on a line that already contains characters will
  1820. erase those characters. Pressing an arrow key will retain those characters,
  1821. which is helpful if you're editing an existing Macro. You can also erase a
  1822. line by pressing Ctrl-End at the beginning of the line or Ctrl-Home at the
  1823. end of the line. To restore a line to its original contents, press Ctrl-U.
  1824.  
  1825. Step 3: Press F2 to save the Macro or Macros.
  1826.  
  1827. To call an HDM IV Macro, you can use any of the following HDM IV Functions:
  1828.  
  1829.  
  1830. Macro Function:
  1831. &#
  1832.  
  1833. The Macro Function calls a Macro that you previously set up. To call a Macro
  1834. you simply use its name -- &1 through &0 -- in a Menu Action. When the Menu
  1835. Action is executed, HDM IV replaces the name of the Macro with its contents.
  1836.  
  1837. In the previous section we showed you how to set up Macros using a 3-step
  1838. process, and we provided copy *.* a:~pause~ as an example of a Macro. Here's an
  1839. example of a Menu Action using the Macro Function that calls this Macro. This
  1840. Menu Action assumes that you placed the Macro in position &1.
  1841.  
  1842. c:~cd\123~&1cd\dbase~&1cd\wp~&1
  1843.  
  1844. This Menu Action is the equivalent of the following:
  1845.  
  1846.  
  1847.  
  1848.  
  1849.  
  1850.  
  1851. c:~cd\123~copy *.* a:~pause~cd\dbase~copy *.* a:~pause~cd\wp~copy *.* a:~pause~
  1852.  
  1853. This Menu Action copies from your c: drive to your a: drive all the files in
  1854. your \123, \dbase, and \wp subdirectories and pauses after copying the files
  1855. in each subdirectory to allow you to change disks.
  1856.  
  1857.  
  1858. Macro with Parameter(s) Function:
  1859. {&# %#}
  1860.  
  1861. The Macro with Parameter(s) Function calls a Macro that you previously set up
  1862. and uses a Macro Parameter or Parameters. Macro Parameters are similar to DOS
  1863. batch-file replaceable parameters. Like Macros, Macro Parameters save
  1864. keystrokes in setting up Menu Entries.
  1865.  
  1866. Whereas a Macro calls a part of a Menu Action that you previously stored, a
  1867. Macro Parameter calls a part of the same Menu Action that the Macro Parameter
  1868. is a part of. Macro Parameters can include anything a Macro Action can except
  1869. other Macro Parameters.
  1870.  
  1871. You can use up to nine Macro Parameters in any Menu Action. Macro Parameters
  1872. are named %1 through %9. If you use more than one Macro Parameter in a Menu
  1873. Action, separate each with a space.
  1874.  
  1875. Here's an example of a Menu Action using the Macro with Parameter(s)
  1876. Function. This Menu Action assumes you placed the command copy in Macro
  1877. position &1 and the command delete in Macro position &2.
  1878.  
  1879. {&1 {?Enter file to move:} a:}~ %1 %2~&2 %1~dir %2~pause~
  1880.  
  1881. This Menu Action first prompts you with, Enter file to move:. It does this
  1882. because this Pause with Prompt Function is a nested or inner Function, and
  1883. HDM IV carries out nested Functions first and puts the result in %1. Let's
  1884. assume that you enter the file cable.rep. This Menu Action would then be the
  1885. equivalent of the following:
  1886.  
  1887. copy cable.rep a:~delete cable.rep~dir a:~pause~
  1888.  
  1889. This Menu Action copies the file cable.rep from your current subdirectory to
  1890. your a: drive, deletes the file cable.rep from your current subdirectory,
  1891. then displays a list of files on your a: drive and pauses for you to read the
  1892. list.
  1893.  
  1894.  
  1895. Parameter Function:
  1896. %#
  1897.  
  1898. The Parameter Function calls a Macro Parameter that you previously set up.
  1899.  
  1900. Here's an example of a Menu Action using the Parameter Function. This Menu
  1901. Action assumes you placed the Macro, copy c:\new\%1 c:\old\%1, in Macro
  1902. position &3.
  1903.  
  1904.  
  1905.  
  1906.  
  1907.  
  1908.  
  1909. {&3 {Enter file to move:}}~del c:\new\%1~dir c:\old~pause~
  1910.  
  1911. This Menu Action first prompts you with, Enter file to move:. Let's assume
  1912. that you enter the file budget90.wks. This Menu Action would then be the
  1913. equivalent of the following:
  1914.  
  1915. copy c:\new\budget90.wks c:\old\budget90.wks~del c:\new\budget90.wks~dir
  1916. c:\old~pause~
  1917.  
  1918. This Menu Action copies the file budget90.wks from the \new to the \old
  1919. subdirectory of your c: drive, deletes the file budget90 from the \new
  1920. subdirectory of your c: drive, displays a list of files in your \old
  1921. subdirectory, and pauses for you to read the list.
  1922.  
  1923.  
  1924. Parameter Now Function:
  1925. {%#}
  1926.  
  1927. The Parameter Now Function is identical to the Parameter Function except that
  1928. HDM IV resolves it immediately instead of executing the other Functions
  1929. first.
  1930.  
  1931. Here's an example of a Menu Action using the Parameter Now Function:
  1932.  
  1933. {&5 {?Enter subdirectory name:}}{run! dir {%1}}list {?Enter file name:}~
  1934.  
  1935. This Menu Action prompts you with, Enter subdirectory name:; displays a list
  1936. of files in the subdirectory you enter; prompts you with, Enter file name;
  1937. and displays the file you enter using the List program (See Appendix 4). &5
  1938. is an empty Macro used only to create the %1 Parameter.
  1939.  
  1940. In the next chapter you'll learn how to execute any Menu Entry, using any of
  1941. the above Macros or Functions, automatically.
  1942.  
  1943.  
  1944.  
  1945.  
  1946.  
  1947.  
  1948.                              Chapter 10:
  1949.                      AUTOMATIC COMMAND EXECUTION
  1950.  
  1951. HDM IV allows you to carry out any Menu Entry automatically through both its
  1952. Timed Execution feature and its Inactive Execute feature. The Timed Execution
  1953. feature executes a Menu Entry based on the day of the week or the date; the
  1954. Inactive Execute feature executes a Menu Entry based on the number of minutes
  1955. that have passed since you last used the keyboard or mouse.
  1956.  
  1957.  
  1958. Timed Execution
  1959.  
  1960. HDM IV will carry out a Menu Entry based on the day of the week or a date in
  1961. a month and the time of day. You can use this feature, for instance, to do a
  1962. backup with a tape backup unit or to run a communications program and
  1963. download files, without your having to be at your computer. You can have HDM
  1964. IV run as many as 10 Menu Entries this way.
  1965.  
  1966. For Timed Execution of commands to work, you must of course have your
  1967. computer turned on, and you must be in HDM IV. You can, however, be anywhere
  1968. in HDM IV, and the screen can be blanked out. Before HDM IV runs a timed
  1969. command, it indicates it is about to do so and gives you 15 seconds to cancel
  1970. the running of the command.
  1971.  
  1972. Setting up Timed Execution is a 6-step process:
  1973.  
  1974. Step 1: Press Alt-G, then T. (Alternately, you could press F10 to activate
  1975. the Top Menu, press G, and press T, or press F10 and use the arrow and Enter
  1976. keys.)
  1977.  
  1978. Step 2: Begin entering the Menu Entries you want HDM IV to execute
  1979. automatically in the Timed Execution Table provided. In the first column type
  1980. the Menu File number (000 to 999) that the Menu Entry is in.
  1981.  
  1982. Step 3: In the second column type the Menu Page letter Menu Entry number (A1
  1983. to J0).
  1984.  
  1985. Step 4: In the third column indicate the day of the week or the date of the
  1986. month when you want HDM IV to run the Menu Entry. If you want HDM IV to run
  1987. the Menu Entry on weekly basis, type W for weekly then the numbers 1 through
  1988. 7 (1=Sunday, 2=Monday, 3=Tuesday, 4=Wednesday, 5=Thursday, 6=Friday, and
  1989. 7=Saturday). You can indicate one day or as many as seven, for daily
  1990. execution. Separate the W and all the numbers with spaces. If you want HDM IV
  1991. to run the Menu Entry on a monthly basis, type M for monthly, then the date
  1992. (1 through 31, corresponding to the actual date). Separate the M and all
  1993. numbers with spaces.
  1994.  
  1995. Step 5: In the fourth column type the time of day. Use the standard 12-hour
  1996. notation, with am or pm (6:00 am, 10:00 pm) -- this is the default -- or the
  1997. 24-hour military notation, if you've chosen this as the format in your
  1998. date/time setup (See Chapter 11).
  1999.  
  2000. Step 6: Press F2 to save the Timed Execution Table.
  2001.  
  2002.  
  2003.  
  2004.  
  2005.  
  2006.  
  2007. Here's an example of a Timed Execution Table.
  2008.  
  2009. File    Entry   Days of Week or Month   Time
  2010.  
  2011. 000     A1      W 2 3 4 5 6             10:00 pm
  2012. 025     J0      M 12 24                 6:00 am
  2013.  
  2014. The first line will cause HDM IV to automatically run Menu Entry A1 from Menu
  2015. File 000 Monday through Friday at 10 pm. The second line will cause HDM IV to
  2016. automatically run Menu Entry J0 from Menu File 025 on the 12th and 24th of
  2017. each month at 6 am.
  2018.  
  2019.  
  2020. Inactive Execute
  2021.  
  2022. HDM IV will also carry out a Menu Entry based on the number of minutes that
  2023. have passed since you last used your keyboard or mouse. This feature day of
  2024. the week or a date in a month and the time of day. You can use this feature,
  2025. for instance, to automatically park the heads of your hard disk after ten
  2026. minutes of nonuse or to log off a LAN (local area network) after a half hour
  2027. of no activity.
  2028.  
  2029. Setting up Inactive Execute is a 5-step process:
  2030.  
  2031. Step 1: Press Alt-G, then I. (Alternately, you could press F10 to activate
  2032. the Top Menu, press G, and press I, or press F10 and use the arrow and Enter
  2033. keys.)
  2034.  
  2035. Step 2: Enter the number of minutes of inactivity (01 to 99) before you want
  2036. HDM IV to execute the Menu Entry.
  2037.  
  2038. Step 3: Enter the Menu File number in the which the Menu Entry is located
  2039. (000 to 999).
  2040.  
  2041. Step 4: Enter the Menu Page letter and Menu Entry number that you want HDM IV
  2042. to execute (A1 to J0).
  2043.  
  2044. Step 5: Press F2 to save Inactivate Execute entry.
  2045.  
  2046. Here's an example of a way to use the Inactive Execute feature:
  2047.  
  2048. Let's assume that the program file park.com resides in your \ut subdirectory
  2049. on your c: drive. You can create a Menu Entry to execute this program in the
  2050. usual way. This would be helpful, incidentally, if your hard drive didn't
  2051. have an autopark feature. You could use this Menu Entry to park the heads of
  2052. your hard drive before shutting off your computer for the day, which would
  2053. protect you from data loss if your hard disk were accidentally jolted.
  2054.  
  2055. Using Inactive Execute, you could also provide this same protection while
  2056. using your computer. If the Menu Entry to execute the command park.com were
  2057. A9 in Menu File 000, and you wanted HDM IV to automatically execute it after
  2058. 10 minutes of inactivity, you would simply enter these values in the Inactive
  2059. Execute pop-up window.
  2060.  
  2061.  
  2062.  
  2063.  
  2064.  
  2065.  
  2066. In the next chapter you'll learn the many ways you can customize how HDM IV
  2067. looks on the screen.
  2068.  
  2069.  
  2070.  
  2071.  
  2072.  
  2073.  
  2074.                              Chapter 11:
  2075.                    CUSTOMIZING THE HDM IV INTERFACE
  2076.  
  2077. HDM IV provides a wealth of ways to customize how it looks and works. This
  2078. allows you to personalize HDM IV to suit your individual aesthetic tastes and
  2079. computing needs.
  2080.  
  2081. The following are the ways that you can customize the HDM IV interface:
  2082.  
  2083.  
  2084. Creating a Personal Menu Title
  2085.  
  2086. HDM IV allows you to create a Personal Menu Title for each Menu File. You can
  2087. use from one to four lines for your Personal Menu Title, depending on how
  2088. you've customized your Top Line and Main Menu Panels (See below). Creating a
  2089. Personal Menu Title is a 3-step process:
  2090.  
  2091. Step 1: Press Alt-L, then T. (Alternately, you could press F10 to activate
  2092. the Top Menu, press L, and press T, or press F10 and use the arrow and Enter
  2093. keys.)
  2094.  
  2095. Step 2: Type what you want to appear in your Personal Menu Title, using any
  2096. or all of the available four lines. Each line can include up to 74
  2097. characters. You can use the User Function -- {USER} -- to display the user's
  2098. logon name, if the user was required to log on (See Chapters 8 and 14).
  2099.  
  2100. Typing a letter or number on a line that already contains characters will
  2101. erase those characters. Pressing an arrow key will retain those characters,
  2102. which is helpful if you're editing an existing Menu Title. You can also erase
  2103. a line by pressing Ctrl-End at the beginning of the line or Ctrl-Home at the
  2104. end of the line. To restore a line to its original contents, press Ctrl-U.
  2105.  
  2106. Step 3: Press F2 to save your Personal Menu Title.
  2107.  
  2108.  
  2109. Customizing the Top Line
  2110.  
  2111. HDM IV gives you three options in customizing the Top Line: (a) You can
  2112. display the current day, date, and time (provided of course you have a
  2113. clock/calendar built into your computer), (b) You can display the current
  2114. day, date, and time plus the Top Menu, and (c) You can display just the Top
  2115. Menu. You can use any of these options for each of your Menu Files.
  2116.  
  2117. Pressing the F6 key will toggle you through each of these options.
  2118. (Alternately, you could press F10 to activate the Top Menu, press L, and
  2119. press D, or press F10 and use the arrow and Enter keys.)
  2120.  
  2121.  
  2122. Changing the Date and Time Format
  2123.  
  2124. HDM IV provides a choice two date formats and two time formats that you can
  2125. use in the Top Line. You can use the American date format -- month/day/year
  2126. -- or the European -- day/month/year. You can use the standard time format --
  2127.  
  2128.  
  2129.  
  2130.  
  2131.  
  2132. hour:minute am or pm -- or the military -- hour (up to 24):minute.
  2133.  
  2134. Changing the date or time format is a 3-step process:
  2135.  
  2136. Step 1: Press Alt-G, then D. (Alternately, you could press F10 to activate
  2137. the Top Menu, press G, and press D, or press F10 and use the arrow and Enter
  2138. keys.)
  2139.  
  2140. Step 2: Use the arrow keys to highlight the new date or time format and press
  2141. Enter.
  2142.  
  2143. Step 3: Press F2 to save your choice.
  2144.  
  2145.  
  2146. Customizing the Main Menu's Panels
  2147.  
  2148. HDM IV allows you to customize the borders and the positions of Main Menu's
  2149. panels.
  2150.  
  2151. There are three separate ways to customize the panels, each of which performs
  2152. a different task. You can create a panel setup for each of your Menu Files.
  2153.  
  2154. The first way to customize the panels involves pressing Alt-L, pressing B,
  2155. using the arrow keys to highlight your choice of single lines, double lines,
  2156. bold lines, or no lines, and pressing Enter. (Alternately, you could start
  2157. this process by pressing F10 to activate the Top Menu, press L, and press B,
  2158. or press F10 and use the arrow and Enter keys.)
  2159.  
  2160. The second way involves using the F7 key to toggle through four
  2161. border-position options.
  2162.  
  2163. The third way involves using the F8 key to toggle through four panel-position
  2164. and panel-borders options. (Alternately, you could use the Alt-L and S keys.)
  2165.  
  2166.  
  2167.  
  2168.  
  2169.  
  2170.  
  2171. Choosing Your Colors
  2172.  
  2173. HDM IV allows you to change the colors of the Main Menu, the Top Line and the
  2174. Bottom Line (also called status bars), the pull-down menus, and the pop-up
  2175. windows. You can choose from predefined color palettes, or you can specify
  2176. the color of each component in a palette. The components are the foreground
  2177. color, the background color, the emphasized color, the window title color,
  2178. and the window border color.
  2179.  
  2180. Each Menu File can have its own set of colors.
  2181.  
  2182. Choosing colors is a 4-step process:
  2183.  
  2184. Step 1: Press Alt-L, then C. (Alternately, you could press F10 to activate
  2185. the Top Menu, press L, and press C, or press F10 and use the arrow and Enter
  2186. keys.)
  2187.  
  2188. Step 2: Choose the item whose color you want to change by pressing M (Main
  2189. Menu); 1, 2, or 3 (level of pop-up windows), or S (Top Line and Bottom Line).
  2190. (Alternately, you could use the arrow and Enter keys.)
  2191.  
  2192. Step 3: If you choose the status bar, use the up or down arrow keys to select
  2193. foreground or background, then use the right or left arrow keys to select the
  2194. colors. Press F2 to save your choice.
  2195.  
  2196. Step 4: If you choose the Main Menu or the pop-up windows, you can select a
  2197. predefined color palette by pressing the first letter of the palette
  2198. (S,B,G,C,R,M,Y,W,U). (Alternately, you could use the arrow and Enter keys.)
  2199.  
  2200. Alternately, you can select a user-defined palette by choosing colors for
  2201. each of the five components. Press the first letter of the component
  2202. (E,F,W,T,B) you want to change. (Alternately, you could use the arrow and
  2203. Enter keys.) Then use the right or left arrow keys to choose the color you
  2204. want. Press F2 to save your choices.
  2205.  
  2206.  
  2207. Preserving Your Monitor
  2208.  
  2209. Some monitors may become permanently imprinted with ghost images if the same
  2210. image remains on the screen for long periods of time. HDM IV prevents this
  2211. from happening through its Screen Save feature, which automatically blanks
  2212. the screen after a predefined period of inactivity. You can optionally have
  2213. HDM IV display a message of your choice that moves around the screen,
  2214. indicating that the screen has been blanked out.
  2215.  
  2216. To restore a screen that is blanked out, all you have to do is press any key.
  2217. HDM IV's Screen Save feature is active in all Menu Files.
  2218.  
  2219. Activating the Screen Save feature is a 4-step process:
  2220.  
  2221. Step 1: Press Alt-G, then S. (Alternately, you could press F10 to activate
  2222. the Top Menu, press G, and press S, or press F10 and use the arrow and Enter
  2223. keys.)
  2224.  
  2225.  
  2226.  
  2227.  
  2228.  
  2229.  
  2230. Step 2: Enter a number from 1 to 99 representing the time of screen
  2231. inactivity after which HDM IV will blank the screen. If you enter 0, the
  2232. Screen Save feature will be disabled, and HDM IV will not blank your screen.
  2233.  
  2234. Step 3: Enter your Screen Save message, which may be up to 80 characters
  2235. long. If you leave the message field blank, no Screen Save message will be
  2236. displayed.
  2237.  
  2238. Step 4: Press F2 to save the Screen Save information.
  2239.  
  2240.  
  2241. Customizing the Cursor
  2242.  
  2243. HDM IV allows you to change the blinking rate of the cursor, which affects
  2244. all Menu Files.
  2245.  
  2246. Changing the cursor blink rate is a 3-step process:
  2247.  
  2248. Step 1: Press Alt-G, then B. (Alternately, you could press F10 to activate
  2249. the Top Menu, press G, and press B, or press F10 and use the arrow and Enter
  2250. keys.)
  2251.  
  2252. Step 2: Enter a number from 0 to 99. The lower the number, the slower the
  2253. blink rate. If you enter 0, the cursor will not blink at all.
  2254.  
  2255. Step 3: Press F2 to save your choice.
  2256.  
  2257.  
  2258. Customizing Your Mouse
  2259.  
  2260. HDM IV allows you to change the motion sensitivity of your mouse, both
  2261. horizontally and vertically. These changes affect all Menu Files.
  2262.  
  2263. Changing your mouse sensitivity is a 3-step process:
  2264.  
  2265. Step 1: Press Alt-G, then M. (Alternately, you could press F10 to activate
  2266. the Top Menu, press G, and press M, or press F10 and use the arrow and Enter
  2267. keys.)
  2268.  
  2269. Step 2: Enter a number from 0 to 99 for both the horizontal and vertical
  2270. sensitivity. The lower the number, the slower the mouse speed and the lesser
  2271. the mouse sensitivity.
  2272.  
  2273. Step 3: Press F2 to save your choice.
  2274.  
  2275. In the next chapter, you'll learn how to use HDM IV in a network setup.
  2276.  
  2277.  
  2278.  
  2279.  
  2280.  
  2281.  
  2282.                              Chapter 12:
  2283.                            NETWORK SUPPORT
  2284.  
  2285. HDM IV can be set up on common LANs (local area networks), including Novell,
  2286. Token Ring, and TOPS.
  2287.  
  2288. In a network setup, you can use HDM IV in two ways. First, you can simply
  2289. install a copy on each individual work station (Please be sure you pay the
  2290. appropriate licensing fee). In this case, because each user has his or her
  2291. own copy, HDM IV can be installed and used normally.
  2292.  
  2293. Second, you can install one copy of HDM IV on a network file server (Once
  2294. again, please pay the appropriate licensing fee). In this case, because one
  2295. copy of HDM IV is shared among users, you should undertake certain procedures
  2296. in installing HDM IV and setting up Menus.
  2297.  
  2298.  
  2299. Both HDM IV and Menus Are Shared
  2300.  
  2301. You can install HDM IV on a network file server in three ways. First, you can
  2302. arrange for all users to share the same Menu Files and Menu Entries. In this
  2303. case, you should password protect or hide the Top Menu so that only you, as
  2304. the network administrator, can alter Menu Files, Menu Pages, and Menu
  2305. Entries.
  2306.  
  2307. You should ensure that each user's x.bat is stored in the user's own
  2308. subdirectory. This prevents users from writing over the x.bat file of other
  2309. users. You can accomplish this by having each user start HDM IV with the -W
  2310. parameter and including the subdirectory where x.bat is stored in the path
  2311. statement of the user's autoexec.bat file.
  2312.  
  2313. Here's an example of an autoexec.bat for a user in a network setup sharing
  2314. HDM IV and its Menus:
  2315.  
  2316. path=c:\owndir;d:\
  2317. d:
  2318. cd \hdm
  2319. hdm -Wc:\owndir
  2320.  
  2321.  
  2322. HDM IV Is Shared, Menus Are Not Shared
  2323.  
  2324. The second way to install HDM IV on a network file server is to arrange for
  2325. users to have their own Menu Files and Menu Entries. In this case, you don't
  2326. have to password protect or hide the Top Menu. You do, however, have to
  2327. include both the -W parameter and -T parameters in each user's startup
  2328. sequence.
  2329.  
  2330. As the last section explained, the -W parameter ensures that each user's
  2331. x.bat file is stored in his or her own subdirectory. The -T parameter, on the
  2332. other hand, specifies the path where each user's Menu Files are stored.
  2333.  
  2334. Here's an example of an autoexec.bat for a user in a network setup sharing
  2335.  
  2336.  
  2337.  
  2338.  
  2339.  
  2340.  
  2341. HDM IV but using his or her own Menus:
  2342.  
  2343. path=c:\owndir;d:\
  2344. d:
  2345. cd \hdm
  2346. hdm -Tc:\owndir -Wc:\owndir
  2347.  
  2348.  
  2349. HDM IV Is Shared, Some Menus Are Shared and Some Are Not
  2350.  
  2351. The third way to install HDM IV on a network file server is to arrange for
  2352. users to share some Menu Files and Menu Entries and to have some that
  2353. personalized to their needs. You can accomplish this by using the -W
  2354. parameter and the -0 to -9 parameters.
  2355.  
  2356. The -0 to -9 parameters specify where groups of one hundred Menu Files are
  2357. stored. One group, for example, can reside on a user's own hard disk -- for
  2358. personalized Menu Files and Menu Entries; another group can reside on the
  2359. network hard disk -- for shared Menu Files and Menu Entries.
  2360.  
  2361. Here's an example of an autoexec.bat for a user in a network setup sharing
  2362. HDM IV, sharing some Menu, and having some personalized Menus:
  2363.  
  2364. path=c:\owndir;d:\
  2365. d:
  2366. cd \hdm
  2367. hdm -0c:\owndir -9d:\hdm -Wc:\owndir
  2368.  
  2369.  
  2370.  
  2371.  
  2372.  
  2373.  
  2374.                              Chapter 13:
  2375.                          PASSWORD PROTECTION
  2376.  
  2377. HDM IV provides many types of security to protect against the unauthorized
  2378. use of HDM IV or the unauthorized use or alteration of particular features of
  2379. HDM IV. If you're using HDM IV on a stand-alone computer, and no one else is
  2380. using your computer, you may not need to use these security features. If, on
  2381. the other extreme, you're a network administrator, you'll likely find HDM
  2382. IV's security features very useful.
  2383.  
  2384. HDM IV allows you to password protect the using of HDM IV in any way, the
  2385. using of any Menu Entry in a particular Menu File, the changing of any Menu
  2386. Entry in a particular Menu File, the using of individual Menu Pages, the
  2387. using of individual Menu Entries, and the using of the Top Menu. In addition,
  2388. you can hide the Top Menu.
  2389.  
  2390. Password protecting an HDM IV feature means that a user must know the
  2391. particular password for that feature in order to use or change it. You can
  2392. create passwords for any HDM IV feature you want to protect, plus a Master
  2393. Password that will override any other password.
  2394.  
  2395.  
  2396. Creating a Master Password
  2397.  
  2398. The first thing you should do when setting up password protection in HDM IV
  2399. is create a Master Password that can override any password. This makes it
  2400. possible for you to get past forgotten passwords or passwords that others
  2401. create without telling you.
  2402.  
  2403. Creating a Master Password is a 2-step process:
  2404.  
  2405. Step 1: Press Alt-S, then M. (Alternately, you could press F10 to activate
  2406. the Top Menu, press S, and press M, or press F10 and use the arrow and Enter
  2407. keys.)
  2408.  
  2409. Step 2: Type in the Master Password you'd like, using up to 10 characters,
  2410. and press Enter. HDM IV will ask you to type the password again for
  2411. verification, then press Enter again.
  2412.  
  2413. NOTE: Be sure you write down or remember your Master Password, since there's
  2414. no way to recover from a lost or forgotten Master Password.
  2415.  
  2416. If you want to change your Master Password, repeat Step 1, then type the old
  2417. Master Password, press Enter, and type the new Master Password twice,
  2418. pressing Enter after each time.
  2419.  
  2420.  
  2421. Password Protecting the Use of HDM IV
  2422.  
  2423. HDM IV allows you to create passwords that any user of HDM IV must type
  2424. before being able to use any feature of HDM IV. To give users their own
  2425. passwords, you must first set up a User ID Table. This is a 7-step process:
  2426.  
  2427.  
  2428.  
  2429.  
  2430.  
  2431.  
  2432. Step 1: Press Alt-S, then U. (Alternately, you could press F10 to activate
  2433. the Top Menu, press S, and press U, or press F10 and use the arrow and Enter
  2434. keys.)
  2435.  
  2436. Step 2: Press Ins.
  2437.  
  2438. Step 3: Type your name or the name of another user, then press Enter. You can
  2439. include up to 99 users in the User ID Table. Each name can be up to 25
  2440. characters long.
  2441.  
  2442. Step 4: Type the Menu File number you plan to start with, or press Enter if
  2443. it's the default Menu File (000). In a network setup, this allows different
  2444. users to start with different Menu Files.
  2445.  
  2446. Step 5: Press F2 to save the information.
  2447.  
  2448. Step 6: Optionally, you can type a password for the user, using up to 10
  2449. characters, and press Enter. HDM IV will ask you to type the password again
  2450. for verification, then press Enter again.
  2451.  
  2452. Step 7: Press F2 to save the information.
  2453.  
  2454. From the first time you add a name to the User ID Table, anyone who wants to
  2455. use HDM IV will have to first log on to HDM IV with his or her name and
  2456. password (if a password was set up). If a user wants to temporarily exit HDM
  2457. IV, however, the user can still return to HDM IV by typing x.
  2458.  
  2459. To remove a user from the User ID Table, repeat Step 1. Then move the cursor
  2460. to the user you want to remove, press Del, type the user's password (if he or
  2461. she has one) and press Enter, and press F2 to save the changes.
  2462.  
  2463.  
  2464. Password Protecting the Use of All the Menu Entries in a Menu File
  2465.  
  2466. You may want to create Menu Files whose Menu Entries you'd like only certain
  2467. users to be able to use. Password protecting the use of all the Menu Entries
  2468. in a Menu File is a 3-step process:
  2469.  
  2470. Step 1: Move to the Menu File whose Menu Entries you want to password
  2471. protect.
  2472.  
  2473. Step 2: Press Alt-S, then Enter. (Alternately, you could press F10 to
  2474. activate the Top Menu, press S, and press Enter, or press F10 and use the
  2475. arrow and Enter keys.)
  2476.  
  2477. Step 3: Type in the password you'd like for the Menu Entries in the Menu
  2478. File, using up to 10 characters, and press Enter. HDM IV will ask you to type
  2479. the password again for verification, then press Enter again.
  2480.  
  2481. If you want to change or delete the password of a Menu File that's already
  2482. password protected, repeat Steps 1 and 2, then type the old password and
  2483. press Enter, and type the new password and press Enter or press Esc to remove
  2484. password protection.
  2485.  
  2486.  
  2487.  
  2488.  
  2489.  
  2490.  
  2491. All the Menu Entries in a Menu File that's password protected appear in the
  2492. Main Menu in bold type on a monochrome monitor or in enhanced color on a
  2493. color monitor.
  2494.  
  2495.  
  2496. Password Protecting the Changing of All the Menu Entries in a Menu File
  2497.  
  2498. Rather than password protecting the use of all the Menu Entries in a Menu
  2499. File, you may want to password only the changing of those Menu Entries.
  2500. Password protecting the changing of all the Menu Entries in a Menu File is a
  2501. 3-step process:
  2502.  
  2503. Step 1: Move to the Menu File whose Menu Entries you want to password
  2504. protect.
  2505.  
  2506. Step 2: Press Alt-S, then F. (Alternately, you could press F10 to activate
  2507. the Top Menu, press S, and press F, or press F10 and use the arrow and Enter
  2508. keys.)
  2509.  
  2510. Step 3: Type in the password you'd like for protecting against changes in the
  2511. Menu File, using up to 10 characters, and press Enter. HDM IV will ask you to
  2512. type the password again for verification, then press Enter again.
  2513.  
  2514. If you want to change or delete the password of a Menu File that's already
  2515. password protected, repeat Steps 1 and 2, then type the old password and
  2516. press Enter, and type the new password and press Enter or press Esc to remove
  2517. password protection.
  2518.  
  2519.  
  2520.  
  2521.  
  2522.  
  2523.  
  2524. Password Protecting All the Menu Entries of a Menu Page
  2525.  
  2526. Rather than password protecting all the Menu Entries of a Menu File, you may
  2527. want to password protect the use or changing of only the Menu Entries on one
  2528. or more Menu Pages. Password protecting a Menu Page is a 3-step process:
  2529.  
  2530. Step 1: Press Alt-S, then P. (Alternately, you could press F10 to activate
  2531. the Top Menu, press S, and press P, or press F10 and use the arrow and Enter
  2532. keys.)
  2533.  
  2534. Step 2: Move to the Menu Page whose Menu Entries you want to password
  2535. protect.
  2536.  
  2537. Step 3: Type in the password you'd like for the Menu Page, using up to 10
  2538. characters, and press Enter. HDM IV will ask you to type the password again
  2539. for verification, then press Enter again.
  2540.  
  2541. If you want to change or delete the password of a Menu Page that's already
  2542. password protected, repeat Steps 1 and 2, then type the old password and
  2543. press Enter, and type the new password and press Enter or press Esc to remove
  2544. password protection.
  2545.  
  2546. All the Menu Entries in a Menu File that's password protected appear in the
  2547. Main Menu in bold type on a monochrome monitor or in enhanced color on a
  2548. color monitor.
  2549.  
  2550.  
  2551. Password Protecting Individual Menu Entries
  2552.  
  2553. HDM IV also allows you to password protect individual Menu Entries. This is a
  2554. 3-step process:
  2555.  
  2556. Step 1: Press Alt-F1. (Alternately, you could press F10 to activate the Top
  2557. Menu, press S, and press S, or press F10 and use the arrow and Enter keys.)
  2558.  
  2559. Step 2: Move to the Menu Entry you want to password protect.
  2560.  
  2561. Step 3: Type in the password you'd like for the Menu Entry, using up to 10
  2562. characters, and press Enter. HDM IV will ask you to type the password again
  2563. for verification, then press Enter again.
  2564.  
  2565. If you want to change or delete the password of a Menu Entry that's already
  2566. password protected, repeat Steps 1 and 2, then type the old password and
  2567. press Enter, and type the new password and press Enter or press Esc to remove
  2568. password protection.
  2569.  
  2570. All Menu Entries that are password protected appear in bold type in the Main
  2571. Menu.
  2572.  
  2573.  
  2574. Password Protecting the Use of the Top Menu
  2575.  
  2576. To prevent unauthorized users from making changes to Menu Entries and Menu
  2577.  
  2578.  
  2579.  
  2580.  
  2581.  
  2582.  
  2583. Pages and from otherwise altering HDM IV, you can password protect the Top
  2584. Menu. This is a 2-step process:
  2585.  
  2586. Step 1: Press Alt-S, then T. (Alternately, you could press F10 to activate
  2587. the Top Menu, press S, and press T, or press F10 and use the arrow and Enter
  2588. keys.)
  2589.  
  2590. Step 2: Type in the password you'd like for the Top Menu, using up to 10
  2591. characters, and press Enter. HDM IV will ask you to type the password again
  2592. for verification, then press Enter again.
  2593.  
  2594. If you want to change or delete the password of the Top Menu if it's already
  2595. password protected, repeat Step 1, then type the old password, press Enter,
  2596. and type the new password and press Enter or press Esc to remove password
  2597. protection.
  2598.  
  2599.  
  2600. Hiding the Top Menu
  2601.  
  2602. Hiding the Top Menu provides even more protection than password protecting
  2603. the Top Menu. Hiding the Top Menu prevents unauthorized users from displaying
  2604. the Top Menu and pulling down any of its menus. It also prevents unauthorized
  2605. users from accessing the Help Menu when pressing F1. Pressing F1 will only
  2606. access the Help Screen for moving around the Main Menu.
  2607.  
  2608. Hiding the Top Menu is a 2-step process:
  2609.  
  2610. Step 1: Press Alt-S, then H. (Alternately, you could press F10 to activate
  2611. the Top Menu, press S, and press H, or press F10 and use the arrow and Enter
  2612. keys.)
  2613.  
  2614. Step 2: Type in the password you'd like for hiding the Top Menu, using up to
  2615. 10 characters, and press Enter. HDM IV will ask you to type the password
  2616. again for verification, then press Enter again.
  2617.  
  2618. If you want to change or delete the password for hiding the Top Menu if it's
  2619. already password protected, you must first type /unhide from the Main Menu
  2620. and press Enter. Then enter the old password, repeat Step 1, enter the old
  2621. password again, press Enter, and type the new password and press Enter or
  2622. press Esc to remove password protection.
  2623.  
  2624.  
  2625.  
  2626.  
  2627.  
  2628.  
  2629. Password Protecting an Individual Pull-Down Menu Entry
  2630.  
  2631. Instead of password protecting the entire Top Menu or hiding it, you can
  2632. password protect an individual pull-down menu entry. You may, for example,
  2633. want to password protect the exiting from HDM IV.
  2634.  
  2635. Password protecting an individual pull-down menu entry is a 4-step process:
  2636.  
  2637. Step 1: Pull down the pull-down menu that contains the entry you want to
  2638. password protect. Press Alt-M for Menu, Alt-P for Page, Alt-S for Security,
  2639. Alt-G for Global, or Alt-X for Exit. (Alternately, you could press F10 to
  2640. activate the Top Menu and press M, P, S, G, or X, or press F10 and use the
  2641. arrow and Enter keys.)
  2642.  
  2643. Step 2: Highlight the individual pull-down menu item you want to password
  2644. protect. The pull-down menu item you want may already be highlighted. If not,
  2645. use the up or down arrow keys to move the cursor to the desired entry.
  2646.  
  2647. Step 3: Press Alt-F1.
  2648.  
  2649. Step 4: Type in the password you'd like for the entry, using up to 10
  2650. characters, and press Enter. HDM IV will ask you to type the password again
  2651. for verification, then press Enter again.
  2652.  
  2653. If you want to change or delete the password of the pull-down menu entry if
  2654. it's already password protected, repeat Steps 1 through 3, then type the old
  2655. password, press Enter, and type the new password and press Enter or press Esc
  2656. to remove password protection.
  2657.  
  2658.  
  2659.  
  2660.  
  2661.  
  2662.  
  2663.                              Appendix 1:
  2664.                    UPDATING FROM A PREVIOUS VERSION
  2665.  
  2666. HDM IV allows you to update from a previous version and still retain the Menu
  2667. Entries you've created.
  2668.  
  2669. To update, place the HDM IV disk in your a: (floppy) drive. Make sure you're
  2670. at the DOS prompt and that you're working from your a: drive. Then type this
  2671. line and press Enter:
  2672.  
  2673. update c:\hdm
  2674.  
  2675. If c:\hdm is not the name of your HDM subdirectory, substitute the
  2676. appropriate name.
  2677.  
  2678.  
  2679.  
  2680.  
  2681.  
  2682.  
  2683.                              Appendix 2:
  2684.                         HDM IV ERROR MESSAGES
  2685.  
  2686. The following is a list of error messages you might receive, and what they
  2687. mean:
  2688.  
  2689. 007     CAN NOT CHANGE COLORS ON A MONOCHROME MONITOR!
  2690.  
  2691. You have a monochrome monitor, or you started HDM with the -V parameter to
  2692. force monochrome mode because of a unreadable screen.
  2693.  
  2694. 010     ERROR OPENING "FILE NAME"
  2695.  
  2696. HDM IV couldn't open the specified file.
  2697.  
  2698. 020     ERROR READING "FILE NAME"
  2699.  
  2700. HDM IV couldn't read the specified file.
  2701.  
  2702. 030     ERROR WRITING "FILE NAME"
  2703.  
  2704. HDM IV couldn't write (store) the specified file to disk.
  2705.  
  2706. 040     ERROR CLOSING "FILE NAME"
  2707.  
  2708. HDM IV couldn't close the specified file.
  2709.  
  2710. 310     WRONG PASSWORD!
  2711.  
  2712. You entered the wrong password for a password-protected Menu Entry.
  2713.  
  2714. 322     UNKNOWN USER!
  2715.  
  2716. You tried to log on with a user name that's not in the User ID Table.
  2717.  
  2718. 333     ALREADY AT MAXIMUM NUMBER OF USERS!
  2719.  
  2720. The User ID Table is full. A maximum of 32 users may use HDM IV at the same
  2721. time.
  2722.  
  2723. 590     NUMBER TO DIAL EXCEEDS 30 CHARACTERS!
  2724.  
  2725. The Dial Function has a 30-character phone number limit.
  2726.  
  2727.  
  2728.  
  2729.  
  2730.  
  2731.  
  2732. 599     PICK UP PHONE, THEN PRESS A KEY!
  2733.  
  2734. HDM IV displays this message after the dialing sequence is sent to your modem
  2735. from the Dial Function. You should pick up the telephone to talk to the
  2736. person you called. When you press a key, HDM IV disconnects the modem from
  2737. the phone line, allowing you to continue with your phone conversation.
  2738.  
  2739. 661     ERROR READING HDM.??? FILE!
  2740.  
  2741. HDM IV couldn't find the HDM.000 through HDM.999 file in the current
  2742. subdirectory or the subdirectory specified by the -T parameter or the -0 to
  2743. -9 parameters.
  2744.  
  2745. 699     DISK DRIVE NOT READY!
  2746.  
  2747. HDM IV displays this error message when you use the Check Function and the
  2748. disk being checked isn't ready.
  2749.  
  2750. 834     PAGE LETTER NOT A - J!
  2751.  
  2752. The Menu Page you import must be in the A through J range.
  2753.  
  2754. 909     ACTION EXCEEDS 255 CHARACTERS
  2755.  
  2756. You exceeded the character size limit in a Menu Action, Prompt response,
  2757. Macro, or Parameter.
  2758.  
  2759. 951     CANCELED, UNBALANCED {BRACES} IN ACTION TEXT!
  2760.  
  2761. HDM IV stopped the execution of the Menu Action when the number of left and
  2762. right braces didn't match.
  2763.  
  2764. 953     CANCELED, &MACRO CALLS ITSELF!
  2765.  
  2766. HDM IV stopped the execution of the Menu Action because the Macro called
  2767. itself and would have resulted in a loop.
  2768.  
  2769. 954     CANCELED, %PARAMETER CALLS ITSELF!
  2770.  
  2771. HDM IV stopped the execution of the Menu Action because the Macro Parameter
  2772. called itself and would have resulted in a loop.
  2773.  
  2774.  
  2775.  
  2776.  
  2777.  
  2778.  
  2779.                              Appendix 3:
  2780.                           TECHNICAL SUPPORT
  2781.  
  2782. If you've purchased a registered copy of HDM IV, you are eligible to receive
  2783. telephone Technical Support.  The phone number will be supplied in the
  2784. printed manual that comes with the complete registered version of HDM IV.
  2785.  
  2786. Before phoning, we suggest you first look at the index, table of contents, or
  2787. Appendix B of this manual, to find out if your question has already been
  2788. answered.
  2789.  
  2790. You can also contact Jim through CompuServe (ID: 73057,3113).  Leave a mail
  2791. message and Jim will reply to it.  You can also contact Jim at MicroFox Co.
  2792. through the mail:  P.O. Box 447, Richfield, Ohio, 44286-0447, USA.
  2793.  
  2794.  
  2795.  
  2796.  
  2797.                              Appendix 4:
  2798.                        ADDITIONAL PROGRAM: LIST
  2799.  
  2800. In addition to HDM IV, we've also provided another program on your disk. List
  2801. is a handy replacement for both DOS's type command and its print command. You
  2802. can use it to display or print any ASCII text file.
  2803.  
  2804. Unlike DOS's type command, List displays a file one screen at a time. To read
  2805. the next screen, all you have to do is press any key. To return to the DOS
  2806. prompt, just press Esc.
  2807.  
  2808. When used to print a file, List can add a left margin, print a header on each
  2809. page, adjust for the size of the printed pages, and print multiple copies.
  2810.  
  2811. The following is the syntax you use:
  2812.  
  2813. list [drive:\path\filename] [-p] [-m##] [-n] [-l###] [-c###]
  2814.  
  2815. If you don't enter the file name on the command line, List will ask for it.
  2816.  
  2817. -P will print the file -- the default is to display it on the screen.
  2818.  
  2819. -M and a number from 0 to 99 will print a left margin of that many spaces.
  2820.  
  2821. -N will not print headers on each page -- the default is to print headers.
  2822.  
  2823. -L and a number (1 to 250) tells List how many lines to print before a form
  2824. feed. -L0 tells List not issue any form feeds, that is, to continuously
  2825. print, and without any headers. The default is 60 lines.
  2826.  
  2827. -C and a number from 1 to 250 tells List how many copies to print -- the
  2828. default is 1.
  2829.  
  2830.  
  2831.                             The Authors
  2832.  
  2833. Jim Hass, the author of HDM IV, is a computer programmer who lives in
  2834. Richfield, Ohio. Jim is president of MicroFox Co., a software development
  2835. company, a member of the Association of Shareware Professionals, and a
  2836. certified data processor. (CDP)
  2837.  
  2838. Jim first wrote HDM using Basic in 1982 (HDM 1.0 to 2.1). HDM II, written in
  2839. Turbo Pascal 1.0, appeared in 1984 (HDM II 1.0 to 4.4). This was followed by
  2840. HDM III, written in Turbo Pascal 3.0, in 1986 (HDM III 1.0 to 3.0). And
  2841. latest version of HDM, HDM IV, written in Turbo Pascal 5.0, made its debut in
  2842. 1988  (HDM IV 1.0 to 2.0).
  2843.  
  2844. Reid Goldsborough, the author of this manual, is a freelance writer and
  2845. computer and publishing consultant who lives in Philadelphia. Reid reviews
  2846. software for computer magazines; has written XyMacros, a shareware macro
  2847. collection for the word processor XyWrite; consults with writers and desktop
  2848. publishers buying and learning home computer systems; and has written for
  2849. national magazines and local publications.
  2850.  
  2851.