home *** CD-ROM | disk | FTP | other *** search
/ The CDPD Public Domain Collection for CDTV 3 / CDPDIII.bin / pd / utilities / dirutils / megad / megad.tutorial < prev    next >
Encoding:
Text File  |  1992-09-13  |  384.7 KB  |  7,788 lines

  1.  
  2.  
  3.  
  4.  
  5.                                                              Introduction 1
  6.  
  7.  
  8.                  MegaD 2.00 Tutorial, Copyright © 1992 John L. Jones
  9.                                 All Rights Reserved.
  10.           ----------------------------------------------------------------
  11.  
  12.                               Written By, John L. Jones
  13.  
  14.  
  15.  
  16.  
  17.  
  18.  
  19.           Special thanks goes to:
  20.  
  21.           Ron Sudweeks
  22.  
  23.           Who spent much time going over this tutorial.  And then spending
  24.           more time with me, helping me to correct the many errors he had 
  25.           found.  Ron also deserves credit for many suggesting that lead to
  26.           many improvements to the program itself.
  27.  
  28.  
  29.           Roger Nedel
  30.  
  31.           Who had all the qualities needed to test this tutorial.  He was
  32.           totally new to MegaD and he had an Amiga Computer.  Little did I
  33.           know how great the bargain was that I had gotten.  A few days
  34.           later I received a 27 page document which included many needed
  35.           corrections, suggestions and additions.  Along with this
  36.           information he included journal entries that helped me to see
  37.           where the tutorial had failed in teaching the functions of MegaD
  38.           to a new user.
  39.  
  40.  
  41.  
  42.           I claim all responsibility for any errors left within this
  43.           document. The above mentioned people deserve credit for the many
  44.           refinements they made upon this document.
  45.  
  46.           John L. Jones
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.                               MegaD 2.00  Tutorial, Copyright © 1992
  59.  
  60.  
  61.  
  62.  
  63.  
  64.                                                              Introduction 2
  65.  
  66.  
  67.                                     Introduction
  68.                                    ==============
  69.  
  70.                               MegaD, is without question, a unique
  71.                               directory utility.  It does not play by the
  72.                               old rules set by the gambit of directory
  73.                               utilities. 
  74.  
  75.                               The standard directory utility allows only
  76.                               one source directory and one destination
  77.                               directory and usually places the two
  78.                               available directories in list side by side. 
  79.                               MegaD can emulate this type of mode if you
  80.                               need it but this limited mode of left and
  81.                               right Directory Windows restricts many of the
  82.                               unique features of MegaD.  Features such as
  83.                               the ability to copy files from more than one
  84.                               source directory, The ability to copy source
  85.                               files to multiple destinations.  The ability
  86.                               to copy from multiple source to multiple
  87.                               destinations.  The same flexibility is given
  88.                               to all of the commands within MegaD. 
  89.                               Commands such as Copy As, Duplicate, Move,
  90.                               Move as, Rename, Delete, Comments, Set
  91.                               Protect....
  92.  
  93.                               This concept of not being restricted to just
  94.                               one or two windows is used throughout MegaD. 
  95.                               You are allowed multiple text windows open at
  96.                               one time.  The only thing that will limit you
  97.                               with MegaD is your available system memory.
  98.  
  99.                               Due to the uniqueness of MegaD it was decided
  100.                               that to give you, the user, a better
  101.                               understanding of it features, a tutorial
  102.                               would be beneficial.  Thus this text was
  103.                               written.  You may want to jump right into
  104.                               MegaD after looking over the MegaD.Doc file. 
  105.                               Or you may want too take the step by step
  106.                               approach that this file offers.
  107.  
  108.                               I will show how to use the built in
  109.                               functions of MegaD, how to add new function
  110.                               to MegaD, and how to teach and train MegaD to
  111.                               do new tricks, MegaD has the ability to be
  112.                               trained to use any external program.  I will
  113.                               be starting from the very basic commands that
  114.                               require only one file to be selected.  I will
  115.                               move on from there to show you how functions
  116.  
  117.                               MegaD 2.00  Tutorial, Copyright © 1992
  118.  
  119.  
  120.  
  121.  
  122.  
  123.                                                              Introduction 3
  124.  
  125.                               such as copy and move work that require both
  126.                               a source and a destination directory.  With
  127.                               copy and move we will also show you how to
  128.                               copy from one or more source directories to a
  129.                               multiple of destination directories.  You
  130.                               will be shown how to filter the information
  131.                               in the Directory Window so that you will be
  132.                               able to reduce large directory listings to a
  133.                               manageable size by using different file
  134.                               attributes.  We will then move on to showing
  135.                               you how to train MegaD to launch your
  136.                               favorite utilities
  137.  
  138.                               During this tutorial I am going to assume
  139.                               that you are using MegaD in the same state
  140.                               that it was in the first time you ran it.  In
  141.                               other words it will be using it's own built
  142.                               in defaults.  There are so many ways that
  143.                               MegaD can be configured that it would be
  144.                               confusing to describe it all within this
  145.                               text.
  146.  
  147.                               I learned how to use MegaD as I wrote it.  In
  148.                               it's current state I have found it to be so
  149.                               versatile that there is little that it will
  150.                               not do.  I hope that with a little ground
  151.                               work, you will be able to maneuver and
  152.                               perform any function that you wish.  I will
  153.                               only attempt to give you the very basics. 
  154.                               With this and a little imagination you should
  155.                               be able do more with it each time you run
  156.                               MegaD.  MegaD is one of those programs that
  157.                               is made for the user to mold to his likes.
  158.  
  159.                               This is brief outline of how this tutorial is
  160.                               laid out.
  161.  
  162.      MegaD Windows            This section is about the different windows
  163.                               used within MegaD.  This section is not
  164.                               really a tutorial but a necessary discussion
  165.                               of how the windows used within MegaD work and
  166.                               the main functions of those windows.
  167.  
  168.      Simple Commands 
  169.      And MegaD                We will start with the simple commands that
  170.                               require one open Directory Window to perform
  171.                               a task.
  172.  
  173.      Source and Destination 
  174.  
  175.  
  176.                               MegaD 2.00  Tutorial, Copyright © 1992
  177.  
  178.  
  179.  
  180.  
  181.  
  182.                                                              Introduction 4
  183.  
  184.      Commands                 We will move on to commands that require more
  185.                               than one Directory Window open to the screen
  186.                               at one time.  Commands such as 'Copy' and
  187.                               'Move' require source and destination
  188.                               directories.
  189.  
  190.      Filters and 
  191.      Pattern Matching         This section describes the unique and
  192.                               powerful 'Filters', 'Sel/Clr Pattern'
  193.                               (Select/Clear Patterns) and 'Find' functions
  194.                               of MegaD.  All three use a powerful
  195.                               requestor that allows you to use 1 to 5
  196.                               filters at one time.
  197.  
  198.      AutoBoots                This is the where you take MegaD to school
  199.                               and teach it new tricks.  You will be able to
  200.                               train MegaD to recognize any data file and
  201.                               match it to a program file that can handle
  202.                               the data file.
  203.  
  204.      Program Control Window   This is a detour that we will have to take in
  205.                               order to fully understand how to create an
  206.                               'AutoBoot'.  We will also use what we learn
  207.                               in this section with 'User Gadgets' and 'Menu
  208.                               Sets'.
  209.  
  210.      Back To Adding 
  211.      AutoBoots                After the above described detour we will
  212.                               finish off the discussion on AutoBoots.
  213.  
  214.      User Gadgets             We will learn how to add new commands to the
  215.                               existing commands found on the 'Keypad
  216.                               Command Gadgets' of the 'Control Window'.
  217.  
  218.      Menu Sets                Here, we will add a new 'Menu Set' that we
  219.                               will be able to access within the MegaD
  220.                               'Utility' menu.
  221.  
  222.      Export File              MegaD will create files suitable to create a
  223.                               database of programs and files.  This export
  224.                               file works with other existing database
  225.                               programs.
  226.  
  227.  
  228.  
  229.  
  230.  
  231.  
  232.  
  233.  
  234.  
  235.                               MegaD 2.00  Tutorial, Copyright © 1992
  236.  
  237.  
  238.  
  239.  
  240.  
  241.                                                              Introduction 5
  242.  
  243.  
  244.      MegaD Preferences        MegaD has many user definable preferences
  245.                               settings.  The Preferences are broken into
  246.                               the following groups:
  247.                                    Colors
  248.                                    Displays
  249.                                    Area 1 of Defaults
  250.                                    Area 2 of Defaults
  251.                                    Keypads
  252.  
  253.                               We will discuss each of the preference areas
  254.                               in detail.
  255.  
  256.      MegaD Menus              MegaD allows extensive control over the
  257.                               Directory Windows it uses and the displays
  258.                               within them.  Much of the control is access
  259.                               through the menus found within MegaD.
  260.  
  261.                               You will find the step by step approach of
  262.                               this file helpful in your quest to learn
  263.                               MegaD.  MegaD, without question, is the most
  264.                               versatile, capable and flexible directory
  265.                               utility to date.  This tutorial will help you
  266.                               to understand and harness the power of MegaD.
  267.  
  268.      Getting Started          MegaD can be started from the CLI (Command
  269.                               Line Interface) or from the Workbench.  To
  270.                               run MegaD from the CLI CD to the directory
  271.                               that the program file MegaD is in and type
  272.                                    "Run MegaD"
  273.                               To start MegaD from the Workbench double
  274.                               click the MegaD icon.  You should be greeted
  275.                               with this window containing about 30
  276.                               different gadgets and one scrolling list at
  277.                               the top.
  278.  
  279.  
  280.  
  281.  
  282.  
  283.  
  284.  
  285.  
  286.  
  287.  
  288.  
  289.  
  290.  
  291.  
  292.  
  293.  
  294.                               MegaD 2.00  Tutorial, Copyright © 1992
  295.  
  296.  
  297.  
  298.  
  299.  
  300.                                                              Introduction 6
  301.  
  302.  
  303.      -----------------------------------------------------------------
  304.      |MegaD 2.0 Control Window                                       |
  305.      |---------------------------------------------------------------|
  306.      | Free Volumes    |()   Volumes In Memory                    |  |
  307.      |------------------------------------------------------------|  |
  308.      | First  Buffered Volume           DF0:           648,324    |  |--1
  309.      | Second Buffered Volume           DF1:           232,987    |/\|
  310.      | Third  Buffered Volume          WORK:        22,343,548    |\/|
  311.      |---------------------------------------------------------------|
  312.      |**|   Device Gadget 1 |  Device Gadget 4    |  Device Gadget 7 |
  313.      |**|-------------------+---------------------+------------------|
  314.      |  |   Device Gadget 2 |  Device Gadget 5    |  Device Gadget 8 |
  315.      |  |-------------------+---------------------+------------------|--2
  316.      |  |   Device Gadget 3 |  Device Gadget 6    |  Device Gadget 9 |
  317.      |  |-------------------+----------------------------------------|
  318.      |  |      Device Name: |                                        |
  319.      |  |------------------------------------------------------------|
  320.      |**| Files Selected                       Chip                  |
  321.      |**| Dir.  Selected                       Fast                  |
  322.      |  | Bytes Selected                       Large                 |--3
  323.      |**| Free Disk space                      Total                 |
  324.      |**| Active Directory                                           |
  325.      |---------------------------------------------------------------|
  326.      | Keypad '('   | Keypad ')'   | Keypad '/'   | Keypad '*'   |   |
  327.      |--------------+--------------+--------------+--------------| C |
  328.      | Keypad '7'   | Keypad '8'   | Keypad '9'   | Keypad '-'   | - |
  329.      |--------------+--------------+--------------|--------------|   |
  330.      | Keypad '4'   | Keypad '5'   | Keypad '6'   | Keypad '+'   | S |--4
  331.      |--------------+--------------+--------------+--------------| - |
  332.      | Keypad '1'   | Keypad '2'   | Keypad '3'   |              |   |
  333.      |-----------------------------+--------------|    ENTER     | A |
  334.      |          Keypad '0'         | Keypad '.'   |              |   |
  335.      ----------------------------------------------------------------- 
  336.      Main Control Window      Above is an character representation of what the
  337.                               Main Control Window looks like.  The titles of
  338.                               the gadgets have been changed to generic names. 
  339.                               The actual window that should be up on your
  340.                               system will contain device names and command
  341.                               titles in the gadgets.  The Control Window is
  342.                               your link to all of the functions that MegaD
  343.                               possesses.  Lets break the parts of the window
  344.                               down into it's four basic components.  The number
  345.                               to the right of the representation corresponds
  346.                               with the below list.
  347.                                    1.   Volumes in memory, and Device, Assign
  348.                                         and Drives list
  349.                                    2.   Device Gadgets 
  350.                                    3.   Information area
  351.                                    4.   Command Gadget
  352.  
  353.                               MegaD 2.00  Tutorial, Copyright © 1992
  354.  
  355.  
  356.  
  357.  
  358.  
  359.                                                              Introduction 7
  360.  
  361.      |---------------------------------------------------------------|
  362.      | Free Volumes    |()  Volumes In Memory                     |  |
  363.      |------------------------------------------------------------|  |
  364.      | First  Buffered Volume           DF0:           648,324    |  |--1
  365.      | Second Buffered Volume           DF1:           232,987    |/\|
  366.      | Third  Buffered Volume          WORK:        22,343,548    |\/|
  367.      |---------------------------------------------------------------|
  368.  
  369.      MegaD List Area          Above is a cutout of section 1. The Volumes
  370.                               in memory, and Device, Assign and Drives
  371.                               list. Two kinds of list are available in this
  372.                               area. The lists can be cycled in and out of
  373.                               the list area by the use of the cycle gadget
  374.                               at the top of the window.
  375.  
  376.      'Volumes In Memory'      'Volumes In Memory' list.  This is a list of
  377.                               buffered directories that have been loaded,
  378.                               if any.  It may be an empty list at the
  379.                               moment.  This is what the cutout represent
  380.                               now
  381.  
  382.      Device List              'Devices, Assigns and Drives' list.  This
  383.                               list is never empty.  It shows available
  384.                               volumes and system assigns such as 'Fonts:'
  385.  
  386.                               The way to chose which list to use is
  387.                               controlled by the cycle gadgets at the top
  388.                               center to right side of the window.  It has a
  389.                               small arrow going in a circle at the left
  390.                               side of the gadget.  By selecting this
  391.                               gadget the list will change to the one not
  392.                               being displayed.
  393.  
  394.      Free Volumes Gadget      On the left side of that gadget is one that
  395.                               is titled 'Free Volumes'.  MegaD buffers all
  396.                               of the directories that have been loaded. 
  397.                               This makes for quick access to those
  398.                               directories.  It is also memory consuming. 
  399.                               By selecting this gadget once, you can free
  400.                               up memory used by buffered directories.
  401.  
  402.                               The 'Free Volumes' gadget will be ghosted if
  403.                               there are no buffered volumes in memory. 
  404.                               Once any volume or directory is loaded the
  405.                               gadget will be activated allowing you to
  406.                               select it.
  407.  
  408.                               When a directory is buffered, the contents of
  409.                               the directory are in the computer's main
  410.                               memory.  If you close that volume and then
  411.  
  412.                               MegaD 2.00  Tutorial, Copyright © 1992
  413.  
  414.  
  415.  
  416.  
  417.  
  418.                                                              Introduction 8
  419.  
  420.                               access it later, MegaD doesn't have to access
  421.                               the disk because the contents are still in
  422.                               the computer's memory (in the buffer).  This
  423.                               not only saves in access time, but saves wear
  424.                               on the disk.  By selecting the "Free Volumes"
  425.                               gadget, you remove the contents of that
  426.                               volume(s) from the computer's memory, and any
  427.                               future attempts to access that volume will
  428.                               result in having to read from disk.
  429.  
  430.                               To the far right of the upper area of the
  431.                               window is a proportional gadget and two step
  432.                               gadgets for scrolling the list in this
  433.                               window.  They work to move the list up or
  434.                               down if the list can be scrolled.  If the
  435.                               list can be scrolled the proportional gadget
  436.                               will show where in the list you are at that
  437.                               moment and it will let you move to a new
  438.                               position by selecting and moving the scroller
  439.                               up and down.  The arrow gadgets will scroll
  440.                               the list by single steps and will repeat the
  441.                               steps as long as the gadget is selected.
  442.  
  443.      Buffered Volume List     The items in the list at the top of the
  444.                               Control Window display information about
  445.                               where the volume was loaded from.  If the
  446.                               volume was loaded from the drive DF0: it will
  447.                               display DF0: in the center of the line.  To
  448.                               the right of the line the free disk space for
  449.                               that volume is shown.
  450.  
  451.                               The items in the lists can be selected for
  452.                               special tasks.  Double clicking the item will
  453.                               load the directory and place it in a window. 
  454.                               Single selecting the item will select it or
  455.                               unselect the item for a task.  Some of the
  456.                               special tasks are.
  457.  
  458.      Loading selected items
  459.      from the Device List     Loading a group of volumes by selecting them
  460.                               and then using the menu command 'Windows,
  461.                               Open Windows, Selected Directories' or
  462.                               closing them with the 'Windows, Close
  463.                               Windows, Selected Directories'.  This is the
  464.                               only function that is available that works
  465.                               with items selected in the Device list.  This
  466.                               is not the only way to open a volume.  You
  467.                               will see later that there are shortcuts to
  468.                               this method.
  469.  
  470.  
  471.                               MegaD 2.00  Tutorial, Copyright © 1992
  472.  
  473.  
  474.  
  475.  
  476.  
  477.                                                              Introduction 9
  478.  
  479.  
  480.                               (The below functions only works on the
  481.                               Volumes in Memory list.)
  482.  
  483.      Freeing Buffered Volumes Freeing a specified volume from the buffered
  484.                               directories.  By selecting items in the
  485.                               'volumes In Memory' list and then selecting
  486.                               'Free Volumes' just that volume will be
  487.                               removed from the buffer freeing the memory
  488.                               used by it.  If you should select the 'Free
  489.                               Volumes' gadget without any items selected in
  490.                               this list, all buffered volumes will be
  491.                               freed.
  492.  
  493.      Select Volumes for 
  494.      making a listing         MegaD allows you to print the contents of a
  495.                               volume (all the directories and files in that
  496.                               volume, including all subdirectories).  Not
  497.                               only can you send the volume's contents to
  498.                               the printer, but MegaD allows you to save the
  499.                               contents to a disk file, should you desire. 
  500.                               You can send the volumes contents to the
  501.                               printer by selecting the desired volume in
  502.                               the volume window (directly below the 'Free
  503.                               Volumes' gadget) and then selecting the
  504.                               'Output Prt' Command Gadget.  You can send
  505.                               the volumes contents to a disk file by
  506.                               opening a Directory Window to the directory
  507.                               you wish the file to be written, and
  508.                               selecting the 'Output File' Command Gadget.
  509.  
  510.                               Selecting a volume to relabel the volume
  511.                               with the Relabel keypad command.
  512.  
  513.                               The above mentioned commands will be
  514.                               discussed in detail later on in the tutorial.
  515.  
  516.  
  517.  
  518.  
  519.  
  520.  
  521.  
  522.  
  523.  
  524.  
  525.  
  526.  
  527.  
  528.  
  529.  
  530.                               MegaD 2.00  Tutorial, Copyright © 1992
  531.  
  532.  
  533.  
  534.  
  535.  
  536.                                                             Introduction 10
  537.  
  538.  
  539.      |---------------------------------------------------------------|
  540.      |**|   Device Gadget 1 |  Device Gadget 4    |  Device Gadget 7 |
  541.      |**|-------------------+---------------------+------------------|
  542.      |  |   Device Gadget 2 |  Device Gadget 5    |  Device Gadget 8 |
  543.      |  |-------------------+---------------------+------------------|--2
  544.      |  |   Device Gadget 3 |  Device Gadget 6    |  Device Gadget 9 |
  545.      |  |-------------------+----------------------------------------|
  546.      |  |      Device Name: |                                        |
  547.      |  |------------------------------------------------------------|
  548.  
  549.  
  550.      Device Gadgets           The second area in the Control Window
  551.                               contains nine booleen gadgets and one string
  552.                               gadget.  All ten gadgets serve the same
  553.                               purpose, to load a volume or directory.  They
  554.                               can be switch to do another task but we will
  555.                               get in to that later.
  556.  
  557.                               At first run the device gadgets are set to
  558.                               the first nine volumes and assigns found in
  559.                               the 'Device, Assigns and Drives' list.  This
  560.                               may not be the way you want them and if so it
  561.                               can be changed by using the menu option
  562.                               'Project, Set Preferences.'  The lower nine
  563.                               string gadgets in the window that opens from
  564.                               that option are used to set the device
  565.                               gadgets.
  566.  
  567.                               Once back to the Control Window select any of
  568.                               the nine gadgets to load a volume or
  569.                               directory.  After doing so, and if no errors
  570.                               were encountered, a window should open with
  571.                               the list of items found in that directory.
  572.  
  573.      Device String Gadget     Directly below the 9 device gadgets is a
  574.                               string gadget (labelled 'Device Name:'). 
  575.                               This gadget is used to type any valid
  576.                               directory name that you want to load.  Typing
  577.                               a name and pressing return is the equivalent
  578.                               of hitting one of the upper nine device
  579.                               gadgets.
  580.  
  581.                               Any string gadget, in any MegaD window, can
  582.                               be activated by pressing the space bar once. 
  583.                               The window must be the active window at the
  584.                               time for this to work.  This feature includes
  585.                               the Main Control Window Device String Gadget.
  586.  
  587.      Device Gadgets keyboard
  588.  
  589.                               MegaD 2.00  Tutorial, Copyright © 1992
  590.  
  591.  
  592.  
  593.  
  594.  
  595.                                                             Introduction 11
  596.  
  597.      Equivalent               The upper numeric keys on the keyboard 1 - 9
  598.                               (not the keypad) will do the equivalent of
  599.                               the hitting one of the nine device gadgets. 
  600.                               The keys equate to the number found in the
  601.                               above cutout of the window.
  602.  
  603.      |  |------------------------------------------------------------|
  604.      |**| Files Selected                       Chip                  |
  605.      |**| Dir.  Selected                       Fast                  |
  606.      |  | Bytes Selected                       Large                 |--3
  607.      |**| Free Disk space                      Total                 |
  608.      |**| Active Directory                                           |
  609.       ---------------------------------------------------------------|
  610.  
  611.      Information Area         The third area of the main window is for
  612.                               information.  On the left side it shows how many
  613.                               files and directories are selected and it shows
  614.                               how many bytes are selected.  This can be used to
  615.                               judge if the destination disk has enough room to
  616.                               write the files and directories to it.  If
  617.                               unbuffered directories are selected, the size of
  618.                               the directory is unknown and can not be
  619.                               calculated.  If you want to be sure of the
  620.                               actual byte count of information in a directory,
  621.                               use the 'Go Deep' command on those directories
  622.                               first.  The 'Go Deep' Command Gadget is found in
  623.                               the second bank of Keypad Command Gadgets.  This
  624.                               will buffer the directories and MegaD will be
  625.                               able to tell you just how much space will be
  626.                               needed for the copy or move.  
  627.  
  628.                               This area has a gadget hidden beneath the
  629.                               information, the gadget is quite easy to hit and
  630.                               you may want to try it now to see how it works. 
  631.                               Place the mouse pointer directly over the MegaD
  632.                               main menu information window (directly below the
  633.                               string gadget labelled 'Device Name') and
  634.                               single-click.  Notice that when you clicked, the
  635.                               information changed from 'all items selected' to
  636.                               'source items selected  By selecting that gadget
  637.                               the information will toggle from all items
  638.                               selected to source items selected.  If deleting
  639.                               files, and you wish to know exactly how many
  640.                               file and directory will be deleted, you should
  641.                               use the Selected information mode.  If copying or
  642.                               moving files, and you wish to know exactly how
  643.                               many files and directory will be copied or moved, 
  644.                               you should use the Source information mode.
  645.  
  646.  
  647.  
  648.                               MegaD 2.00  Tutorial, Copyright © 1992
  649.  
  650.  
  651.  
  652.  
  653.  
  654.                                                             Introduction 12
  655.  
  656.      Available Memory         On the right side it shows the system memory
  657.                               four different ways.  Available chip and fast
  658.                               memory.  The largest chunk of memory still
  659.                               available and then a total of the free Chip and
  660.                               Fast memory.
  661.  
  662.      Active Directory
  663.                               At the bottom of the information window you will
  664.                               see the text: 'Free Disk Space' and 'Active
  665.                               Directory'.  These two items will display the
  666.                               amount of disk space which is free on the
  667.                               currently active directory.  If no directory is
  668.                               currently active, then both items are blank.
  669.                               Additionally, the directory specified by this
  670.                               'Active Directory' item is known as the
  671.                               'destination' directory.  What do I mean by that? 
  672.                               Well any command which requires a destination
  673.                               will act on that directory.  For instance, if you
  674.                               want to move a file somewhere, it will be moved
  675.                               from some (origin) directory into that
  676.                               (destination) directory. MegaD can use more than
  677.                               one destination directory at a time; however, it
  678.                               can display only one of the destination
  679.                               directories in this area at a time.  We will talk
  680.                               more about the multiple destinations later.
  681.  
  682.  
  683.  
  684.  
  685.  
  686.  
  687.  
  688.  
  689.  
  690.  
  691.  
  692.  
  693.  
  694.  
  695.  
  696.  
  697.  
  698.  
  699.  
  700.  
  701.  
  702.  
  703.  
  704.  
  705.  
  706.  
  707.                               MegaD 2.00  Tutorial, Copyright © 1992
  708.  
  709.  
  710.  
  711.  
  712.  
  713.                                                             Introduction 13
  714.  
  715.      |---------------------------------------------------------------|
  716.      | Keypad '('   | Keypad ')'   | Keypad '/'   | Keypad '*'   |   |
  717.      |--------------+--------------+--------------+--------------| C |
  718.      | Keypad '7'   | Keypad '8'   | Keypad '9'   | Keypad '-'   | - |
  719.      |--------------+--------------+--------------|--------------|   |
  720.      | Keypad '4'   | Keypad '5'   | Keypad '6'   | Keypad '+'   | S |--4
  721.      |--------------+--------------+--------------+--------------| - |
  722.      | Keypad '1'   | Keypad '2'   | Keypad '3'   |              |   |
  723.      |-----------------------------+--------------|    ENTER     | A |
  724.      |          Keypad '0'         | Keypad '.'   |              |   |
  725.      -----------------------------------------------------------------
  726.  
  727.      Keypad Gadgets           The fourth and bottom area of the Control
  728.                               Window is where you access the commands that
  729.                               MegaD can perform on windows, directories and
  730.                               files.  This area is actually four sets or
  731.                               banks of gadgets that can be access though
  732.                               the use of the three 'Shift Gadgets' mounted
  733.                               to the right of the gadgets.  The 'Shift
  734.                               Gadgets' coincide with the Ctrl, Shift and
  735.                               Alt keys on your keyboard.
  736.  
  737.                                    C = Ctrl  (Control)
  738.                                    S = Shift
  739.                                    A = Alt   (Alternate)
  740.  
  741.      Quick Command Access     The main group of gadgets is arranged in the
  742.                               same order as the keypad on the side of most
  743.                               amiga keyboards.  Each keypad gadget can be
  744.                               accessed from the keyboard by pressing the
  745.                               equivalent key.  You will soon find that you
  746.                               can reach any command quickly and easily with
  747.                               the keyboard.  
  748.  
  749.      Keypad Banks             There are four banks of keypad gadgets. The
  750.                               banks are access by use of ether the 'Shift
  751.                               Gadgets' at the side of the Keypad gadgets or
  752.                               by pressing the corresponding shift key, as
  753.                               listed above.  Through the tutorial I will be
  754.                               referring to the sets of keypad gadgets by
  755.                               banks.
  756.  
  757.                               First bank: is access when there are no shift
  758.                               keys pressed on the keyboard and none of the
  759.                               'Shift Gadgets' are pressed.
  760.  
  761.                               Second bank: is access when the Ctrl keyboard
  762.                               key is press or the 'C' 'Shift gadget' is
  763.                               selected.
  764.  
  765.  
  766.                               MegaD 2.00  Tutorial, Copyright © 1992
  767.  
  768.  
  769.  
  770.  
  771.  
  772.                                                             Introduction 14
  773.  
  774.                               Third bank: is access when the Shift keyboard
  775.                               key is press or the 'S' 'Shift gadget' is
  776.                               selected.
  777.  
  778.                               Fourth bank: is access when the Alt keyboard
  779.                               key is press or the 'A' 'Shift gadget' is
  780.                               selected.
  781.  
  782.                               As an example the 'Copy' command is located
  783.                               (at startup default) on the first bank of
  784.                               gadgets in the upper left hand corner.  This
  785.                               gadget can be activated by pressing the upper
  786.                               left hand keypad key which is the '(' key on
  787.                               the keypad.  To access the 'Copy As' command
  788.                               press the Ctrl key and while holding it down
  789.                               press the upper left hand key of the keypad. 
  790.                               This is the same as using the mouse to select
  791.                               the 'C' 'Shift gadget' and then selecting the
  792.                                upper left hand corner gadget (which should
  793.                               be labelled 'Copy as' at default).
  794.  
  795.                               NOTE: Should you have a MegaD text window
  796.                               active, the keypad is used solely for the
  797.                               text window, and the Keypad Command Gadget
  798.                               functions will not be accessible.
  799.  
  800.  
  801.  
  802.  
  803.  
  804.  
  805.  
  806.  
  807.  
  808.  
  809.  
  810.  
  811.  
  812.  
  813.  
  814.  
  815.  
  816.  
  817.  
  818.  
  819.  
  820.  
  821.  
  822.  
  823.  
  824.  
  825.                               MegaD 2.00  Tutorial, Copyright © 1992
  826.  
  827.  
  828.  
  829.  
  830.  
  831.                                                             Introduction 15
  832.  
  833.      |---------------------------------------------------------------|
  834.      | Ctrl Command | Shift Command| Alt Command  | Keypad '*'   |   |
  835.      |--------------+--------------+--------------+--------------| C |
  836.      | Keypad '7'   | Keypad '8'   | Keypad '9'   | Keypad '-'   | - |
  837.      |--------------+--------------+--------------|--------------|   |
  838.  
  839.      Shift Click
  840.      Window Command           Above is the upper section of the Keypad
  841.                               Command Gadgets.  Notice that I have change
  842.                               the names of the first three Gadgets to,
  843.                               'Ctrl Command', 'Shift Command' and 'Alt
  844.                               Command'.  MegaD assigns the above three
  845.                               commands to the respective shift keys during
  846.                               a process that I call 'Shift Click Window
  847.                               Commands'.
  848.  
  849.                               By using the 'Shift Click Window Commands',
  850.                               you can gain rapid access to three of your
  851.                               favorite commands.  At default, MegaD sets
  852.                               the first three Keypad Commands Gadgets to,
  853.                               'Copy', 'Move' and 'Delete'.  This, in turn,
  854.                               sets the 'Shift Click Window Commands' to:
  855.  
  856.                                    Ctrl-Select Directory Window = 'Copy'
  857.                                    Shift-Select Directory Window = 'Move'
  858.                                    Alt-Select Directory Window = 'Delete'
  859.  
  860.      How Shift Click Works    Let use 'Copy' for and example here.  You
  861.                               would need at least two Directory Windows
  862.                               opened to the screen.  You select a few items
  863.                               in one of the windows that you would like to
  864.                               copy.  You would then hold down the Ctrl key
  865.                               while you select the scroll area (text
  866.                               listing area) of the Directory Window that
  867.                               you wish to copy the files to, this becomes
  868.                               the 'Shift Clicked Window'.  The selected
  869.                               Directory Window becomes a user defined
  870.                               destination directory and the 'Copy' command
  871.                               is called.
  872.  
  873.                               You can attach any commands you want, to the
  874.                               first three Keypad Command Gadgets of the
  875.                               first bank.
  876.  
  877.                               The steps taken internally during the 'Shift
  878.                               Click Window Command' process is:
  879.  
  880.                               1.   Select 'Dest'ination gadget of the
  881.                                    Directory window that was 'Shift
  882.                                    Selected'.
  883.  
  884.                               MegaD 2.00  Tutorial, Copyright © 1992
  885.  
  886.  
  887.  
  888.  
  889.  
  890.                                                             Introduction 16
  891.  
  892.  
  893.                               2.   Call corresponding Keypad Command
  894.                                    Gadget for the shift key pressed and
  895.                                    perform that task.
  896.  
  897.                               3.   Un-select the 'Dest'ination gadget if it
  898.                                    was not selected at the first of the
  899.                                    call, restoring the Directory Window to
  900.                                    it's original state.
  901.  
  902.                               All of this is a bit much for right now.  We
  903.                               have yet to talk about any of the commands,
  904.                               and how to use them.  If all of this seems
  905.                               very vague to you, don't let it worry you. 
  906.                               Just remember to come back and reread this
  907.                               section once your done.  I want to make sure
  908.                               that everyone using MegaD knows of this
  909.                               feature.  Other wise it like driving a great
  910.                               car without knowing it has a fifth gear and
  911.                               never getting it to top speed.
  912.  
  913.      | Third  Buffered Volume          WORK:        22,343,548    |\/|
  914.      |---------------------------------------------------------------|
  915.      |**|   Device Gadget 1 |  Device Gadget 4    |  Device Gadget 7 |
  916.      |**|-------------------+---------------------+------------------|
  917.      |  |   Device Gadget 2 |  Device Gadget 5    |  Device Gadget 8 |
  918.      |  |-------------------+---------------------+------------------|
  919.      |  |   Device Gadget 3 |  Device Gadget 6    |  Device Gadget 9 |
  920.      |  |-------------------+----------------------------------------|
  921.      |  |      Device Name: |                                        |
  922.      |  |------------------------------------------------------------|
  923.      |**| Files Selected                       Chip                  |
  924.      |**| Dir.  Selected                       Fast                  |
  925.      |  | Bytes Selected                       Large                 |
  926.      |**| Free Disk space                      Total                 |
  927.      |**| Active Directory                                           |
  928.      |---------------------------------------------------------------|
  929.  
  930.      Icon Gadgets             Among these gadgets are three that are very
  931.                               unique in design and nature.  They reside on
  932.                               the left side of the window.  The character
  933.                               representation of the gadgets is
  934.  
  935.                                    **
  936.                                    **
  937.  
  938.                               You can identify them in the actual Control
  939.                               Window by a small horizonal line going
  940.                               across, inside of the border of the gadget. 
  941.                               By careful examination of the gadgets you
  942.  
  943.                               MegaD 2.00  Tutorial, Copyright © 1992
  944.  
  945.  
  946.  
  947.  
  948.  
  949.                                                             Introduction 17
  950.  
  951.                               will notice that the horizonal line is at
  952.                               different position inside of the border. For
  953.                               lack of a better name I call these gadgets,
  954.                               Area Icons.  They each represent one of the
  955.                               three lower areas of the Control Window.  As
  956.                               the icon gadgets are hit, they will remove or
  957.                               replace areas of the main window.  The icon
  958.                               gadget themselves will stay in the window.
  959.  
  960.      Device Icon Gadget:      The gadget with the line closest to the top
  961.                               is directly attached to the set of 9 device
  962.                               gadgets in the upper mid section of the
  963.                               control window. Selecting this 'device icon
  964.                               gadget' will remove these 9 device gadgets
  965.                               from the main menu, thereby allocating  more
  966.                               space to view the rest of the menu.
  967.  
  968.      Byte Info Icon Gadget:   The gadget that has the line across the
  969.                               center of it is directly attached to the text
  970.                               section of the window that displays selected
  971.                               information and system  memory.  Selecting
  972.                               this 'byte info icon gadget' will remove the
  973.                               area containing system memory from the main
  974.                               menu, thereby allocating more space to view
  975.                               the rest of the menu.
  976.  
  977.      Keypad Icon Gadget:      And finally, the small gadget with the line
  978.                               closest to the bottom is directly attached to
  979.                               the command gadgets which are arranged in the
  980.                               same manner as the numeric keypad on the side
  981.                               of the Amiga keyboard (this keypad is not
  982.                               present on the 600 and 1000 Amiga models). 
  983.                               Selecting this 'keypad icon gadget' will
  984.                               remove the area containing the numeric keypad
  985.                               gadgets from the main menu, thereby
  986.                               allocating more space to view the rest of
  987.                               the menu.
  988.  
  989.                               NOTE:  You can remove more than one of these
  990.                               areas from the main menu.  For instance,
  991.                               click on the upper area icon gadget and
  992.                               notice that the 9 device gadgets are removed
  993.                               from the main menu.  Now click on the lower
  994.                               area gadget and notice that the 'Numeric
  995.                               Keypad' gadgets are gone from the menu.  All
  996.                               that you are viewing at this time are the
  997.                               'Volumes Information' area (the very upper
  998.                               portion of the normal main menu) and the
  999.                               'System Memory Information' area.  You could
  1000.                               now click on the center area icon gadget and
  1001.  
  1002.                               MegaD 2.00  Tutorial, Copyright © 1992
  1003.  
  1004.  
  1005.  
  1006.  
  1007.  
  1008.                                                             Introduction 18
  1009.  
  1010.                               remove the 'System Memory Information' area. 
  1011.                               At this point, the entire main menu would be
  1012.                               displaying the "Volume Information" area.
  1013.  
  1014.                               I suggest that you play with those gadgets
  1015.                               for a while just so that you can see how they
  1016.                               work.  Select one of the icon gadgets once
  1017.                               and an area will be removed from the window,
  1018.                               making the scroll area larger.  The icon
  1019.                               gadget will be repositioned in the window so
  1020.                               that it will fit in the new configuration.
  1021.                               The color of the horizonal line in the gadget
  1022.                               will change to signify that the area has been
  1023.                               removed.  Find the gadget again and selected
  1024.                               it once more.  That area will be replace in
  1025.                               the Control Window.  Once your done playing
  1026.                               with them be sure to set the window back up
  1027.                               so that all four areas of the window are
  1028.                               visible and usable.
  1029.  
  1030.      Active Window To Front   Whenever you open a directory/text window,
  1031.                               MegaD will automatically bring that new
  1032.                               window to the front of all other windows. 
  1033.                               Furthermore, if a currently open, 
  1034.                               directory/text window is selected (made
  1035.                               active by clicking on it), it will
  1036.                               automatically be moved to the front of all
  1037.                               other windows.
  1038.  
  1039.      Moving the Control 
  1040.      Window to the front      This 'auto-front' feature does not apply to
  1041.                               the MegaD control (main menu) window.  There
  1042.                               are; however, three function keys that will
  1043.                               allow you to move the control window to the
  1044.                               front/rear of the screen.  The three keys are
  1045.                               F8, F9 and F10.  One more catch though - each
  1046.                               key can serve more than one purpose.  I'll
  1047.                               try to explain:
  1048.  
  1049.                               Remember from the beginning of the manual
  1050.                               about the very top of the control panel. 
  1051.                               There is a gadget which toggles between
  1052.                               "Volumes In Memory" and "Devices, Assigns and
  1053.                               Drives".  The second feature of each of these
  1054.                               keys deals with this portion of the control
  1055.                               panel.
  1056.  
  1057.                               F8:  (1) Will toggle to 'Devices, Assigns and
  1058.                                    Drives', and
  1059.  
  1060.  
  1061.                               MegaD 2.00  Tutorial, Copyright © 1992
  1062.  
  1063.  
  1064.  
  1065.  
  1066.  
  1067.                                                             Introduction 19
  1068.  
  1069.                                    (2) Will toggle the control window
  1070.                                    between the front and back of the
  1071.                                    screen.
  1072.  
  1073.                               F9:  (1) Will toggle to 'Volumes In Memory',
  1074.                                    and
  1075.                                    (2) Will toggle the control window
  1076.                                    between the front and back of the
  1077.                                    screen.
  1078.  
  1079.                               F10: The sole purpose of this key is to
  1080.                                    toggle the control window between the
  1081.                                    front and back of the screen.
  1082.  
  1083.                               NOTE:     If the you have set MegaD F10
  1084.                                         default to 'F10 Closes Main Control
  1085.                                         Window', the control window will be
  1086.                                         closed and reopened with this key.
  1087.  
  1088.      What Is MegaD            MegaD's main function on the Amiga is to do
  1089.                               something with a directory list or item in
  1090.                               the directory list.  We will need some medium
  1091.                               to work with that we both have.
  1092.  
  1093.                               I am going to use a copy of the Workbench
  1094.                               disk that came with our operating system to
  1095.                               demonstrate some of the simple functions of
  1096.                               MegaD.  So that we can have a common
  1097.                               references, you will be making a copy of your
  1098.                               Workbench disk.
  1099.  
  1100.      Create a Tutorial Disk   You should make a copy of the copy of your
  1101.                               Workbench disk.  (You should only use your
  1102.                               original disks once, and that was to make the
  1103.                               copy that you will use when you run a
  1104.                               program.  Any program.) This disk contains
  1105.                               many files that we can do things with. I
  1106.                               will be using the directories and files as
  1107.                               examples of how the commands in MegaD work.  
  1108.  
  1109.      Loading the copy of 
  1110.      your Workbench disk      Place the copy of your Workbench disk into
  1111.                               your DF0: disk drive.  Use the toggle gadget
  1112.                               in the upper portion of the MegaD control
  1113.                               window to ensure "Devices, Assigns and
  1114.                               Drives" (rather than "Volumes In Memory") is
  1115.                               selected.  Now use the scroll gadget at the
  1116.                               upper right of the control window, and scroll
  1117.                               until 'DF0:' is visible in the "Devices,
  1118.                               Assigns and Drives Window" (immediately below
  1119.  
  1120.                               MegaD 2.00  Tutorial, Copyright © 1992
  1121.  
  1122.  
  1123.  
  1124.  
  1125.  
  1126.                                                             Introduction 20
  1127.  
  1128.                               the "Free Volumes" gadget).  Double-click on
  1129.                               'DF0:' in this window.  A new window should
  1130.                               open on your screen displaying all the
  1131.                               directories and files on the disk you
  1132.                               inserted in 'DF0:'.  (NOTE: an alternate, and
  1133.                               sometimes easier way, to accomplish the above
  1134.                               is to simply enter 'DF0:' in the string
  1135.                               gadget (in the center of the control window
  1136.                               labelled 'Device Name') and hit the <return>
  1137.                               key).
  1138.  
  1139.      Directory Windows         This is a character representation of the
  1140.                               directory window that came up when I loaded
  1141.                               my Workbench disk.  Yours should look
  1142.                               similar.  
  1143.                                                           
  1144.           ------------------------
  1145.           | Workbench2.0:     |#|@|<- Top window drag bar, close and
  1146.           |-----------------------|   Zoom Gadgets
  1147.           | Parent / |Dest|Lock|  |<- Parent, Destination, Lock gadgets
  1148.           |--------------------|  |
  1149.           | C                  |  |
  1150.           | Devs               |  |
  1151.           | Expansion          |  |
  1152.           | Fonts              |  |
  1153.           | L                  |  |
  1154.           | Libs          <---------- Scrolling list area.
  1155.           | monitors           |  |
  1156.           | Prefs              |  |
  1157.           | Rexxc              |  |
  1158.           | S                  |  |
  1159.           | System             |  |
  1160.           | Trashcan           |  |
  1161.           | Utilities          |  |
  1162.           | WBStartup          |  |
  1163.           | disk.info          |  |
  1164.           | Expansion.info     |  |
  1165.           | Monitors.info      |  |
  1166.           | Prefs.info         |  |
  1167.           | Shell.info         |  |
  1168.           | System.info        |  <- Vertical scrolling gadget
  1169.           | Trashcan.info      |  |
  1170.           | Utilities.info     |  |
  1171.           | WBstartup.info     |  |
  1172.           |                    |  |
  1173.           ----------------------/\|<- Up arrow
  1174.           |               |<|>| \/|<- Left, Right, Down arrow
  1175.           ------------------------    and horizonal scrolling gadget
  1176.  
  1177.  
  1178.  
  1179.                               MegaD 2.00  Tutorial, Copyright © 1992
  1180.  
  1181.  
  1182.  
  1183.  
  1184.  
  1185.                                                             Introduction 21
  1186.  
  1187.  
  1188.      The anatomy of a 
  1189.      directory window         This window has two main parts.  The upper
  1190.                               gadgets and the list area.  I will discuss
  1191.                               the upper gadgets first.
  1192.  
  1193.                               All directory windows have a 'Parent',
  1194.                               'Dest'ination, and 'Lock' gadget. 
  1195.  
  1196.      Parent Gadget            The 'Parent' will move you to the parent of
  1197.                               the current directory.  Once at the Root:
  1198.                               (This is where we are now) the 'Parent' will
  1199.                               bring the Main Control Window to the front
  1200.                               unless it is in two window mode.
  1201.  
  1202.      'Dest'ination            The 'Dest'ination gadget tells MegaD which
  1203.                               directory(s) is the specified destination
  1204.                               directory. This is important because many
  1205.                               commands (such as copy, move, etc) will
  1206.                               transfer files from the 'origin' directory to
  1207.                               the 'destination' directory.
  1208.  
  1209.                               The 'Dest'ination gadget actually has three
  1210.                               states.  Un-selected, Selected and User
  1211.                               Selected.  Un-selected and Selected look like
  1212.                               any other toggle selected gadgets on an Amiga
  1213.                               window.  The User Selected mode draws a
  1214.                               double border around the selected gadget. 
  1215.                               MegaD will keep the active window as the
  1216.                               destination unless you use the mouse to
  1217.                               select the 'Dest'ination gadget.
  1218.  
  1219.                               To demonstrate the 'User Selected' mode,
  1220.                               activate the open directory window by
  1221.                               selecting the drag bar at the top of the
  1222.                               window.  The 'Dest'ination gadget of this
  1223.                               window should now be selected.  MegaD auto-
  1224.                               select the 'Dest'ination gadget of the active
  1225.                               window.  Now select the 'Dest'ination gadget
  1226.                               with by selecting it with the mouse.  The
  1227.                               border of the gadget will change, it will
  1228.                               have a recess area with the outside of the
  1229.                               border still looking as if it is pushing out
  1230.                               from the window.  This is the 'User
  1231.                               Selected' mode of the 'Dest'ination gadget. 
  1232.                               This disables the 'Auto-Select' feature.  
  1233.                               The User Selected gadget also forces newly
  1234.                               loaded directories into that window unless it
  1235.                               is 'Lock'ed.  Finally, select the
  1236.                               'Dest'ination gadget once more.  It will
  1237.  
  1238.                               MegaD 2.00  Tutorial, Copyright © 1992
  1239.  
  1240.  
  1241.  
  1242.  
  1243.  
  1244.                                                             Introduction 22
  1245.  
  1246.                               become unselected and look like the
  1247.                               'Parent /' and 'Lock' gadget in the window. 
  1248.                               For certain commands, such as 'Copy' and
  1249.                               'Move', the window(s) with the unselected
  1250.                               'Dest'ination gadget becomes the source or
  1251.                               origin directory window(s).
  1252.  
  1253.      Lock Gadget              The 'Lock' gadget tells MegaD that this
  1254.                               window is locked and that no other
  1255.                               directories can be placed into this window. 
  1256.                               It does not lock the internal directory list
  1257.                               it displays.  You may perform any function on
  1258.                               the items in the list that you want.  If all
  1259.                               windows are 'Lock'ed and you request a new
  1260.                               directory to be opened, a new window will be
  1261.                               opened to place it in.  Think of it as a
  1262.                               house with all the doors locked.  You come
  1263.                               home and find that you do not have the keys
  1264.                               to get in.  What do you do?  You open a
  1265.                               window, MegaD does the exact same steps. 
  1266.                               Check the first door, Second, Third...
  1267.                               finally all the doors are locked it will open
  1268.                               a window to do it's job.  Later on, their
  1269.                               will be a section that describes the use of
  1270.                               the 'Lock' gadget,  we will clarify this
  1271.                               feature then.
  1272.  
  1273.      Close Window Gadget      All directory windows have a standard window
  1274.                               close gadget except for the two window mode. 
  1275.                               This close gadget only closes the window.  It
  1276.                               does not free the memory used to contain the
  1277.                               directory list.  This has the advantage that
  1278.                               when that directory is needed again it will
  1279.                               not have to read the directory again and the
  1280.                               list will be displayed instantly.  It has the
  1281.                               disadvantage of using memory.  You can use
  1282.                               your Control Window Free Volumes gadget to
  1283.                               release that memory to the system.
  1284.  
  1285.      Scrolling List Area      The scrolling area is much like any other
  1286.                               scrolling area of other Amiga programs
  1287.                               windows.  The proportional gadgets show you
  1288.                               how much of the list is being displayed and
  1289.                               allows you to move the list up and down if
  1290.                               the full list cannot be displayed at one
  1291.                               time.  The arrow gadgets allow you to step
  1292.                               though the list one item at a time.  You may
  1293.                               hold one of the arrows down and the action
  1294.                               will repeat until you reach the end of the
  1295.                               direction that you were moving the list in. 
  1296.  
  1297.                               MegaD 2.00  Tutorial, Copyright © 1992
  1298.  
  1299.  
  1300.  
  1301.  
  1302.  
  1303.                                                             Introduction 23
  1304.  
  1305.                               MegaD also has one more way to scroll the
  1306.                               list.  
  1307.  
  1308.      Menu Button Scroll       By having the mouse pointer in the scroll
  1309.                               area of the active window and then pressing
  1310.                               the Menu Select button on the mouse the mouse
  1311.                               pointer becomes your scroller for the
  1312.                               window.  Moving the mouse 'off center' of the
  1313.                               scroll area the window will start to scroll
  1314.                               in that direction.  So if you move the mouse
  1315.                               pointer to the top of the window it will
  1316.                               scroll the list down revealing more of the
  1317.                               upper part of the list.  The same happens if
  1318.                               you move the mouse to the bottom or to the
  1319.                               sides of the window.
  1320.  
  1321.      Accessing Menus          To get to the menu you must be outside of
  1322.                               the scroll area of the active window.  The
  1323.                               easiest place to do this is at the top of the
  1324.                               screen where the menu bar will pop up.  Your
  1325.                               mouse will be out of any of the possible
  1326.                               scroll areas, and ready to select the menu
  1327.                               item that you want.
  1328.  
  1329.      Selecting Items          Items within the scroll area can be selected
  1330.                               in one of three ways with the mouse pointer. 
  1331.  
  1332.      Single Select Item       Single clicking any item in the Directory
  1333.                               Window will toggle the state of that item. 
  1334.                               If it was not selected it will become
  1335.                               selected, if it was selected it will become
  1336.                               un-selected.
  1337.  
  1338.      Double Click Item        Double clicking any item in the Directory
  1339.                               Window tells MegaD that you want it to do
  1340.                               something with that item.  
  1341.  
  1342.      Double Click Directory   If it is a directory, MegaD will attempt to
  1343.                               load that directory and place it in a
  1344.                               window.
  1345.  
  1346.      Double Click File        If it is a file and the menu item 'Option,
  1347.                               Activate AutoBoot' is set, MegaD will read
  1348.                               the first few bytes of the file and see if
  1349.                               there is something that it can do with it. 
  1350.                               At default, MegaD can load and display a text
  1351.                               file and it can load and run a program file. 
  1352.                               However, you will be able to teach it to
  1353.                               handle all of the different types of data
  1354.  
  1355.  
  1356.                               MegaD 2.00  Tutorial, Copyright © 1992
  1357.  
  1358.  
  1359.  
  1360.  
  1361.  
  1362.                                                             Introduction 24
  1363.  
  1364.                               files that you use.  We will get into this
  1365.                               later.
  1366.  
  1367.      Drag Select Items        Drag select a group of items.  This is done
  1368.                               by selecting the start or end of the area
  1369.                               that you wish to select.  The select state of
  1370.                               the first item you select determines what
  1371.                               color the rest of the items that you drag
  1372.                               select become.  Once the first item is
  1373.                               selected move the mouse pointer up or down
  1374.                               depending on which way you want to select the
  1375.                               items in the list.  If you move beyond the
  1376.                               scroll area the window will scroll, selecting
  1377.                               or un-selecting the items as they move into
  1378.                               the window.
  1379.  
  1380.      Abort Drag Select        Should you decide to abort the drag select,
  1381.                               move the mouse to the outside left or right
  1382.                               of the window and release the mouse select
  1383.                               button, this will return all of the items to
  1384.                               the same state that were before the drag
  1385.                               select was started. 
  1386.  
  1387.  
  1388.  
  1389.  
  1390.  
  1391.  
  1392.  
  1393.  
  1394.  
  1395.  
  1396.  
  1397.  
  1398.  
  1399.  
  1400.  
  1401.  
  1402.  
  1403.  
  1404.  
  1405.  
  1406.  
  1407.  
  1408.  
  1409.  
  1410.  
  1411.  
  1412.  
  1413.  
  1414.  
  1415.                               MegaD 2.00  Tutorial, Copyright © 1992
  1416.  
  1417.  
  1418.  
  1419.  
  1420.  
  1421.                                              Simple One Window Commands  25
  1422.  
  1423.  
  1424.                               Simple Commands And MegaD
  1425.                               =========================
  1426.  
  1427.      Relabel                  Now that we have explored two of the most
  1428.                               common windows that we will use with MegaD. 
  1429.                               We are going to do a command.  We are going
  1430.                               to relabel the copy of the copy of Workbench
  1431.                               that we made to a new name.  We will do this
  1432.                               so that we will be less likely to damage our
  1433.                               working copy of Workbench.  If you haven't
  1434.                               done so yet, make a new copy of your
  1435.                               Workbench at this time.  When complete,
  1436.                               return to this manual.
  1437.  
  1438.      Relabel under 1.3        If your still using Workbench1.3 MegaD will
  1439.                               not do the relabel command. (And your really
  1440.                               missing out on a great improvement on the
  1441.                               Amiga Operating System.) File away your
  1442.                               original working copy of Workbench, and place
  1443.                               your newly created copy in drive 'df0: You
  1444.                               will have to do it from a CLI window.  The
  1445.                               command line that you will enter will be
  1446.                                    Relabel DF0: Tutorial
  1447.                               Be sure to have your copy of the Workbench
  1448.                               disk in drive DF0: before issuing this
  1449.                               command.
  1450.  
  1451.      Relabel under 2.0 and
  1452.      Using MegaD              To relabel under 2.0, place the newly created
  1453.                               working copy of WB in 'df0:'.  We will first
  1454.                               load the root directory of 'df0:'.  To do
  1455.                               this, use the toggle gadget in the upper
  1456.                               portion of the MegaD control window to ensure
  1457.                               "Devices, Assigns and Drives" is selected (or
  1458.                               as an alternate method, hit the F8 key).  Now
  1459.                               use the scroll gadget or the scroll arrows at
  1460.                               the upper right of the control window until
  1461.                               'DF0:' appears in the volume window (the
  1462.                               window immediately below the 'Free Volume'
  1463.                               gadget).  Double click on 'DF0:' in the
  1464.                               volume window.  A window should appear on
  1465.                               your screen which displays the root directory
  1466.                               of 'df0:'.  Now we must tell MegaD that we
  1467.                               want to perform an operation on a volume, so
  1468.                               use the upper toggle gadget again to change
  1469.                               from "Devices, Assigns and Drives" to
  1470.                               "Volumes In Memory".  We've just told MegaD
  1471.                               that we are going to perform some (as yet
  1472.                               unknown) operation on a volume.  We must now
  1473.  
  1474.                               MegaD 2.00  Tutorial, Copyright © 1992
  1475.  
  1476.  
  1477.  
  1478.  
  1479.  
  1480.                                              Simple One Window Commands  26
  1481.  
  1482.                               tell it which volume.  To do this, single
  1483.                               click on 'DF0:' in the volume window.  Notice
  1484.                               that when you single click on 'DF0:', it
  1485.                               changes color to indicate that it is now
  1486.                               'selected'.  Finally, now that we've told
  1487.                               MegaD which volume we want to perform an
  1488.                               operation on, we have to tell it which
  1489.                               operation to perform.  We are going to use
  1490.                               the gadgets at the lower portion of the
  1491.                               control window for this.  We are looking for
  1492.                               the "Relabel" gadget.  On first glance we
  1493.                               can't find it.  That's because it is not
  1494.                               visible until we press the 'Ctrl' key on the
  1495.                               keyboard.  Press and hold the 'Ctrl' key and
  1496.                               notice that all of the bottom gadgets change. 
  1497.                               Furthermore, the gadget that was labelled
  1498.                               "Rename" is now called "Relabel".  Release
  1499.                               the 'Ctrl' key now.  The gadgets all change
  1500.                               back to their original state.  Find the
  1501.                               gadget on the far right of the lower control
  1502.                               panel which is labelled 'C' (it is
  1503.                               immediately to the right of the "Rename"
  1504.                               gadget).  Select the 'C' gadget.  Notice that
  1505.                               all the lower gadgets change once again.  As
  1506.                               a matter of fact, clicking on the 'C' gadget
  1507.                               performs the same function that holding down
  1508.                               the 'Ctrl' key did.  Once again, the "Rename"
  1509.                               gadget has changed to the "Relabel" gadget. 
  1510.                               To initiate the relabelling of the disk in
  1511.                               'DF0:', select the "Relabel" gadget.  A new
  1512.                               requestor pops up that reads:
  1513.  
  1514.                                                Volume Name
  1515.                                           Copy_of_Workbench2.0:
  1516.                                           Enter the new name to
  1517.                                          relabel this volume to
  1518.  
  1519.                               This requestor is asking for the new name of
  1520.                               the disk in 'DF0:'.  Erase the old name, and
  1521.                               replace it with 'Tutorial'.  Finally press
  1522.                               the return key on your keyboard and the disk
  1523.                               name will change to 'Tutorial'.
  1524.  
  1525.      Using the Tutorial Disk  From here on out, all of the commands we will
  1526.                               learn will be performed on this disk and your
  1527.                               Ram Disk:.  I am sure that the Tutorial: disk
  1528.                               will be useless once we are done.  It will be
  1529.                               copied to, deleted from, files written to it,
  1530.                               directories moved, etc. etc.  So before we go
  1531.  
  1532.  
  1533.                               MegaD 2.00  Tutorial, Copyright © 1992
  1534.  
  1535.  
  1536.  
  1537.  
  1538.  
  1539.                                              Simple One Window Commands  27
  1540.  
  1541.                               on any further let me ask you this question. 
  1542.                                
  1543.                                   YOUR NOT USING YOUR GOOD COPY OF YOUR
  1544.                                          WORKBENCH DISK ARE YOU?
  1545.  
  1546.                                If so Please make a copy of it and catch up
  1547.                               with me here.
  1548.      Setting the 
  1549.      device gadgets           We are going to be using the Tutorial: disk
  1550.                               all through this.  It will be nice to set one
  1551.                               of the nine device gadgets to that name. 
  1552.                               This way you will be able to load that disk
  1553.                               with a simple click of the mouse button.
  1554.  
  1555.      Set Preferences          In the very first menu of MegaD, which is the
  1556.                               Project menu, you will find the menu item
  1557.                               'Set Preferences..."  Select this menu item. 
  1558.                               A window will open with many string and
  1559.                               booleen gadgets.  We are only concerned at
  1560.                               this moment with the nine string gadgets
  1561.                               arranged at the bottom of this window.   Most
  1562.                               if not all of them should be set to something
  1563.                               already.  We want two of them to be set for
  1564.                               our specifications for the purpose of this
  1565.                               tutorial.  We need one with the title "Ram
  1566.                               Disk:" (this may already be set.) and the
  1567.                               second to read "Tutorial:"  Please note the
  1568.                               ':' colon at the end of the name.  It needs
  1569.                               to be there.  After setting two device
  1570.                               gadgets to our specifications select the
  1571.                               'Save' gadget.  This will write the MegaD
  1572.                               preference file (MegaD.pf) to the same
  1573.                               directory that you loaded MegaD from and in
  1574.                               doing so you will not have to reset the
  1575.                               gadgets each time you run MegaD.  The file
  1576.                               will save and the MegaD Preference window
  1577.                               will close.  The device gadgets in the
  1578.                               Control Window will now show the
  1579.                               modifications that you just performed.  You
  1580.                               should now have one of the gadgets reading
  1581.                               'Ram Disk:' and another reading 'Tutorial:'
  1582.  
  1583.      Auto Save when Quit      MegaD is set at default to save the
  1584.                               preference file every time you quit.  Each
  1585.                               time you are done using MegaD, and quit the
  1586.                               program, MegaD will save it's preference
  1587.                               file.  This way you will never need to worry
  1588.                               about saving the changes.   Eventually saving
  1589.                               the preference file each time you quit will
  1590.  
  1591.  
  1592.                               MegaD 2.00  Tutorial, Copyright © 1992
  1593.  
  1594.  
  1595.  
  1596.  
  1597.  
  1598.                                              Simple One Window Commands  28
  1599.  
  1600.                               be a waist of time, we will show you how to
  1601.                               change this setting later.
  1602.  
  1603.      Simple Commands          The first set of commands that I am going to
  1604.                               go though will be the simple commands that
  1605.                               work without a source and destination
  1606.                               directory.  Commands such as 'Set Protect',
  1607.                               Create Dir'  'View Text'...   They are simple
  1608.                               to explain and so it will be the best place
  1609.                               to start.
  1610.  
  1611.      Delete Command           Place your Tutorial: disk in any of your
  1612.                               floppy disk drives.  Select the 'Tutorial:'
  1613.                               device gadget.   The Tutorial: disk will load
  1614.                               and the directory will be placed into a
  1615.                               directory window.  In the newly opened
  1616.                               'Tutorial' window, you will see a number of
  1617.                               directories and files ('C', 'Devs',
  1618.                               'Expansion', etc).  One of these directories
  1619.                               is labelled 'C'.  Double click on this 'C'
  1620.                               directory in the 'Tutorial' text window.  The
  1621.                               'C' directory will load and replace the
  1622.                               'Tutorial:' directory list in the open
  1623.                               window.  This directory contains upwards of
  1624.                               165,000 bytes of files.  We are going to need
  1625.                               some room on this disk to perform some future
  1626.                               functions so we will delete most of the files
  1627.                               in this directory.  We will drag select the
  1628.                               first few items in the directory window. 
  1629.                               Select the top item and drag select (by
  1630.                               holding the select button down) downward
  1631.                               until just before you reach the 'Dir' entry
  1632.                               in this window.  Now release your mouse
  1633.                               select button.  When you release the mouse
  1634.                               button, you should notice that approximately
  1635.                               the top 11 files (all the way down to but not
  1636.                               including the 'Dir' file) in this window are
  1637.                               highlighted, and that the remaining (bottom)
  1638.                               files are not highlighted.  We do not want to
  1639.                               delete the 'Dir' command, we will be using it
  1640.                               for another function later.
  1641.  
  1642.      Final Warning            NOTE:     This is the last time I will warn
  1643.                                         you.  You Must be using a copy of
  1644.                                         your Workbench disk!!!!!
  1645.  
  1646.                               You have now selected a number of files for
  1647.                               some function.  We are going to delete the
  1648.                               files selected.    Remember, we have four
  1649.                               banks of gadget and that the first bank of
  1650.  
  1651.                               MegaD 2.00  Tutorial, Copyright © 1992
  1652.  
  1653.  
  1654.  
  1655.  
  1656.  
  1657.                                              Simple One Window Commands  29
  1658.  
  1659.                               gadget is access when none of the keyboard
  1660.                               shift keys and non of the 'Shift Gadgets' are
  1661.                               selected by the Keypad Gadgets,  The 'Delete"
  1662.                               function is located in the first bank of
  1663.                               gadgets on the second keypad gadget from the
  1664.                               right on the top row.  Select the 'Delete'
  1665.                               gadget.  You will get a requestor that reads
  1666.                               something like this:
  1667.  
  1668.                                        11 File/s marked for delete
  1669.                                     0 Directory/ies marked for delete
  1670.                                                 Continue
  1671.  
  1672.                               With two gadgets in it,  Yes and No.  Select
  1673.                               the Yes gadget.  This can be done with the
  1674.                               mouse or from your keyboard.  Any gadget with
  1675.                               an 'underlined' character in it, can be
  1676.                               selected by using the corresponding key on
  1677.                               your keyboard.
  1678.  
  1679.      Panic Window             A window will open.  This window is called
  1680.                               the Panic Window.  It shows you what MegaD is
  1681.                               currently doing.  It has two gadgets at the
  1682.                               bottom.  Suspend and Cancel.  The Suspend
  1683.                               gadget will suspend the current activity, and
  1684.                               let you think about 'continuing', by hitting
  1685.                               suspend again, or 'aborting' with the Cancel
  1686.                               gadget.
  1687.  
  1688.                               As the file are deleted they will be
  1689.                               displayed in the Panic window.  Once all the
  1690.                               marked files are deleted the Panic window
  1691.                               will close, the directory window will be
  1692.                               updated to show the files that were removed
  1693.                               from it.
  1694.  
  1695.                               Now we will drag select all of the other
  1696.                               items in the 'C' directory leaving the 'Dir'
  1697.                               file entry un-selected.  Select the Delete
  1698.                               gadget once more to remove the rest of the
  1699.                               files from the disk.  You will have noticed
  1700.                               that it took very little time to delete this
  1701.                               large number of files.  This should scare you
  1702.                               just enough to be cautious when using the
  1703.                               Delete function.  Under normal methods the
  1704.                               deleted files are gone forever from that
  1705.                               disk.
  1706.  
  1707.      Rename                   The 'Dir' file should be the only file
  1708.                               remaining in your 'C' directory at this time. 
  1709.  
  1710.                               MegaD 2.00  Tutorial, Copyright © 1992
  1711.  
  1712.  
  1713.  
  1714.  
  1715.  
  1716.                                              Simple One Window Commands  30
  1717.  
  1718.                               Select this 'Dir' directory (by single
  1719.                               clicking on it), and then select the 'Rename'
  1720.                               gadget.  This gadget is in the first bank of
  1721.                               command gadgets.  On the top row, far right
  1722.                               side.   A request window will open that will
  1723.                               have 'Dir' in the string gadget.  Change the
  1724.                               name to "Directory" and press return.  The
  1725.                               filename will change on the disk and in the
  1726.                               directory window to 'Directory'.  Rename the
  1727.                               file back to it's original name 'Dir'.
  1728.  
  1729.      Set Protect              Each Amiga files has a set of BITs that are
  1730.                               associated with it.  They tell the operating
  1731.                               system what it can and can not do with the
  1732.                               file.  The different bits are represented by
  1733.                               letters:
  1734.  
  1735.      Protection Bits          r    The file can be read.
  1736.                               w    The file can be written to (altered).
  1737.                               e    The file is executable (a program (not
  1738.                                    always the case though))
  1739.                               d    The file can be deleted
  1740.                               s    The file is a script.
  1741.                               p    The file is a pure command and can be
  1742.                                    made resident.
  1743.                               a    The file has been archived.
  1744.                               ?    Were not sure. (Commodore/Amiga has not
  1745.                                    finalize what this bit will be used for)
  1746.  
  1747.      Display Protect Bits     To get MegaD to display these bits and their
  1748.                               settings you need to select the menu item
  1749.                               'Show, Protection' so that it has a check
  1750.                               mark in front of it.
  1751.      Reformat Directory
  1752.      Windows                  The open directory window should now be
  1753.                               displaying the protection bits with the
  1754.                               directory items.  If not, select the 'Show,
  1755.                               Reset All' menu item, this will force all
  1756.                               open directory windows to reformat the
  1757.                               information to the 'Show' menu settings.
  1758.  
  1759.                               We left the 'Dir' file in the 'C' directory
  1760.                               of the Tutorial: disk.  If the window to that
  1761.                               directory is not opened, open it now.  Select
  1762.                               the directory entry for 'Dir'.  We are going
  1763.                               to reset the protection bits of that file
  1764.                               with the MegaD 'Set Protect' command.  This
  1765.                               command is located on the first bank of
  1766.                               command gadgets, second row to the far left. 
  1767.                               Select this gadget.  A window will open with
  1768.  
  1769.                               MegaD 2.00  Tutorial, Copyright © 1992
  1770.  
  1771.  
  1772.  
  1773.  
  1774.  
  1775.                                              Simple One Window Commands  31
  1776.  
  1777.                               eight check gadgets.  One check gadget for
  1778.                               each bit.  We want to protect this file from
  1779.                               deletion.  Select the top check gadget, which
  1780.                               is 'd Delete', so that the check mark is not
  1781.                               visible in it.   Then select the Use Gadget. 
  1782.                               The d flag will no longer be visible for the
  1783.                               'Dir' directory item. 
  1784.  
  1785.                               Did it really protect this file from
  1786.                               deletion?  Select the 'Dir' entry once again
  1787.                               and try to use the MegaD Delete command.  You
  1788.                               should end up with a requestor that reads: 
  1789.                                                 File dir
  1790.                                               is protected
  1791.                                              Delete anyway?
  1792.  
  1793.                               Answer No to this requestor, we still need
  1794.                               the 'Dir' file for a later lesson.  MegaD
  1795.                               recognized that the bit was set, and that the
  1796.                               file could not be deleted.  If you would have
  1797.                               answered Yes to the requestor MegaD would
  1798.                               have set the delete bit so that it could be
  1799.                               deleted, and delete it.
  1800.  
  1801.      Auto Destination         Place the Tutorial: disk in one of the
  1802.                               drives if it is not already.  Then select the
  1803.                               Tutorial: device gadget to open a directory
  1804.                               window to it.  You will notice that the
  1805.                               'Dest'ination gadget is selected in this
  1806.                               window.  MegaD selects the active directory
  1807.                               window on the screen as the destination
  1808.                               directory.  Some of MegaD commands require
  1809.                               that a destination window be available.
  1810.  
  1811.      Create Directory         The 'Create Dir' command is one of those
  1812.                               commands that needs a destination.
  1813.  
  1814.                               The 'Create Dir' command gadget is located in
  1815.                               the first bank of command gadgets, second
  1816.                               row, second from the left of the window. 
  1817.                               Select this gadget and a requestor will open
  1818.                               to the screen that should read:
  1819.                                           Destination Directory
  1820.                                                 Tutorial:
  1821.                                          Enter the new name for
  1822.                                          the directory to create
  1823.  
  1824.                               It will have a string gadget to enter a
  1825.                               directory name to create in the current
  1826.                               destination directory.  Enter 'My_directory'
  1827.  
  1828.                               MegaD 2.00  Tutorial, Copyright © 1992
  1829.  
  1830.  
  1831.  
  1832.  
  1833.  
  1834.                                              Simple One Window Commands  32
  1835.  
  1836.                               into the string gadget.  Then press return,
  1837.                               remember that any requestor that has only one
  1838.                               string gadget, pressing 'return' in that
  1839.                               string gadget is the same as hitting the
  1840.                               'Use' gadget.
  1841.  
  1842.                               The new directory "My_directory" will be
  1843.                               created on the disk, and the window will be
  1844.                               updated to show the change.  MegaD also
  1845.                               created a drawer icon with this directory as
  1846.                               "My_directory.info".  This 'auto-icon'
  1847.                               feature can be disabled (and we'll show you
  1848.                               how later on).
  1849.  
  1850.      Text Reader              MegaD has a very powerful built in text
  1851.                               reader which can be used to read any text
  1852.                               file.  It will read non-text files or word
  1853.                               processor files to, but the formatting of the
  1854.                               text may be somewhat erratic.  On the
  1855.                               Tutorial: disk you will find some text files
  1856.                               in the S: directory.  This is the Amiga
  1857.                               Startup drawer and many script files can be
  1858.                               found there.  We are going to get MegaD to
  1859.                               read and place the information found in one
  1860.                               of the files in to a text window.  
  1861.  
  1862.      Loading a text file      Open a Directory Window for the Tutorial:
  1863.                               disk if one is not already opened.  Double
  1864.                               click the 'S' directory so that MegaD will
  1865.                               read the 'S' directory and swap it into the
  1866.                               same window.  Single select the
  1867.                               "Startup-sequence" file.  With that file
  1868.                               highlighted select the command gadget "View
  1869.                               Text", it is found in the first bank of
  1870.                               command gadgets, second row, second from the
  1871.                               right.  The file will be read from the disk
  1872.                               and place into a text window.
  1873.  
  1874.      Text Window Parts        This window has the same type of
  1875.                               proportional gadgets and arrow step gadgets
  1876.                               that a Directory Window has.   They work in
  1877.                               the same manner as the Directory Window did
  1878.                               except that they move your view position of
  1879.                               the text to other unseen areas.
  1880.  
  1881.      Text Window Menu         You will find that the text window has it's
  1882.                               own menu.  This menu will let you do a wide
  1883.                               variety of functions such as set the text
  1884.                               color, print the text visible in the window
  1885.                               or the whole text file.   It has cursor moves
  1886.  
  1887.                               MegaD 2.00  Tutorial, Copyright © 1992
  1888.  
  1889.  
  1890.  
  1891.  
  1892.  
  1893.                                              Simple One Window Commands  33
  1894.  
  1895.                               to jump to the first or last of the file. It
  1896.                               will let you search for a string of
  1897.                               characters.
  1898.  
  1899.      Text Window Keys         Many of the keys on your keyboard will
  1900.                               perform the same functions as your menu. 
  1901.                               This is a list of them.
  1902.                                                   Text 
  1903.                               Window Keypad
  1904.  
  1905.                               Key  Key Front      Action
  1906.  
  1907.                               8    Up Arrow       Cursor up one line
  1908.                               2    Down Arrow     Cursor down one line
  1909.                               4    Left Arrow     Cursor left one line
  1910.                               6    Right Arrow    Cursor right one line
  1911.                               7    Home           First of text file
  1912.                               1    End            Last of text file
  1913.                               (    NumL           Toggle hex mode
  1914.                               0    Ins            Repeat last search
  1915.                               .    Del            Search string
  1916.                               9    Pg Up          Page up once
  1917.                               3    Pg Dn          Page down once
  1918.  
  1919.                               Your cursor keys will move the text in the
  1920.                               window in the same direction as the keys
  1921.                               point.
  1922.  
  1923.                               The window close gadget or your 'Esc' key
  1924.                               will close the text window. Close this text
  1925.                               window.
  1926.  
  1927.      Double Click Text File   We will load the same text file again but we
  1928.                               will not use the 'View Text' command gadget. 
  1929.                               Double click the text file the same as you
  1930.                               would double click an icon on the Workbench. 
  1931.                               MegaD will check the file to see if it
  1932.                               contains text and if so it will load the text
  1933.                               in to a text window.  This, I am sure will
  1934.                               become your standard way to load a text file,
  1935.                               the double click of a known text file will
  1936.                               become second nature to read it.  Once again
  1937.                               close this text window.
  1938.  
  1939.      Multiple Text Windows    As I said MegaD, has a very powerful text
  1940.                               viewer, but what we have seen so far is not
  1941.                               all that uncommon.  What makes the MegaD's
  1942.                               text viewer so unique is the fact that you
  1943.                               may have as many text windows open at one
  1944.                               time as you like and your system memory will
  1945.  
  1946.                               MegaD 2.00  Tutorial, Copyright © 1992
  1947.  
  1948.  
  1949.  
  1950.  
  1951.  
  1952.                                              Simple One Window Commands  34
  1953.  
  1954.                               allow.  To demonstrate this I want you to
  1955.                               select about three files in the 'Tutorial:S'
  1956.                               directory.  With those three files selected
  1957.                               select the 'View Text' command gadget.  MegaD
  1958.                               will load all of the selected text files and
  1959.                               place each one in a different text window.
  1960.      Manipulating Multiple
  1961.      Text Windows             You can toggle through all of the text window
  1962.                               by using your 'F7' function key.  Each time
  1963.                               you press 'F7' the next text window will be
  1964.                               moved to the front of the screen.
  1965.  
  1966.                               We are now done with text windows, so close
  1967.                               all of the text windows that you just opened.
  1968.  
  1969.      File Comments            Each directory entry in a directory list can
  1970.                               have a file comment associated with it.  The
  1971.                               comment is a good place to keep special
  1972.                               notes with your files.  Maybe the file is
  1973.                               associated with another file such as a
  1974.                               program, yet the name of the file does not
  1975.                               seem to relate to it.  By adding a comment
  1976.                               that tells you of this association to a file
  1977.                               it can be easily identified at a later time.
  1978.  
  1979.                               The comment can be up to 79 characters long. 
  1980.                               It can say anything you want it to say. 
  1981.                               Adding comments to your files will not use
  1982.                               anymore space on your disk, the space that
  1983.                               the comment is stored is allocated away from
  1984.                               your free disk space at the time the file or
  1985.                               directory was created.
  1986.  
  1987.                               Once again we will need to have the
  1988.                               Tutorial: directory window open to the
  1989.                               screen. Select the first item in this
  1990.                               window.  Now that the directory item is
  1991.                               selected select the 'File Comment' command
  1992.                               gadget, this command is in the first bank,
  1993.                               bottom row, far left.  It is actually two
  1994.                               gadgets wide, to represent the '0' key on
  1995.                               your keypad.  Once you select this command a
  1996.                               request window will open that should read
  1997.                               like this:
  1998.                                             Source Directory
  1999.                                                 Tutorial:
  2000.                                              Source Filename
  2001.                                                     C
  2002.                                           Destination Directory
  2003.                                                 Tutorial:
  2004.  
  2005.                               MegaD 2.00  Tutorial, Copyright © 1992
  2006.  
  2007.  
  2008.  
  2009.  
  2010.  
  2011.                                              Simple One Window Commands  35
  2012.  
  2013.                                           Enter comment to add
  2014.                                               to this file
  2015.  
  2016.                               A string gadget is in the bottom that reads:
  2017.                                               File comment
  2018.  
  2019.                               And finally four select gadgets:
  2020.                                         Use,  All,  Skip,  Cancel
  2021.  
  2022.                               In the string gadget type 'This is a comment'
  2023.                               and press return.  The comment will be
  2024.                               written to the disk for that file or
  2025.                               directory, in my case it was the directory
  2026.                               'C'.
  2027.  
  2028.                               The comment should not be visible.  But an
  2029.                               '*' was place in the line that we selected to
  2030.                               enter the comment for.
  2031.  
  2032.      Set Show Comment         To actually see the comment in the Directory
  2033.                               Window you will need to set the menu item
  2034.                               'Show, Comment' so that a check mark is in
  2035.                               front of the 'Comment'.  If the comment is
  2036.                               still not visible select the 'Show, Reset
  2037.                               All" menu item to force reformatting of all
  2038.                               open directory window.
  2039.      Setting Multiple 
  2040.      Comments                 You may set groups of files with the same
  2041.                               comment.  This is the purpose of the 'All'
  2042.                               gadget that was in the 'Set Comment'
  2043.                               requestor.  At this moment I want you to drag
  2044.                               select all of the files in the Tutorial:
  2045.                               Directory Window.  Select the 'File Comment'
  2046.                               command gadget.  Now in the requestors string
  2047.                               gadget enter 'All have a comment' and instead
  2048.                               of pressing return select the All gadget.
  2049.                               This will only take a moment and all of the
  2050.                               entries in this directory will have the file
  2051.                               comment 'All have a comment' associated with
  2052.                               them.
  2053.  
  2054.                               Before we leave this section select the menu
  2055.                               item 'Show, None'.  This will un-clutter the
  2056.                               directory windows while we go though the
  2057.                               Tutorial.   Later you will find that you like
  2058.                               to have certain file attributes showing such
  2059.                               as the size of the file.  But for now we are
  2060.                               more interested in learning the commands and
  2061.                               the less clutter we have the easer it will
  2062.                               be.
  2063.  
  2064.                               MegaD 2.00  Tutorial, Copyright © 1992
  2065.  
  2066.  
  2067.  
  2068.  
  2069.  
  2070.                                              Simple One Window Commands  36
  2071.  
  2072.  
  2073.      Update Dir               I will not be teaching you how to use this
  2074.                               function as much as when to use this
  2075.                               function.  
  2076.  
  2077.      Buffered Directories     MegaD buffers directories.  This means that
  2078.                               MegaD stores a copy of the disk structure in
  2079.                               the computers memory.  It does this so that
  2080.                               you do not have to wait for the directory to
  2081.                               reload when you need it again.  One of the
  2082.                               pitfalls this method is that if the directory
  2083.                               is changed on the disk by another program
  2084.                               other than MegaD, MegaD's buffered directory
  2085.                               will be inaccurate.  An example of this would
  2086.                               be:
  2087.                                    You use MegaD to open a Directory Window
  2088.                                    to the directory that you store your
  2089.                                    word processing files.  You switch to
  2090.                                    using the word processor, create a new
  2091.                                    file and save that new file in your word
  2092.                                    processing file directory.  You switch
  2093.                                    back to using MegaD so that you may do
  2094.                                    something with the file that you just
  2095.                                    saved using your word processor and
  2096.                                    find that the newly created file is not
  2097.                                    listed with the other items in the
  2098.                                    directory.  MegaD simply does not know
  2099.                                    that the new file exists.
  2100.  
  2101.                               'Update Dir' only updates the destination
  2102.                               directories on the screen.  Selecting the
  2103.                               'Update Dir' gadget while the 'Dest'ination
  2104.                               gadget is selected for this window will force
  2105.                               MegaD to reload the directory and re-display
  2106.                               any new information found.
  2107.  
  2108.                               'Update Dir' is located on the first bank of
  2109.                               command gadgets bottom row, far right hand
  2110.                               side.
  2111.  
  2112.      Select/Clear commands    You may have notice that I have skipped over
  2113.                               the commands that start with 'Select',
  2114.                               'Clear', 'Sel' and 'Clr'.  You will find a
  2115.                               wide variety of these types of commands on
  2116.                               both first bank and the second bank of the
  2117.                               command gadgets.  They work on open Directory
  2118.                               Windows in different ways.  They all ether
  2119.                               select or clear (un-select) items in
  2120.                               Directory Window.  Some work on all items,
  2121.                               some only work of files or directory items,
  2122.  
  2123.                               MegaD 2.00  Tutorial, Copyright © 1992
  2124.  
  2125.  
  2126.  
  2127.  
  2128.  
  2129.                                              Simple One Window Commands  37
  2130.  
  2131.                               some only work on source Directory Window.  
  2132.                               Most of them are very simple, Such as 'Select
  2133.                               All', by selecting this Command Gadget all
  2134.                               items in all open Directory Windows will
  2135.                               become selected.  'Clr dir' will clear or un-
  2136.                               select all directories in open Directory
  2137.                               Window.  'SelSrcFile' will select all source
  2138.                               (non-'Dest'ination windows) files in open
  2139.                               Directory Window.  
  2140.  
  2141.                               All in all there are 14 of these types of
  2142.                               commands.  You may want to play around with
  2143.                               these.  There is not a lot to them except for
  2144.                               two special types.  Patterns and ABoot
  2145.                               (AutoBoot).  'Patterns' can be confusing. 
  2146.                               They work much the same as 'Filters' and
  2147.                               'Find'.  These three will be discussed later
  2148.                               in the Tutorial.  ABoot (AutoBoot) requires
  2149.                               an AutoBoot to have been defined before it
  2150.                               can be used so this too will have to wait
  2151.                               until we can dig into the concept and use of
  2152.                               AutoBoots.
  2153.  
  2154.      Duplicate                'Duplicate' is used to create a new copy of a
  2155.                               file or directory in the same directory that
  2156.                               the file or directory is in.  The duplicate
  2157.                               file or directory needs to have a different
  2158.                               name than the original, this being that you
  2159.                               can not have two files or directories of the
  2160.                               same name in any particular directory.
  2161.  
  2162.                               The 'Duplicate' Command Gadget is found in
  2163.                               the second (Ctrl) bank on the second row,
  2164.                               far left of the Command Gadgets.  Again we
  2165.                               will need to have the Tutorial: directory
  2166.                               window open to the screen.  If you have been
  2167.                               going along with this Tutorial you should
  2168.                               have only one item left in the 'C' directory
  2169.                               of this disk.  Double click the 'Tutorial:C'
  2170.                               directory to read and display the contents. 
  2171.                               Here we have the "Dir" file that was renamed
  2172.                               to "Directory" and then back to "Dir".  We
  2173.                               are going to make a duplicate of this file.
  2174.  
  2175.      Duplicate a File         Select the directory item "Dir" in the
  2176.                               Tutorial:C Directory Window.  Select the
  2177.                               'Duplicate' Command Gadget.  A request window
  2178.                               will open that should reads:
  2179.                                             Source Directory
  2180.                                                Tutorial:C
  2181.  
  2182.                               MegaD 2.00  Tutorial, Copyright © 1992
  2183.  
  2184.  
  2185.  
  2186.  
  2187.  
  2188.                                              Simple One Window Commands  38
  2189.  
  2190.                                              Source Filename
  2191.                                                    Dir
  2192.                                           Destination Directory
  2193.                                                Tutorial:C
  2194.                                              Enter filename
  2195.                                        to duplicated this file as
  2196.  
  2197.                               You will also find a string gadget that is
  2198.                               titled "Filename" and in this string gadget
  2199.                               you will find the original name of the file
  2200.                               that you wish to duplicate, "Dir".
  2201.  
  2202.                               Change the string in this string gadget to
  2203.                               read.  "Duplicated" and press the return
  2204.                               key.  The file will be copied to the same
  2205.                               directory under the name "Duplicated". The
  2206.                               Directory Window will be updated to show the
  2207.                               new file.  This same command will work on
  2208.                               full directories if you wish to do so.
  2209.  
  2210.      Go Deep                  'Go Deep' is used to read and place the
  2211.                               selected directories or volumes into MegaD's
  2212.                               buffers.  You may find other reasons to use
  2213.                               this command but its main purpose is to
  2214.                               calculate how many bytes of disk space a
  2215.                               particular directory or set of directories
  2216.                               take up to store on disk.
  2217.  
  2218.      Set Show Size            To better see how this works, select the
  2219.                               menu item 'Show, Size' so that a 'check mark'
  2220.                               is in front of the menu item.  Once again we
  2221.                               will need to have the Tutorial: directory
  2222.                               window open to the screen.  The size of
  2223.                               files and directories will now be displayed
  2224.                               in the Directory Windows.
  2225.  
  2226.                                If the size of the files are not being
  2227.                               shown, select the menu item, 'Show, Reset
  2228.                               All' to force the re-display of all open
  2229.                               Directory Windows.
  2230.  
  2231.      Calculating Directory
  2232.      Sizes                    You will notice that the directories in this
  2233.                               window show "(dir)" in the same column that
  2234.                               the files of the window show the file size. 
  2235.                               MegaD can not tell how many bytes of disk
  2236.                               space a directory uses until that full
  2237.                               directory has been buffered.  We will tell it
  2238.                               to read and buffer one of the directories. 
  2239.                               Select the "Devs" entry of the "Tutorial:"
  2240.  
  2241.                               MegaD 2.00  Tutorial, Copyright © 1992
  2242.  
  2243.  
  2244.  
  2245.  
  2246.  
  2247.                                              Simple One Window Commands  39
  2248.  
  2249.                               Directory Window.  Now select the 'Go Deep'
  2250.                               Command Gadget.  It is located on the second
  2251.                               (Ctrl) Command Gadgets bank, second row, far
  2252.                               right.  After doing so MegaD will read and
  2253.                               buffer any selected directory in any open
  2254.                               Directory Window.  Once it has finished
  2255.                               reading the directory it will calculate the
  2256.                               actual space used by this directory and
  2257.                               replace the "(dir)" with that information.
  2258.  
  2259.      Empty Directories        If the directory is empty the size will not
  2260.                               be shown and it will be left displaying
  2261.                               "(dir)".
  2262.  
  2263.                               'Go Deep' will also work on multiple groups
  2264.                               of selected directories.  Drag Select the
  2265.                               first three or so directory items in the
  2266.                               Tutorial: Directory Window, be sure not to
  2267.                               select all of them.  There is one more
  2268.                               variation on the 'Go Deep' command that I
  2269.                               want to show you later on that will need a
  2270.                               few other directories to read and buffer. 
  2271.                               After selecting a few other directories
  2272.                               select the 'Go Deep' Command Gadget.  MegaD
  2273.                               will do the same to the selected directories
  2274.                               as it did with the one directory selected
  2275.                               earlier.
  2276.      Buffering a Full
  2277.      Volume                   You may tell MegaD to go deep and buffer the
  2278.                               full volume by selecting the entry of the
  2279.                               volume in the 'Volumes In Memory' list. 
  2280.                               Select the Tutorial: entry in this list and
  2281.                               then select the 'Go Deep' Command Gadget. 
  2282.                               You will notice that the other directories
  2283.                               that are still buffered whiz by at high speed
  2284.                               in the Panic Window.  MegaD knows what is
  2285.                               there and recalculates from memory for those
  2286.                               directories.  It will also read all of the
  2287.                               un-buffered directories on this disk and
  2288.                               buffer and calculate the directories sizes
  2289.                               for them also.  Now you should be able to see
  2290.                               the sizes of all directories that are not
  2291.                               empty.
  2292.  
  2293.      Iconify                  Iconify puts MegaD to sleep so that it can be
  2294.                               called upon later if needed.  Iconify works
  2295.                               differently depending on what operating
  2296.                               system you are using.  
  2297.  
  2298.  
  2299.  
  2300.                               MegaD 2.00  Tutorial, Copyright © 1992
  2301.  
  2302.  
  2303.  
  2304.  
  2305.  
  2306.                                              Simple One Window Commands  40
  2307.  
  2308.      1.3 Iconify              If you are still using Workbench 1.3,
  2309.                               Iconify opens a small window on the Workbench
  2310.                               screen and closed all other MegaD window.  To
  2311.                               reopen MegaD, activate the small window and
  2312.                               select the right mouse button as you would if
  2313.                               you wanted to select a menu item.  This will
  2314.                               reactivate MegaD so that you can use it
  2315.                               again.   MegaD currently supports
  2316.                               Workbench1.3 but in future releases this
  2317.                               support will be removed.  Workbench2.0 offers
  2318.                               much more for both you the user and the
  2319.                               developers.
  2320.  
  2321.      2.0 Iconify              If you are using Workbench2.0 MegaD uses what
  2322.                               is called an Application Icon when in Iconify
  2323.                               mode.  To iconify MegaD, select the menu item
  2324.                               'Project/Iconify'.  Please do so at this
  2325.                               time.  This icon is placed on the Workbench
  2326.                               screen, and looks much like any other icon. 
  2327.                               It will have the title of MegaD 2.xx under
  2328.                               the icon.   The icon can be double clicked to
  2329.                               call MegaD.  In doing so the Control Window
  2330.                               will be reopened.
  2331.      Dropping icons onto
  2332.      the Application Icon     You can also drag and drop other icons onto
  2333.                               the MegaD application icon to have MegaD try
  2334.                               to perform some type of action on the items
  2335.                               dropped.  At the very least, this action will
  2336.                               reopen the Control Window.  Here is a list of
  2337.                               things that could be dropped onto the MegaD
  2338.                               application icon and what will happen.
  2339.  
  2340.      Drop a Disk Icon.        By dropping the disk icon onto the
  2341.                               application icon MegaD, will reopen and load
  2342.                               the volume dropped and open a Directory
  2343.                               Window to display it's contents.
  2344.  
  2345.      Drop a Drawer Icon       By dropping a drawer icon onto the
  2346.                               application icon MegaD will reopen and load
  2347.                               the drawer dropped and then open a Directory
  2348.                               Window to display it's contents.
  2349.  
  2350.      Drop a Program Icon      By dropping a program Icon onto the
  2351.                               application icon, MegaD will reopen and open
  2352.                               a window called "Program Control" that will
  2353.                               allow you to run the program in a number of
  2354.                               different ways.  This window is complex and
  2355.                               will be explained when we get into using
  2356.                               AutoBoots, User Gadgets, and Menu sets
  2357.                               later.
  2358.  
  2359.                               MegaD 2.00  Tutorial, Copyright © 1992
  2360.  
  2361.  
  2362.  
  2363.  
  2364.  
  2365.                                              Simple One Window Commands  41
  2366.  
  2367.  
  2368.      Drop a Text File Icon    If you drop a text file icon on to the
  2369.                               application icon, MegaD will reopen, load the
  2370.                               text file and place it into a text window for
  2371.                               viewing.
  2372.  
  2373.      Drop a Project Icon      If you drop a project icon on to the
  2374.                               application icon and MegaD has been trained
  2375.                               to know what to do with that type of data
  2376.                               through the AutoBoot program controls.  This
  2377.                               could be a graphics file and MegaD would call
  2378.                               your favorite graphics viewer.  This could be
  2379.                               a word processor file and MegaD will call the
  2380.                               word processor to allow you to edit it.
  2381.  
  2382.      Application Menu         Along with the Application Icon being placed
  2383.                               onto the Workbench screen another feature of
  2384.                               Workbench2.0 is used.  Two new menu items
  2385.                               will be placed into the Workbench Tool menu. 
  2386.                               One is "Call MegaD" to reopen the MegaD
  2387.                               Control Window and the other is "Quit MegaD"
  2388.                               to quit and unload the MegaD code that is in
  2389.                               memory at the moment.  To illustrate this
  2390.                               feature, please iconify MegaD by selecting
  2391.                               the menu item 'Project/Iconify'.  Notice that
  2392.                               all MegaD  directory windows and the MegaD
  2393.                               control window disappear.  Further notice
  2394.                               that a new MegaD icon was created on your
  2395.                               Workbench screen.  With MegaD still
  2396.                               iconified, select the Workbench menu item
  2397.                               'Tools/Call MegaD'.  Notice that the MegaD
  2398.                               control window reopens.  If you were
  2399.                               observant when you selected the Workbench
  2400.                               menu item 'Tools/Call MegaD', you noticed
  2401.                               another menu item labelled 'Tools/Quit
  2402.                               MegaD'.  These are the two application menus
  2403.                               when MegaD is iconified
  2404.  
  2405.      Quitting MegaD           MegaD has five ways to quit and unload the
  2406.                               program code from memory.  One, the window
  2407.                               close gadget in the Control Window. Two, the
  2408.                               Quit menu item in the project menu. Three
  2409.                               Right-Amiga Q, the menu equivalent of 'Quit'. 
  2410.                               Four, the Command Gadget 'Quit'.  And five,
  2411.                               the "Application Menu", "Tools, Quit MegaD"
  2412.                               from the Workbench screen.  All four do
  2413.                               exactly the same thing.  The 'Quit' Command
  2414.                               Gadget is located on the second (Ctrl) bank,
  2415.                               bottom row, second from the right of the
  2416.                               Command Gadgets.
  2417.  
  2418.                               MegaD 2.00  Tutorial, Copyright © 1992
  2419.  
  2420.  
  2421.  
  2422.  
  2423.  
  2424.                                              Simple One Window Commands  42
  2425.  
  2426.  
  2427.      Disk Labels              MegaD has a complete facility for creating
  2428.                               disk labels with very little effort.  A
  2429.                               printer is required to create them.  MegaD
  2430.                               can be set to use any size label.  It comes
  2431.                               set at default to work with an Avery brand
  2432.                               pin fed label.  The product number is 4241. 
  2433.                               But as mentioned it can be set to use the
  2434.                               label of your choice and this is done by the
  2435.                               menu item 'Project, Defaults'.
  2436.  
  2437.                               Labels can be created from scratch
  2438.                               (manually) or from information selected in
  2439.                               the directory window for a volume.
  2440.  
  2441.      Manual Label             To create a label manually, Be sure that
  2442.                               there are no items selected in any of the
  2443.                               Directory Windows and that none of the
  2444.                               'Volumes In Memory' items are selected. 
  2445.                               Select the 'Label' Command Gadget that is
  2446.                               located on the third (shift) bank, second
  2447.                               row, far left.  A window will open titled
  2448.                               "Manual Labels".  This window has 15 string
  2449.                               gadgets and two booleen gadgets.  The topmost
  2450.                               string gadget is used to enter the volume
  2451.                               name.  This name is printed on the label in
  2452.                               two places.  Once where it can be seen at the
  2453.                               top where the label folds over the top of the
  2454.                               disk.  The second time on the front of the
  2455.                               label to title it.  The other 14 string
  2456.                               gadgets are there to enter whatever you want
  2457.                               printed below the title.  To print the label
  2458.                               select the Print gadget. To clear all of the
  2459.                               strings for a new label select the Clear
  2460.                               gadget.  The window close gadget will close
  2461.                               the window.  The 'Q' keyboard key will do
  2462.                               the same function as the window close
  2463.                               gadget.
  2464.  
  2465.      Auto Labels              The second and quickest way to create a
  2466.                               label is to select items in an open Directory
  2467.                               Window or to select the volume name in the
  2468.                               'Volumes In Memory' list.  After doing so and
  2469.                               then selecting the Command Gadget 'Label'
  2470.                               MegaD will print the selected information on
  2471.                               to the disk label.
  2472.  
  2473.                               I suggest that your load the Tutorial:
  2474.                               volume into a Directory Window and try the
  2475.                               different modes of the label print.  Print to
  2476.  
  2477.                               MegaD 2.00  Tutorial, Copyright © 1992
  2478.  
  2479.  
  2480.  
  2481.  
  2482.  
  2483.                                              Simple One Window Commands  43
  2484.  
  2485.                               plain paper so not to waist any labels and
  2486.                               this will give you an idea of how simple it
  2487.                               can be to create labels for your disks.
  2488.  
  2489.      Label Align              Label align is used to help you align the
  2490.                               labels in your printer before actually
  2491.                               printing them.  It needs to be done only
  2492.                               once each time you load the pin fed labels
  2493.                               into your printer.  
  2494.  
  2495.                               Label align prints two dots to the printer. 
  2496.                               The dots should be just above the label as to
  2497.                               not write on the label and should be centered
  2498.                               over the label.  You may select Command
  2499.                               Gadget 'Label Align' as often as you wish and
  2500.                               the label will not be advance in the
  2501.                               printer.  The Command Gadget 'Label Align' is
  2502.                               located on the third (shifted) bank, second
  2503.                               row, second from the left of the Command
  2504.                               Gadgets.
  2505.  
  2506.      Label Modify             'Lab. Modify' is a combination of the auto
  2507.                               label and manual label modes.  It places
  2508.                               selected information found in the ''Volumes
  2509.                               In Memory'' list or open Directory Window
  2510.                               into the manual label window.  This allows
  2511.                               you to preview it and modify, before it is
  2512.                               sent to the printer.  The best way to
  2513.                               understand this is to select a few items in
  2514.                               Tutorial: Directory Window and select the
  2515.                               Command Gadget 'Lab. Modify', this is located
  2516.                               on the third (shifted) bank, second row,
  2517.                               second from the right.  The manual label
  2518.                               window will open and the information will be
  2519.                               placed into the window for modification. 
  2520.                               Select Print, Clear or close the window
  2521.                               depending on what you want to do from this
  2522.                               point.
  2523.  
  2524.      Duplicate Disk Labels    'Label Times' work the same as Label does
  2525.                               only it will give you a requestor before
  2526.                               printing the label and allow you to specify
  2527.                               how many duplicates you need at the time.  
  2528.                               Select a couple of items in the Tutorial:
  2529.                               Directory Window and select the Command
  2530.                               Gadget 'Label Times', it is located on the
  2531.                               third (shifted) bank second row far right. 
  2532.                               Once doing so a requestor will open that will
  2533.                               read:
  2534.  
  2535.  
  2536.                               MegaD 2.00  Tutorial, Copyright © 1992
  2537.  
  2538.  
  2539.  
  2540.  
  2541.  
  2542.                                              Simple One Window Commands  44
  2543.  
  2544.                                        Enter the number of labels
  2545.                                        you wish to print for each
  2546.                                               marked volume
  2547.  
  2548.                               A string gadget title "Number of labels" will
  2549.                               be active, and will allow you to enter the
  2550.                               quantity of labels to print.  Enter a
  2551.                               quantity if you want and press return or hit
  2552.                               the Cancel gadget to abort the operation.
  2553.  
  2554.      Directory listings       MegaD allows you to create, and then save or
  2555.                               print a list of selected items in Directory
  2556.                               Windows.  The format and sort order of this
  2557.                               list depends upon the settings you have
  2558.                               selected in the 'Show' menu.  This feature
  2559.                               may not be abundantly clear at present, so
  2560.                               let me explain.
  2561.  
  2562.      Output File              If a directory is selected 'Output File' will
  2563.                               create a list of all files and sub-
  2564.                               directories found in the selected directory. 
  2565.                               The same is true if a volume is selected in
  2566.                               the 'Volumes In Memory' list.  It will create
  2567.                               a complete directory listing of all files and
  2568.                               directories on the selected volumes.
  2569.  
  2570.                               To demonstrate this we will we will need to
  2571.                               have the Tutorial: directory window open to
  2572.                               the screen.  'Output File' requires a
  2573.                               'Dest'ination window to be available for it
  2574.                               to write the file to.  By opening the
  2575.                               Tutorial: Directory Window the 'Dest'ination
  2576.                               gadget of the Tutorial: Directory Window
  2577.                               should have been automatically selected by
  2578.                               MegaD.  If it is not, select it before
  2579.                               continuing.
  2580.  
  2581.                               Select a couple of directories and a few of
  2582.                               the files in the Tutorial: Directory Window. 
  2583.                               Then select the Command Gadget 'Output File',
  2584.                               it is located on the third (shifted) bank of
  2585.                               Command Gadgets, Third row, far left.  After
  2586.                               doing so a request window will open
  2587.                               displaying this information:
  2588.  
  2589.                                           Destination Directory
  2590.                                                 Tutorial:
  2591.                                          Enter output filename 
  2592.                                                    for
  2593.                                           Destination Directory
  2594.  
  2595.                               MegaD 2.00  Tutorial, Copyright © 1992
  2596.  
  2597.  
  2598.  
  2599.  
  2600.  
  2601.                                              Simple One Window Commands  45
  2602.  
  2603.  
  2604.                               Below will be an active string gadget titled
  2605.                               "Filename", enter "DirList" into this string
  2606.                               gadget and press return.  The selected
  2607.                               directories will be read from the disk and
  2608.                               all of the selected information will be
  2609.                               written to the file "DirList" in the
  2610.                               directory Tutorial:. The Tutorial: Directory
  2611.                               Window will be updated to show the new file
  2612.                               that has just been written.  Now to take a
  2613.                               quick look at what was done, double click the
  2614.                               "DirList" file and MegaD will load and place
  2615.                               that file in a text window so that it can be
  2616.                               viewed.
  2617.  
  2618.      Output Format            Each new level of sub-directories is indented
  2619.                               four spaces.  If any particular directory
  2620.                               contains more than one file, then that
  2621.                               directory's file list will be two columns
  2622.                               wide.
  2623.  
  2624.                               There is a slight variation to how the list
  2625.                               can be printed.  If you want tree lines to
  2626.                               help trace the directories and sub-directory
  2627.                               structures, you will find an option in the
  2628.                               Output Menu that can be checked to do this. 
  2629.                               Place a check by the menu item 'Output,
  2630.                               W/Tree Lines'.  Now perform the actions
  2631.                               required to create another directory listing
  2632.                               and place that file into a text window just
  2633.                               as we did before.  Now you can compare the
  2634.                               difference of the two outputs.
  2635.  
  2636.                               We can create a full listings of the volume
  2637.                               by selecting the Tutorial: entry in the
  2638.                               'Volumes In Memory' list.  After doing so
  2639.                               select the 'Output File' option again.  After
  2640.                               answering the requestor, MegaD will read
  2641.                               through all of the directories and sub
  2642.                               directories creating a list of everything
  2643.                               that can be found on the volume.
  2644.  
  2645.                               I find that this output directory list is
  2646.                               very valuable when I am looking to free up a
  2647.                               little space on my hard drive.  Once the
  2648.                               list is made I can scan through it looking
  2649.                               for old files that can be archived or
  2650.                               deleted.  Programs that I no longer have the
  2651.                               need to keep readily available.
  2652.  
  2653.  
  2654.                               MegaD 2.00  Tutorial, Copyright © 1992
  2655.  
  2656.  
  2657.  
  2658.  
  2659.  
  2660.                                              Simple One Window Commands  46
  2661.  
  2662.      Output Prt               This is the twin brother of the above
  2663.                               described Output File.  The only different
  2664.                               between the Two is this will send the output
  2665.                               to the printer through the PRT: device.
  2666.  
  2667.      MegaD's Spooler          MegaD uses it's own spooler while doing any
  2668.                               printing task.  This lets you continue using
  2669.                               MegaD while your printer is printing away.
  2670.  
  2671.      Cancel print jobs        There are two special menu items that allow
  2672.                               you to communicate with the spooler.  You
  2673.                               will find them under the 'Panic' menu.  They
  2674.                               are 'CANCEL PRINT' and 'CANCEL ALL PRINT'.
  2675.                               'CANCEL PRINT' will end the current print
  2676.                               job and go on to the next job if one is
  2677.                               waiting.  'CANCEL ALL PRINT' will cancel all
  2678.                               print task waiting and the current print job.
  2679.  
  2680.      Printing Text Files      'Prt Text' will send a selected text file in
  2681.                               any of the open Directory Windows to the
  2682.                               spooler which in turn will send it to the
  2683.                               printer.  It will do some minor checking to
  2684.                               see if the file can be printed.  It will not
  2685.                               let you try to print an executable file and
  2686.                               it skips over .info files.  MegaD is smart
  2687.                               enough to prevent the printing of executable
  2688.                               files and .info files; however, it cannot
  2689.                               distinguish between text files and word
  2690.                               processor formatted files.  If you attempt to
  2691.                               send a word processor formatted file to the
  2692.                               printer with MegaD, the output will not be
  2693.                               legible.  A good test to be sure that the
  2694.                               file is a text file is to double click the
  2695.                               file or used the 'View Text' option to see if
  2696.                               it will be read and placed into a text
  2697.                               window.
  2698.  
  2699.                               If you do not have a printer connected to
  2700.                               your Amiga this option will not be of any
  2701.                               value to you and you should not perform the
  2702.                               following actions.
  2703.  
  2704.                               We will once again need a window open to the
  2705.                               "S" directory on the Tutorial: disk.  Mark
  2706.                               the Startup-Sequence file so that it is
  2707.                               selected in the window.  Then select he
  2708.                               Command Gadget 'Prt Text' found on the third
  2709.                               (shifted) bank, third row, second from the
  2710.                               right.  In a few moments the document will
  2711.                               begin to be printed to your printer.
  2712.  
  2713.                               MegaD 2.00  Tutorial, Copyright © 1992
  2714.  
  2715.  
  2716.  
  2717.  
  2718.  
  2719.                                              Simple One Window Commands  47
  2720.  
  2721.  
  2722.                               You may select one or more text files and the
  2723.                               'Prt Text' command will send all of them to
  2724.                               the printer one after the other.  Though I do
  2725.                               not suggest that you do this now unless you
  2726.                               have a reason to create a number of hard
  2727.                               copies of the text files.
  2728.  
  2729.      Searching Text Files     'Search Text' is used to find a word or
  2730.                               string of text in one or more selected text
  2731.                               files.  For this example we will use the word
  2732.                               "path".  
  2733.  
  2734.                               MegaD searches are not case sensitive.  So
  2735.                               "path" will match to "PATH", "Path",
  2736.                               "pATH"...  as long as it spells "path" the
  2737.                               match will be true.
  2738.  
  2739.                               It will look for the word "path" within
  2740.                               other words, so if it comes across the words
  2741.                               "pathway" it will be a match, though it may
  2742.                               not be what you want.  You can add spaces
  2743.                               before the word and after the word such as
  2744.                               " path " and the match to pathway will not be
  2745.                               true anymore.  But this will prevent path
  2746.                               from being found if it were the first word on
  2747.                               a new line such as "[RETURN]path " or it was
  2748.                               the last word in a sentence that ended with a
  2749.                               period like this " path."
  2750.  
  2751.                               There is a very good chance that the word
  2752.                               "path" can be found in one of the text files
  2753.                               found in the "S" directory on the Tutorial:
  2754.                               disk.  Open a window to this directory and
  2755.                               drag select all of the files found in it. 
  2756.                               Select the Command Gadget 'Search Text'. It
  2757.                               is located on the third (shifted) bank,
  2758.                               forth row, Second from the right.  A
  2759.                               requestor will open that read like this:
  2760.  
  2761.                                           Destination Directory
  2762.                                                Tutorial:S
  2763.  
  2764.                                      Enter the string to search for
  2765.                                            in all marked files
  2766.                                            ?, #?, * permitted
  2767.                                       Include optional filename to
  2768.                                     create a list of locations found
  2769.  
  2770.  
  2771.  
  2772.                               MegaD 2.00  Tutorial, Copyright © 1992
  2773.  
  2774.  
  2775.  
  2776.  
  2777.  
  2778.                                              Simple One Window Commands  48
  2779.  
  2780.                               Below are two string gadgets titled "Search
  2781.                               String" and "Optional filename for list" At
  2782.                               this moment we only want to fill in the first
  2783.                               string gadget "Search String" with "path". 
  2784.                               After typing "path" into the string gadget,
  2785.                               select the "Use" gadgets with the mouse. 
  2786.                               MegaD will start to search though the
  2787.                               selected files.  Hopefully it will find the
  2788.                               word you are searching for.  If so it will
  2789.                               bring up a requestor that reads like this.
  2790.  
  2791.                                                   path
  2792.                                             Was found in path
  2793.                                                Tutorial:S
  2794.                                              under filename
  2795.                                             Startup-sequence
  2796.  
  2797.                                          Open This text window?
  2798.  
  2799.                               Select the Yes gadget so that the text will
  2800.                               be loaded and viewed with a text window.  The
  2801.                               first occurrence of the found string will be
  2802.                               highlighted on the first line of the text
  2803.                               window, any other occurrences, of the found
  2804.                               string, that are visible in the text window
  2805.                               will also be highlighted.  Now close this
  2806.                               text window.
  2807.  
  2808.                               This is fine when you are looking for just
  2809.                               one text file that has a string in it that
  2810.                               you want to find.  But there may be times
  2811.                               that you wish to create a list of all
  2812.                               occurrences of a string in one or more text
  2813.                               files.  To demonstrate this, we will once
  2814.                               again select all of the files in the
  2815.                               "Tutorial:S" directory.  We must be sure that
  2816.                               there is a destination window available.  If
  2817.                               the 'Dest'ination gadget is not selected for
  2818.                               the "Tutorial:S" Directory Window, select it
  2819.                               with your mouse.  Select the Command Gadget
  2820.                               'Search Text' again.  You should notice that
  2821.                               the "Search String" gadget still contains the
  2822.                               "path" string.  Press return on this and the
  2823.                               next string gadget will be activated.  In
  2824.                               this string gadget, "Optional filename for
  2825.                               list" type "findList" and then select the
  2826.                               "Use" gadget.  If any matches are found a
  2827.                               simple message will be placed to the screen,
  2828.                               that should read:
  2829.  
  2830.  
  2831.                               MegaD 2.00  Tutorial, Copyright © 1992
  2832.  
  2833.  
  2834.  
  2835.  
  2836.  
  2837.                                              Simple One Window Commands  49
  2838.  
  2839.                                          path was found 4 times
  2840.                                           and was saved in file
  2841.                                            Tutorial:S/FindList
  2842.  
  2843.                               It will have a single gadget at the bottom
  2844.                               titled "Continue" select this gadget and
  2845.                               MegaD will open a text window of the newly
  2846.                               created text file "findList".  This text will
  2847.                               show the path/s and filename/s that the
  2848.                               string was found in, what lines they were
  2849.                               found on, and a copy of each line the string
  2850.                               was found in.
  2851.  
  2852.                               As a personal note:
  2853.                                    I have found this to be a valuable tool. 
  2854.                                    For example, another program I have,
  2855.                                    "cxref" includes a similar feature, it
  2856.                                    creates a cross reference.  But there
  2857.                                    are times that the cross reference fail
  2858.                                    to list just what I want to find.  The
  2859.                                    'Search Text' feature of MegaD has
  2860.                                    performed well for me at these times,
  2861.                                    creating a very usable list of where I
  2862.                                    can find what I am looking for.
  2863.  
  2864.  
  2865.  
  2866.  
  2867.  
  2868.  
  2869.  
  2870.  
  2871.  
  2872.  
  2873.  
  2874.  
  2875.  
  2876.  
  2877.  
  2878.  
  2879.  
  2880.  
  2881.  
  2882.  
  2883.  
  2884.  
  2885.  
  2886.  
  2887.  
  2888.  
  2889.  
  2890.                               MegaD 2.00  Tutorial, Copyright © 1992
  2891.  
  2892.  
  2893.  
  2894.  
  2895.  
  2896.                                         Source and Destination Commands  50
  2897.  
  2898.                               Source and Destination Commands
  2899.                               ===============================
  2900.  
  2901.                               Up to this point, we have looked at commands
  2902.                               which can be used with only one directory
  2903.                               window.  Hopefully you are now comfortable
  2904.                               with the use of the Control Window and the
  2905.                               Directory Windows.  We have been limited in
  2906.                               what we can do with one window.   Commands
  2907.                               such as 'Copy', 'Copy As', 'Move' and 'Move
  2908.                               As' require two or more windows to work. 
  2909.                               They each require a source and a destination
  2910.                               to perform their task.
  2911.      Destination Window
  2912.      Definition               A destination window is any window that the
  2913.                               'Dest'ination gadget of the Directory Window
  2914.                               is selected.  
  2915.      Source Window 
  2916.      Definition               A source window is any Directory Window in
  2917.                               which (a) the 'Dest'ination gadget is not
  2918.                               selected, and (b) at least one directory item
  2919.                               is selected.
  2920.  
  2921.                               We will confine our use of the system to two
  2922.                               volumes.  The Tutorial: volume and the Ram
  2923.                               Disk: volume.  This way we will not mess up
  2924.                               any important disk while we see what MegaD
  2925.                               can do.  We will also limit ourselves to
  2926.                               using only one source directory and one
  2927.                               destination directory at a time.  Later we
  2928.                               will work with multiples destination and
  2929.                               source directories but not at this moment to
  2930.                               keep confusion to a minimum.
  2931.  
  2932.      Action Warnings          'Copy', 'Copy As', 'Move' and 'Move As' will
  2933.                               warn you before the command is executed and
  2934.                               if you will be writing over the top of
  2935.                               another file.  The warnings can be turned
  2936.                               off.  For now we want to keep them around to
  2937.                               insure that we do not do something we
  2938.                               shouldn't.
  2939.  
  2940.      Auto 'Dest'ination       How to use the auto 'Dest'ination feature. 
  2941.                               MegaD will select the 'Dest'ination gadget of
  2942.                               the currently active Directory Window.  This
  2943.                               is the window that is active on the system,
  2944.                               and can be distinguished from all inactive
  2945.                               windows because it's window border will be a
  2946.                               highlighted color.  The Amiga operating
  2947.                               system can only have one window active on the
  2948.  
  2949.                               MegaD 2.00  Tutorial, Copyright © 1992
  2950.  
  2951.  
  2952.  
  2953.  
  2954.  
  2955.                                         Source and Destination Commands  51
  2956.  
  2957.                               system.  You can have many windows doing
  2958.                               different tasks, but only one of the windows
  2959.                               will accept input from the user.  This input
  2960.                               is usually from the keyboard or the mouse. 
  2961.                               The window can be activated by selecting
  2962.                               anywhere within and on the window borders.
  2963.  
  2964.      Active Window            MegaD uses this active window to decide
  2965.                               which Directory Window to select as the
  2966.                               destination directory.  As you select other
  2967.                               Directory Window to become active the
  2968.                               'Dest'ination gadget will also be selected
  2969.                               with it.
  2970.      Opening Two 
  2971.      Directory Windows        Open two Directory Windows by selecting the
  2972.                               Tutorial: and Ram Disk: device gadgets. 
  2973.                               Watch the 'Dest'ination gadgets of the
  2974.                               windows as they are opened.  You will see the
  2975.                               first Directory Window 'Dest'ination gadget
  2976.                               become selected.  When the next window opens
  2977.                               the 'Dest'ination gadget of that window
  2978.                               becomes selected and the first Directory
  2979.                               Window 'Dest'ination gadget becomes
  2980.                               unselected.  Now that two Directory Windows
  2981.                               are opened, activate the un-active Directory
  2982.                               Window by selecting it, the 'Dest'ination
  2983.                               gadget of the selected Directory Window will
  2984.                               be set.  The selection of Directory Windows
  2985.                               for destination directory becomes second
  2986.                               nature after using MegaD for a time.
  2987.      Last Active Window
  2988.      Destination              For you who are used to the standard two
  2989.                               window directory utility that have been
  2990.                               available for the Amiga, this active window
  2991.                               as the destination will seem backward.  There
  2992.                               is a check mark in the 'Project, Defaults...'
  2993.                               that will switch this to last active window
  2994.                               destination.  Beware, you may not like it
  2995.                               after you find how well MegaD works with
  2996.                               multiple source directories.   
  2997.      Overriding Auto
  2998.      Destination              This feature can be overridden at anytime by
  2999.                               selecting any Directory Window 'Dest'ination
  3000.                               gadgets.  Once the user does this the
  3001.                               'Dest'ination gadget will have a double drawn
  3002.                               border the looks different than any other
  3003.                               selected gadget.  If you have not notice this
  3004.                               yet select any 'Dest'ination gadget on a
  3005.                               Directory Window, the border will change,
  3006.  
  3007.  
  3008.                               MegaD 2.00  Tutorial, Copyright © 1992
  3009.  
  3010.  
  3011.  
  3012.  
  3013.  
  3014.                                         Source and Destination Commands  52
  3015.  
  3016.                               select it again and the 'Dest'ination gadget
  3017.                               will become unselected with a normal border.
  3018.  
  3019.      Copying Files            'Copy' will create a copy of the selected
  3020.                               file or files of a source directory in the
  3021.                               destination directory.  To do this we will
  3022.                               need two Directory Windows open on the
  3023.                               screen.  Select the Tutorial: device gadget
  3024.                               and the Ram Disk: device gadget.  The Two
  3025.                               directories will be loaded and place in
  3026.                               separate Directory Windows.  
  3027.  
  3028.                               If you have been following along from the
  3029.                               start you should find a text file titled
  3030.                               "dirList" in the Tutorial: Directory Window,
  3031.                               if not use any of the .info files in the
  3032.                               Tutorial: Directory Window for this
  3033.                               demonstration.  Select the "dirList" file,
  3034.                               then select the Ram Disk: Directory Window to
  3035.                               activate it, I usually use the top window
  3036.                               border, this way none of the directory items
  3037.                               are accidently selected.  As you activated
  3038.                               it, the 'Dest'ination gadget of the Ram Disk:
  3039.                               Directory Window became selected, showing it
  3040.                               to be the destination directory.
  3041.  
  3042.                               Now select the Command Gadget 'Copy', this is
  3043.                               located on the first bank, top row, far left. 
  3044.                               After doing so you will get a requestor that
  3045.                               reads:
  3046.  
  3047.                                         1 file/s marked for copy
  3048.                                      0 director/ies marked for copy
  3049.                                   to be copied to 1 directory window/s
  3050.                                                 Continue
  3051.  
  3052.                               Select 'Yes' and the file will be copied to
  3053.                               the Ram Disk: and the Directory Window will
  3054.                               be updated to show the newly copied file.
  3055.  
  3056.      Replace File Warning     MegaD will warn you if you are going to write
  3057.                               over the top of an old file, to demonstrate
  3058.                               this will perform the same identical actions
  3059.                               as before to copy the "DirList" file to the
  3060.                               Ram Disk:.  But now the file "DirList" exist
  3061.                               on the destination directory and the warning
  3062.                               will be produced.  After trying to copy the
  3063.                               file again this warning will be produced and
  3064.                               MegaD will wait for your response to the
  3065.                               following requestor:
  3066.  
  3067.                               MegaD 2.00  Tutorial, Copyright © 1992
  3068.  
  3069.  
  3070.  
  3071.  
  3072.  
  3073.                                         Source and Destination Commands  53
  3074.  
  3075.                                           You will be replacing
  3076.                                              the newer file
  3077.                                                  DirList
  3078.                                               in directory
  3079.                                                 Ram Disk:
  3080.                                                Replace it?
  3081.  
  3082.                               If you answer yes the file will be
  3083.                               overwritten by a new copy of it.  This is
  3084.                               inconsequential being the two files are
  3085.                               identical but later on as you use MegaD you
  3086.                               could replace a file the you wanted to keep
  3087.                               only because it had the same name as the
  3088.                               file you were copying.  There are ways to
  3089.                               turn off the warnings, but until you are sure
  3090.                               of how MegaD works and what it can do, I
  3091.                               suggest that you leave the warnings active.
  3092.  
  3093.      Copying Directories      MegaD will also copy a directory and its
  3094.                               contents, which could contain other
  3095.                               directories and files.  Select the 'C'
  3096.                               directory in the Tutorial: Directory Window. 
  3097.                               Activate the Ram Disk: Directory Window to
  3098.                               make it the destination directory, the
  3099.                               'Dest'ination gadget of that window should be
  3100.                               selected.  Select 'Copy' once again.  A
  3101.                               request window will open that should read:
  3102.                                          0 Files marked for copy
  3103.                                      1 Directory/ies marked for copy
  3104.                                   To be copied to 1 directory window/s
  3105.                                                 Continue
  3106.  
  3107.                               Answer 'Yes' and MegaD will read the contents
  3108.                               of the selected directory and copy it.  Once
  3109.                               it is finished an exact duplicate of the
  3110.                               selected directory will be created in the
  3111.                               Ram Disk:
  3112.  
  3113.      Copying Groups of
  3114.      Files and Directories    MegaD will copy groups of selected files and
  3115.                               directories to a Directory Window.  If you
  3116.                               have enough spare memory on your Amiga that
  3117.                               will allow you to you may want to try
  3118.                               selecting a group of files and directories on
  3119.                               the Tutorial: volume and copy them to the Ram
  3120.                               Disk: volume.
  3121.  
  3122.                               MegaD will not replace a directory with
  3123.                               another directory or file.  So if you try to
  3124.                               copy the "Tutorial:C directory to the Ram
  3125.  
  3126.                               MegaD 2.00  Tutorial, Copyright © 1992
  3127.  
  3128.  
  3129.  
  3130.  
  3131.  
  3132.                                         Source and Destination Commands  54
  3133.  
  3134.                               Disk: again it will fail.  MegaD has the
  3135.                               power to delete the directory and then copy
  3136.                               the new one to it.  I have chosen not to let
  3137.                               MegaD perform this as a one step process. 
  3138.                               You the user will have to take the extra step
  3139.                               to first 'Delete' the directory and then mark
  3140.                               and copy the new directory or file into its
  3141.                               place.
  3142.  
  3143.      Copy and Rename a File   'Copy As' is used to copy the file as 'Copy'
  3144.                               does, but you have a way to give the copy of
  3145.                               the file a different name than the original. 
  3146.                               It functions 100% the same a the 'Copy'
  3147.                               command works except for this.
  3148.  
  3149.                               To demonstrate this you will follow the
  3150.                               exact same steps as you did above for the use
  3151.                               of 'Copy' only you will use the command
  3152.                               gadget 'Copy As'.  The only change will be
  3153.                               when it comes time to copy the "dirList" file
  3154.                               in the Tutorial: Directory Window you will be
  3155.                               given a requestor that will read:
  3156.  
  3157.                                             Source Directory
  3158.                                                 Tutorial:
  3159.                                              Source Filename
  3160.                                                  DirList
  3161.                                           Destination Directory
  3162.                                                 Ram Disk:
  3163.  
  3164.                                              Enter filename
  3165.                                        to rename copy of this file
  3166.  
  3167.                               A string gadget titled "Filename" will be
  3168.                               active with the original name of the file
  3169.                               that was selected to copy.  Simply add a "2"
  3170.                               to the end of the name so that it now reads
  3171.                               "DirList2" and press return.  The file will
  3172.                               be copied using the new destination name
  3173.                               "DirList2", the Ram Disk: Directory Window
  3174.                               will be updated to show the newly added file.
  3175.  
  3176.                               If you change your mind and decide that you
  3177.                               wish to keep the name of copy the same as
  3178.                               the original simply press return without
  3179.                               changing the original name when prompted for
  3180.                               the new filename.  The file will still be
  3181.                               copied and the name will be left unchanged.
  3182.  
  3183.  
  3184.  
  3185.                               MegaD 2.00  Tutorial, Copyright © 1992
  3186.  
  3187.  
  3188.  
  3189.  
  3190.  
  3191.                                         Source and Destination Commands  55
  3192.  
  3193.                               You may have notice that the new filename
  3194.                               requestor also gave you a gadget titled
  3195.                               "Skip".   If you select a group of files to
  3196.                               be copied and use the 'Copy As' Command
  3197.                               Gadget, you are given the choice to copy the
  3198.                               file or to skip that file and go to the next
  3199.                               selected item.
  3200.  
  3201.      Moving Files             The 'Move' command is used for moving files
  3202.                               from one directory to another.  MegaD
  3203.                               performs this function two different ways. 
  3204.                               If the file is to be moved from one volume to
  3205.                               another volume, the file will first be copied
  3206.                               to the destination directory,  then the
  3207.                               original will be deleted from the source
  3208.                               directory.  If the file is to be moved on the
  3209.                               same volume, it will be renamed to the
  3210.                               destination directory.  This requires a very
  3211.                               low overhead, and being so, a large 200,000
  3212.                               byte file will be moved as fast as a 50 byte
  3213.                               file.  You only have to make the decision of
  3214.                               where your moving the file to, MegaD makes
  3215.                               the decision of how to move it.
  3216.  
  3217.                               To do this we will need two Directory Windows
  3218.                               open to the screen.  Select the Tutorial:
  3219.                               device gadgets and the Ram Disk: device
  3220.                               gadget.  The two directories will be loaded
  3221.                               and place in separate Directory Windows. 
  3222.  
  3223.                               You should find a text file titled
  3224.                               "Prefs.info" in the Tutorial: Directory
  3225.                               Window, if not use any other .info files in
  3226.                               the Tutorial: Directory Window for this
  3227.                               demonstration.  Select the "Prefs.info" file,
  3228.                               then select the Ram Disk: Directory Window to
  3229.                               activate it.  As you activated it, the
  3230.                               'Dest'ination gadget of the Ram Disk:
  3231.                               Directory Window became selected, showing it
  3232.                               to be the destination directory.
  3233.  
  3234.                               Now select the Command Gadget 'Move', this is
  3235.                               located on the first bank, top row, second
  3236.                               from the left.  After doing so you will get a
  3237.                               requestor that reads:
  3238.                                         1 file/s marked for move
  3239.                                      0 director/ies marked for move
  3240.                                    To be moved to 1 directory window/s
  3241.                                                 Continue
  3242.  
  3243.  
  3244.                               MegaD 2.00  Tutorial, Copyright © 1992
  3245.  
  3246.  
  3247.  
  3248.  
  3249.  
  3250.                                         Source and Destination Commands  56
  3251.  
  3252.                               Select 'Yes' and the file will be moved to
  3253.                               the Ram Disk: and the two Directory Windows
  3254.                               will be updated to show the newly moved file.
  3255.  
  3256.                               MegaD will warn you if you are going to
  3257.                               write over the top of an old file during a
  3258.                               'Move' just as it did during a 'Copy'.  There
  3259.                               are ways to turn off the warnings but until
  3260.                               you are sure of how MegaD works and what it
  3261.                               can do, I suggest that you leave the
  3262.                               warnings active.
  3263.  
  3264.      Moving Directories       MegaD will also move a directory and its
  3265.                               contents, which could contain other
  3266.                               directories and files.  Select the 'L'
  3267.                               directory in the Tutorial: Directory Window. 
  3268.                               Activate the Ram Disk: Directory Window to
  3269.                               make it the destination directory, the
  3270.                               'Dest'ination gadget of that window should be
  3271.                               selected.  Select 'Move' once again.  A
  3272.                               request window will open that should read:
  3273.                                          0 Files marked for move
  3274.                                      1 Directory/ies marked for move
  3275.                                    To be moved to 1 directory window/s
  3276.                                                 Continue
  3277.  
  3278.                               Answer 'Yes' and MegaD will read the
  3279.                               contents of the selected directory and move
  3280.                               it, once it is finished an exact duplicate of
  3281.                               the selected directory will be created in the
  3282.                               Ram Disk:
  3283.  
  3284.                               MegaD will move groups of selected files and
  3285.                               directories to a Directory Window.  We are
  3286.                               going to move all of the .info files of the
  3287.                               Tutorial: volume to a sub-directory on the
  3288.                               same volume.  If you have been following
  3289.                               along you should find a directory on the
  3290.                               Tutorial: disk named "My_directory", this is
  3291.                               going to be the destination directory for the
  3292.                               next move.  Drag select all of the files
  3293.                               listed in the Tutorial: Directory Window.
  3294.      Working in the
  3295.      Same Volume              Before opening the "My_directory" sub-
  3296.                               directory of the Tutorial: disk, select the
  3297.                               "Lock" gadget of the Tutorial: Directory
  3298.                               Window.  As described at the start of this
  3299.                               tutorial the "Lock" gadget will lock the
  3300.                               window to the screen.  MegaD is set to allow
  3301.                               only one window per volume, the lock gadget
  3302.  
  3303.                               MegaD 2.00  Tutorial, Copyright © 1992
  3304.  
  3305.  
  3306.  
  3307.  
  3308.  
  3309.                                         Source and Destination Commands  57
  3310.  
  3311.                               overrides this allowing another window to
  3312.                               open.  Now double click the "My_directory" of
  3313.                               the Tutorial: Directory Window.  The empty
  3314.                               "My_directory" Directory Window will open in
  3315.                               front of the Tutorial: Directory Window.  The
  3316.                               'Dest'ination gadget will be selected on the
  3317.                               "My_directory" Directory Window marking this
  3318.                               as destination directory.
  3319.  
  3320.      Navigating Through Multiple 
  3321.      Directory Windows
  3322.                               Lets take a little time out here, This is the
  3323.                               first time that we have opened two Directory
  3324.                               Window on the same volume.  MegaD lets you
  3325.                               uses the cursor keys to help navigate through
  3326.                               open or previously opened Directory Windows. 
  3327.                               Left and right cursor moves you from volume
  3328.                               to volume.  Up and down cursors moves you
  3329.                               from directory to directory of the current
  3330.                               active volume.  If you do not have the Ram
  3331.                               Disk: Directory Window opened, open it now so
  3332.                               that you may use the four cursor keys to
  3333.                               manipulate the open Directory Windows. 
  3334.                               Cursor left and right changing active
  3335.                               volumes.  Cursor up and down to move within
  3336.                               those volumes.
  3337.  
  3338.                               Now cursor back to the Tutorial: Directory
  3339.                               Window and then cursor down to activate the
  3340.                               "My_directory" Directory Window which in turn
  3341.                               should select the 'Dest'ination gadget.  Now
  3342.                               that the "My_directory" is the destination
  3343.                               directory, select the 'Move' Command Gadget
  3344.                               and answer the requestors, that will in turn
  3345.                               move the files we selected earlier to their
  3346.                               new directory.
  3347.  
  3348.                               We will need the files back in their
  3349.                               original position, so drag select all of the
  3350.                               files in "My_directory", and move them back
  3351.                               to the Tutorial: Directory Window.
  3352.  
  3353.                               Just as with 'Copy' MegaD will not replace a
  3354.                               directory with another directory.  So if you
  3355.                               try to move the "Tutorial:L" directory to the
  3356.                               Ram Disk: again it will fail.  
  3357.  
  3358.      Move and Rename          'Move As' is 'Move' with the option to change
  3359.                               the name of the file or directory while it is
  3360.                               being moved.  Much like we did with 'Copy'
  3361.  
  3362.                               MegaD 2.00  Tutorial, Copyright © 1992
  3363.  
  3364.  
  3365.  
  3366.  
  3367.  
  3368.                                         Source and Destination Commands  58
  3369.  
  3370.                               and 'Copy As', so you should already know how
  3371.                               to do this if you've gone through those two
  3372.                               functions.  You may want to test it out, but
  3373.                               once you are done try to have the files and
  3374.                               directories of the Tutorial: volume in the
  3375.                               same order they are now.  This way we will
  3376.                               still be on common ground as we walk through
  3377.                               some other functions.
  3378.  
  3379.      Multiple Destination 
  3380.      And Source Directories   There is no real secret to how this works. 
  3381.                               If you want to copy files from more than one
  3382.                               directory, simply open more than one source
  3383.                               windows and mark the items in the windows
  3384.                               that you want to work with.
  3385.  
  3386.                               If you want to copy files to more than one
  3387.                               directory, simply open the directory windows
  3388.                               you wish copy to and select the 'Dest'ination
  3389.                               gadget on those windows so that they become
  3390.                               user defined 'Dest'inations.
  3391.  
  3392.                               There are no limits to the number of source,
  3393.                               or number of destination windows you can use
  3394.                               at one time.
  3395.  
  3396.                               'Copy', 'Copy As', 'Move', 'Move As' and
  3397.                               'Create Dir' work with multiple 'Dest'ination
  3398.                               windows.  The best way to see this in action
  3399.                               is to copy some files from your Tutorial:
  3400.                               disk to the Ram Disk:.  Follow the below
  3401.                               steps to perform a 'Copy' using both multiple
  3402.                               Source Directories and using multiple
  3403.                               Destination Directories:
  3404.  
  3405.                               1.   Open a Directory Window for the
  3406.                                    Tutorial: disk, Lock that window. Select
  3407.                                    a few files in this window. (Source
  3408.                                    directory 1.)
  3409.  
  3410.                               2.   'Double Click' the "Devs" entry of the
  3411.                                    Tutorial: Directory Window, to open the
  3412.                                    second source window. Lock this window
  3413.                                    too. Select a few files in this window
  3414.                                    also.  (Source directory 2.)
  3415.  
  3416.                               3.   Open a Directory Window for the
  3417.                                    "Ram Disk:" disk, 'Lock' and select the
  3418.                                    'Dest'ination gadget. (Destination
  3419.                                    directory 1.)
  3420.  
  3421.                               MegaD 2.00  Tutorial, Copyright © 1992
  3422.  
  3423.  
  3424.  
  3425.  
  3426.  
  3427.                                         Source and Destination Commands  59
  3428.  
  3429.  
  3430.                               4.   'Double Click' the "T" entry of the
  3431.                                    "Ram Disk:" Directory Window to open a
  3432.                                    sub-directory window.  Select the
  3433.                                    'Dest'ination gadget of this window too.
  3434.                                    (Destination directory 2.)
  3435.  
  3436.                               5.   Select the 'Copy' Command Gadget.
  3437.  
  3438.                               After the 'Copy' command is finished, the
  3439.                               windows will be updated to show the newly 
  3440.                               copied files.  You have just copied files
  3441.                               from two directory window into two other
  3442.                               directory windows.
  3443.  
  3444.  
  3445.  
  3446.  
  3447.  
  3448.  
  3449.  
  3450.  
  3451.  
  3452.  
  3453.  
  3454.  
  3455.  
  3456.  
  3457.  
  3458.  
  3459.  
  3460.  
  3461.  
  3462.  
  3463.  
  3464.  
  3465.  
  3466.  
  3467.  
  3468.  
  3469.  
  3470.  
  3471.  
  3472.  
  3473.  
  3474.  
  3475.  
  3476.  
  3477.  
  3478.  
  3479.  
  3480.                               MegaD 2.00  Tutorial, Copyright © 1992
  3481.  
  3482.  
  3483.  
  3484.  
  3485.  
  3486.                                              Filters, Patterns and Find  60
  3487.  
  3488.                               Filters and Pattern Matching
  3489.                               ============================
  3490.  
  3491.      Filter Requestor         The four functions, 'Sel Patterns', 'Clr
  3492.                               Patterns', 'Filters +', and 'Find' use the
  3493.                               same requestor.  'Filter -' will be mentioned
  3494.                               here because it undoes what 'Filter +' does. 
  3495.                               The Find requestor changes so that you may
  3496.                               define a destination directory and file name
  3497.                               to place the list of found items during the
  3498.                               search of directory items.  All four commands
  3499.                               function the same, but produce a different
  3500.                               result.  Lets examine what they do.
  3501.  
  3502.      Filter + Funtion         'Filter +' will filter in or filter out
  3503.                               items in the Directory Window, making the
  3504.                               list more manageable.  An example of this
  3505.                               would be a large directory of graphic files. 
  3506.                               Some have the extension .iff and others have
  3507.                               the extension .gif.   A filter could be added
  3508.                               to the Directory Window that would hide non
  3509.                               .gif files listing only the .gif files at the
  3510.                               moment.  At places in the list where items
  3511.                               have been hidden, lines will be drawn showing
  3512.                               that the list being viewed is filtered and is
  3513.                               incomplete.  Think of this as a fold in the
  3514.                               list.
  3515.  
  3516.      Find Function            'Find' will search through whole volumes or
  3517.                               selected directories searching for a file or
  3518.                               directory.  You may know the name of the file
  3519.                               that you want but you can not seem to find
  3520.                               it.  Find will 'Go Deep' into the volume or
  3521.                               directory until the file is found or the end
  3522.                               of the search area is reached.  Find will
  3523.                               also make a list of found files that match
  3524.                               the select criteria to a specific file that
  3525.                               you designate.
  3526.  
  3527.      Select Pattern Function  'Sel Pattern' will select items in open
  3528.                               Directory Window that match the patterns set
  3529.                               in the filter requestor.
  3530.  
  3531.      Clear Pattern Function   'Clr Pattern' will clear or unselect items
  3532.                               in open Directory Window that match the
  3533.                               patterns set in the filter requestor.
  3534.  
  3535.                               We will use the 'Filter +' and 'Filter -'
  3536.                               Command Gadget to demonstrate how this
  3537.                               concept works.   After you use it for a few
  3538.  
  3539.                               MegaD 2.00  Tutorial, Copyright © 1992
  3540.  
  3541.  
  3542.  
  3543.  
  3544.  
  3545.                                              Filters, Patterns and Find  61
  3546.  
  3547.                               times, getting the hang of how the others
  3548.                               work will be a cinch.
  3549.                               This filter requestor may look intimidating,
  3550.                               but you need only use and set one filter to
  3551.                               use it.  You are allowed to use up to five
  3552.                               filters at one time, but you only have to
  3553.                               defined one to make it work.  
  3554.  
  3555.                               We will use it on a single directory at
  3556.                               first.  First open the Tutorial: Directory
  3557.                               Window.   The 'Dest'ination gadget of that
  3558.                               window should be selected so that it is the
  3559.                               destination directory.  Set the Show menu to
  3560.                               show all information of the directory by
  3561.                               using the 'Show, All' menu item. Now select
  3562.                               the 'Filter +' Command Gadget.  This is
  3563.                               located on the second (Ctrl) bank, second
  3564.                               row, second from the left.  The filter
  3565.                               requestor will open to the screen.
  3566.  
  3567.      Elements of a Filter     Lets take a brief moment and talk about the
  3568.                               elements of a filter.  The five possible
  3569.                               filters are displayed one line at a time.
  3570.                               Each filter has four elements to work with.
  3571.                               o    Type gadget that can be cycled though
  3572.                                    Name, Size, Date and Protect.  
  3573.                               o    String gadget that lets you type in the
  3574.                                    filter.  
  3575.                               o    In/Out gadget to filter items in or out.
  3576.                               o    Activate gadget to turn the filter on or
  3577.                                    off.
  3578.  
  3579.      In/Out Filter Gadget     The In/Out gadget have very general rules as
  3580.                               to what it does with the filter.
  3581.                               o    In Rule.
  3582.                                         If the items match the filter the
  3583.                                    items will be displayed in the list. 
  3584.                                    All other items will be hidden from the
  3585.                                    list.
  3586.  
  3587.                               o    Out Rule.
  3588.                                         If the items match the filter the
  3589.                                    matching items will be hidden in the
  3590.                                    list.
  3591.  
  3592.                               o    Out overrides In Rule.
  3593.                                         The Out Rule will override the In
  3594.                                    Rule if multiple filters are used.  An
  3595.                                    Out filter, in this case, will only
  3596.                                    remove  the items left to be displayed,
  3597.  
  3598.                               MegaD 2.00  Tutorial, Copyright © 1992
  3599.  
  3600.  
  3601.  
  3602.  
  3603.  
  3604.                                              Filters, Patterns and Find  62
  3605.  
  3606.                                    as set by the In Rule. (This Rule can
  3607.                                    only occur on multiple filters.)
  3608.  
  3609.                               If this is the first time into this
  3610.                               requestor you will find that the 'In/Out' and
  3611.                               the Activate' gadgets are ghosted for all
  3612.                               five filters.  You need valid filter
  3613.                               information in the string that matches the
  3614.                               far left cycle gadget, This far left gadget
  3615.                               sets the type of filter.  The filter type
  3616.                               choices are:
  3617.  
  3618.                               Name      Works on the filename of the
  3619.                                         directory items.
  3620.                               Size      Works on the size of the directory
  3621.                                         items.
  3622.                               Date      Works on the Date of the directory
  3623.                                         items.
  3624.                               Protect   Works on the protection bits of the
  3625.                                         directory items.
  3626.  
  3627.                               At anytime you may select the 'Filters -'
  3628.                               Command Gadget to free up the filters that
  3629.                               you have installed on your directories. 
  3630.                               Filters are remembered on your directory even
  3631.                               if you close the Directory Window.  Only
  3632.                               until the directory is freed from memory by
  3633.                               the use of the 'Free Volumes' gadget or the
  3634.                               'Filter -' Command Gadget is selected will
  3635.                               the filter be removed.  
  3636.  
  3637.      Using Name filters       First off, I can't possibly tell you all of
  3638.                               the ways to use pattern matches.  The new
  3639.                               AmigaDOS 2.0 pattern matches are very
  3640.                               extensive and powerful.  That power is
  3641.                               available though MegaD only through the
  3642.                               foresight of the programers who wrote the new
  3643.                               2.0 operating system.  Should you need more
  3644.                               than simple pattern matches you will find the
  3645.                               information in books such as 'The AmigaDOS
  3646.                               Manual, 3rd Edition' publish by Bantam
  3647.                               Computer books.  I will limit this
  3648.                               discussion to the simple #? pattern match.
  3649.  
  3650.                               Cycle the top filter Type gadget to 'Name' if
  3651.                               it is not already set that way. In the top
  3652.                               string gadget type "S#?" for the filter to
  3653.                               use on the Tutorial: Directory Window.  The
  3654.                               filters are case insensitive so S or s will
  3655.                               both match S.
  3656.  
  3657.                               MegaD 2.00  Tutorial, Copyright © 1992
  3658.  
  3659.  
  3660.  
  3661.  
  3662.  
  3663.                                              Filters, Patterns and Find  63
  3664.  
  3665.  
  3666.      Wildcard Pattern         Why #?, AmigaDOS will allow you to use '?' as
  3667.                               a wild card in your pattern.  On your
  3668.                               Tutorial: volume the directory entry
  3669.                               "System" should still be there.  All of the
  3670.                               below patterns would match this entry:
  3671.                                    "S?stem"
  3672.                                    "Sy?tem"
  3673.                                    "Sys?em"
  3674.                                    "S?????"
  3675.                               The last one will match any filename that
  3676.                               starts with the character 'S' and is six
  3677.                               characters long.
  3678.  
  3679.                               The # symbol before the wild card character
  3680.                               '?' or any other pattern character is used to
  3681.                               repeat the pattern character any number of
  3682.                               times including zero times.  Now that we know
  3683.                               this we can create the "S?????" pattern this
  3684.                               way
  3685.                                    "S#?"
  3686.                               This pattern will not only select "System",
  3687.                               it will also select :
  3688.                                    "S"
  3689.                                    "Shell.info"
  3690.                                    "System.info"
  3691.                               As you can see it is less restrictive and
  3692.                               lets you select filenames of different
  3693.                               lengths.
  3694.  
  3695.                               The #? wild card pattern match needs not be
  3696.                               at the end of the pattern, it can be the
  3697.                               first characters in the pattern or it can be
  3698.                               in between characters.
  3699.  
  3700.                               "#?.info" Will select all files that have the
  3701.                               .info extension added to it.  If I use it on
  3702.                               my Tutorial: disk, this is the list of files
  3703.                               that are selected by the filter:
  3704.  
  3705.                                   disk.info            Shell.info         
  3706.                                   Expansion.info       System.info        
  3707.                                   Monitors.info        Trashcan.info      
  3708.                                   My_directory.info    Utilities.info     
  3709.                                   Prefs.info           WBstartup.info     
  3710.  
  3711.                               "S#?.info" will select all files that have
  3712.                               the .info extension added to and start with
  3713.                               the letter 'S'.  This is the result if I use
  3714.                               this filter:
  3715.  
  3716.                               MegaD 2.00  Tutorial, Copyright © 1992
  3717.  
  3718.  
  3719.  
  3720.  
  3721.  
  3722.                                              Filters, Patterns and Find  64
  3723.  
  3724.  
  3725.                                    Shell.info          System.info
  3726.  
  3727.                               As you can see we can be very selective in
  3728.                               what we want to select by the use of
  3729.                               patterns.
  3730.  
  3731.                               Through the next few exercises, we will only
  3732.                               be using one filter.  This way we will not be
  3733.                               confused with multiple filters.  Later, we
  3734.                               will work with multiple filters, but until
  3735.                               then, work only with the top most set of
  3736.                               filter gadgets.
  3737.      Un-Ghosting 
  3738.      The Activate Gadget      We are going to create the filter "S#?" in
  3739.                               the first filter.  Type the characters into
  3740.                               the top string gadget and press return.  You
  3741.                               will notice that the In/Out and the Activate
  3742.                               gadget are no longer ghosted.  The return on
  3743.                               a string gadget tells MegaD that it needs to
  3744.                               check to see if a valid filter has been
  3745.                               created and if so it will un-ghost the
  3746.                               gadgets so that you may select them.
  3747.  
  3748.      Activating a Filter      Select that Activate gadget so that this will
  3749.                               be an active filter.  Now select the use
  3750.                               gadget.  You will see the Tutorial: Directory
  3751.                               Window change to reflect the current filter
  3752.                               setting.  Only files that start with the
  3753.                               letter 'S' are visible now.
  3754.  
  3755.      Using Filter Out         Select the Command Gadget 'Filter +' again
  3756.                               and change the In/Out cycle gadget to read
  3757.                               "Out".  Select the 'Use' gadget again.  The
  3758.                               Directory Window will again change, showing
  3759.                               the new filter settings, this time it will
  3760.                               show all filenames except those that start
  3761.                               with the letter 'S'. 
  3762.  
  3763.      Using Size filters       Size filters work on the size of files.  They
  3764.                               do not work on directory sizes.  Set MegaD to
  3765.                               show the size of the file by checking the
  3766.                               menu item 'Show, Size'. 
  3767.  
  3768.                               A size filter can be specified as 'exact',
  3769.                               'greater than', and 'less than' the numeric
  3770.                               size entered into the string gadgets.
  3771.  
  3772.      Less Than Size Filter    On the Tutorial: volume are a number of .info
  3773.                               files.  Some are greater than 1000 bytes in
  3774.  
  3775.                               MegaD 2.00  Tutorial, Copyright © 1992
  3776.  
  3777.  
  3778.  
  3779.  
  3780.  
  3781.                                              Filters, Patterns and Find  65
  3782.  
  3783.                               size and some are smaller.  We are going to
  3784.                               create a filter that will specify files
  3785.                               smaller than 1000 bytes.  Enter "-1000" into
  3786.                               the first string gadget of the filter
  3787.                               requestor.  The minus '-' sign sets the
  3788.                               filter to select files less than the size
  3789.                               specified.  Set the 'In/Out' gadget to in. 
  3790.                               Set the cycle type to "Size" and make sure
  3791.                               that the Activate gadget is selected for
  3792.                               this filter.  Select the 'Use' gadget and the
  3793.                               Tutorial: Directory Window will reset itself
  3794.                               to show you the current filter settings. 
  3795.                               This is the listing I ended up with using
  3796.                               this filter:
  3797.  
  3798.                               disk.info         388   Shell.info        722
  3799.                               Expansion.info    824   System.info       824
  3800.                               Monitors.info     824   Utilities.info    824
  3801.                               My_directory.info 632   WBstartup.info    824
  3802.  
  3803.      Greater Than
  3804.      Size Filter              Select the 'Filter +' Command Gadget again
  3805.                               and change the "-1000" to "+1000".  The plus
  3806.                               (+) sign sets the size filter to look for
  3807.                               files with a size greater than the numeric
  3808.                               value found in the string gadget.  Once again
  3809.                               select the 'Use' gadget to set this filter to
  3810.                               the Directory Window.  The listing that I
  3811.                               came up with looks like this:
  3812.  
  3813.                               DirList        4,663    Trashcan.info  1,144
  3814.                               Prefs.info     1,144
  3815.  
  3816.      Exact Size Filter        There is one more type of size filter and
  3817.                               that is when you want to match a file by the
  3818.                               exact size.  As you can see above, I have two
  3819.                               files that use 1,144 bytes.  If I want to
  3820.                               create a filter for those, I would type into
  3821.                               the string gadget "1144", you simply omit the
  3822.                               Plus or the minus sign to create an exact
  3823.                               match.  You may have to change the value to
  3824.                               fit at least one of the files to create your
  3825.                               exact match but you should be getting the
  3826.                               idea of how things works.
  3827.  
  3828.      Using Date filters       You will have to set MegaD to show the date
  3829.                               the file and directories were created or
  3830.                               last changed.  If your not currently
  3831.                               displaying dates in the Directory Window
  3832.                               check the menu item 'Show, Date'.
  3833.  
  3834.                               MegaD 2.00  Tutorial, Copyright © 1992
  3835.  
  3836.  
  3837.  
  3838.  
  3839.  
  3840.                                              Filters, Patterns and Find  66
  3841.  
  3842.      Set the Filter 
  3843.      Type Gadget First        It is always best to set the filter type
  3844.                               gadget to the kind of filter you want before
  3845.                               entering the filter.  This way MegaD can help
  3846.                               you format the filter. A good example of this
  3847.                               is the Date filter type.  The date filter
  3848.                               requires a rather long string of characters
  3849.                               in this format:
  3850.                                    DD-MM-YY HH:MM:SS
  3851.                                    (Day-Month-Year Hour:Minutes:Seconds)
  3852.  
  3853.                               If you set the filter type to Date and enter
  3854.                               just the Date of the filter and press return
  3855.                               the time will be filled in as zeros.  Let
  3856.                               test this out.  Type in the date like this:
  3857.                                         03-05-92
  3858.                               and press return.  The time will be added to
  3859.                               the end of the filter.
  3860.                                         03-05-92 00:00:00
  3861.  
  3862.                               This will tell MegaD to filter with the date
  3863.                               of May 3, 1992 12:00 am.
  3864.  
  3865.                               Now it is rare that you will be looking for a
  3866.                               file on a precise date and time.  More than
  3867.                               likely you would want to look for files after
  3868.                               a date or before a date.  To look for files
  3869.                               created or modified after a date you would
  3870.                               want to add a '+' sign in front of the
  3871.                               filter.  To look for files created or
  3872.                               modified before a date you would want to add
  3873.                               the '-' sign in front of the filter. Examples
  3874.                               of this are:
  3875.                                      +03-05-92 00:00:00 
  3876.                               would look for files after the date.
  3877.  
  3878.                                      -03-05-92 00:00:00 
  3879.                               would look for files before the date.
  3880.  
  3881.                               Now for you to test this you will have to
  3882.                               pick a date that has some midway point of
  3883.                               the directory list you are looking at.  Some
  3884.                               files should be older than this date and some
  3885.                               files should be newer.  The date filter must
  3886.                               be entered in this order:
  3887.                                    Type the number of day first
  3888.                                    The number of the month second
  3889.                                    The last two digits of the year last
  3890.                               All should be separated by the negative (-)
  3891.                               sign.
  3892.  
  3893.                               MegaD 2.00  Tutorial, Copyright © 1992
  3894.  
  3895.  
  3896.  
  3897.  
  3898.  
  3899.                                              Filters, Patterns and Find  67
  3900.  
  3901.  
  3902.      After Date Filter        Add a plus (+) sign to the front of the date
  3903.                               to tell the filter to look for newer files,
  3904.                               press return.  Set the In/Out gadget to In. 
  3905.                               The Activate gadget for this filter should
  3906.                               not be ghosted (disabled) and you should
  3907.                               select it if it is not already selected. 
  3908.                               Now select the 'Use' gadget.  You should now
  3909.                               only be able to see newer files than the date
  3910.                               you typed in the filter in the open Directory
  3911.                               Window.
  3912.  
  3913.      Before Date Filter       Now reopen the filter requestor and change
  3914.                               the + to a - at the first of the filter
  3915.                               string and select the 'Use' gadget.  You
  3916.                               should be able to see older files than the
  3917.                               date specified and the other will be
  3918.                               filtered out.
  3919.  
  3920.                               You can use an exact date to select on.  This
  3921.                               has minimal use, It is very unlikely that
  3922.                               you will have more than one file with the
  3923.                               exact same date and time.  But if you should
  3924.                               have a reason to do so simply omit the (+) or
  3925.                               the (-) sign from the front of the filter.
  3926.  
  3927.      Using Protect filters     You will need to set MegaD to show the
  3928.                               protection bits. If it is not already showing
  3929.                               the protection bits check the menu item
  3930.                               'Show, Protect".
  3931.  
  3932.                               Set the filter type gadget to Protect.  Set
  3933.                               the In/Out gadget to In.  We will use the
  3934.                               Tutorial: volume to test this type of filter
  3935.                               on.  A good directory for this is the S:
  3936.                               directory on it.  The startup drawer usually
  3937.                               has some items with the s bit set for Script. 
  3938.                               This is a listing from my "Tutorial:S"
  3939.                               directory:
  3940.  
  3941.                               BRUtab       ----rw-d  PCD              -s--rwed
  3942.                               DPat         -s--rwed  Shell-startup    -s--rwed
  3943.                               Ed-startup   ----rw-d  SPat             -s--rwed
  3944.                               HDBackup.co  ----rw-d  Startup-sequence ----rwed
  3945.  
  3946.                               Your "Tutorial:S" directory may be different
  3947.                               but what we are looking for is a few files
  3948.                               with the S bit set for script.  If your
  3949.                               directory has none with this bit set use the
  3950.  
  3951.  
  3952.                               MegaD 2.00  Tutorial, Copyright © 1992
  3953.  
  3954.  
  3955.  
  3956.  
  3957.  
  3958.                                              Filters, Patterns and Find  68
  3959.  
  3960.                               'Set Protect' on some similar files in your
  3961.                               "Tutorial:S" Directory Window.
  3962.  
  3963.                               Protection filters are a little different
  3964.                               than other filters in that you have to have a
  3965.                               + or a - before the bits you want to test. 
  3966.                               The + tells the filter that the bit must be
  3967.                               set for the match to be true.  The - sign
  3968.                               before the bit tells the filter that the bit
  3969.                               must be clear for the match to be true.
  3970.  
  3971.                               Type +s for the filter press return and
  3972.                               select the Activate gadget for this filter. 
  3973.                               Hit the 'Use' gadget.  You should now only
  3974.                               see the directory entries that have the
  3975.                               protection bit s set.  My prior listing now
  3976.                               looks this way for the "Tutorial:S" Directory
  3977.                               Window:
  3978.  
  3979.                               DPat         -s--rwed  Shell-startup    -s--rwed
  3980.                               PCD          -s--rwed  SPat             -s--rwed
  3981.  
  3982.                               As you can see, only the files that have the
  3983.                               's' (Script) bit set are now listed.
  3984.  
  3985.                               Some of my files did not have the 'e'
  3986.                               (Execute) bit set.  We can use this for an
  3987.                               example of selecting on un set bits.  
  3988.  
  3989.                               Reopen the filter requestor again and change
  3990.                               the protection filter to "-e" then select the
  3991.                               'Use' gadget.  You should now only see the
  3992.                               directory entries that have the protection
  3993.                               bit 'e' un set.  This is my list as a result
  3994.                               of this:
  3995.  
  3996.                               BRUtab       ----rw-d  HDBackup.config  ----rw-d
  3997.                               Ed-startup   ----rw-d
  3998.  
  3999.                               Enter this for the next filter to test,
  4000.                               "+rwed". Press return on this string gadget
  4001.                               once done.  The filter will expand to "+r +w
  4002.                               +e +d".  Now use it as a protection filter. 
  4003.                               Once again this is the list that I have as a
  4004.                               result:
  4005.  
  4006.                               DPat          -s--rwed  SPat             -s--rwed
  4007.                               PCD           -s--rwed  Startup-sequence ----rwed
  4008.                               Shell-startup -s--rwed
  4009.  
  4010.  
  4011.                               MegaD 2.00  Tutorial, Copyright © 1992
  4012.  
  4013.  
  4014.  
  4015.  
  4016.  
  4017.                                              Filters, Patterns and Find  69
  4018.  
  4019.                               The last example for protection filters we
  4020.                               will add "-s" to the last filter so that it
  4021.                               now reads "+r +w +e +d -s".  This will be
  4022.                               the results of this filter:
  4023.  
  4024.                               Startup-sequence ----rwed
  4025.  
  4026.                               As you have seen, the protection filters are
  4027.                               quite versatile and allow a wide variety of
  4028.                               ways to select what to view.
  4029.      Mixing Multiple 
  4030.      Filters                  Using multiple filters at one time can become
  4031.                               very confusing.  (Trust me, I know!)  You
  4032.                               really can not hurt anything with multiple
  4033.                               filters and my theory on the best way to
  4034.                               understand them, is to play with them.
  4035.  
  4036.                               Things can get really wild when you start
  4037.                               mixing filters.  Then using the 'In' and
  4038.                               'Out' types complicate things more.  The only
  4039.                               way to see this in action is to play with it. 
  4040.                               Filters do not do anything permanent to your
  4041.                               directories.  They only work on the internal
  4042.                               list of MegaD and help MegaD decide what to
  4043.                               display and not display for you.  Remember
  4044.                               the simple rules of In/Out filters while you
  4045.                               are doing this.  The concept of filters are
  4046.                               very unique.  As far as I know MegaD is the
  4047.                               only directory utility that supports this
  4048.                               concept on the Amiga.
  4049.  
  4050.                               With multiple filters you may select files
  4051.                               that have the pattern match of MegaD#?.c and
  4052.                               greater than a certain date.  I do this all
  4053.                               the time for back ups.  A filter for this is
  4054.                               set in this manner.
  4055.  
  4056.                               Type      filter              In/Out Activated
  4057.  
  4058.                               Name      MegaD#?.c           In        Yes
  4059.                               Date      -29-05-92 00:00:00  Out       Yes
  4060.  
  4061.                               This will show all MegaD#?.c files that are
  4062.                               greater than May 29, 1992 early morning. 
  4063.                               Notice that the date is set with a negative
  4064.                               (-) sign in the front to select files older
  4065.                               than the date specified.  The In/Out is set
  4066.                               to Out.  This way all older files are removed
  4067.                               from the list.  The following is an output
  4068.  
  4069.  
  4070.                               MegaD 2.00  Tutorial, Copyright © 1992
  4071.  
  4072.  
  4073.  
  4074.  
  4075.  
  4076.                                              Filters, Patterns and Find  70
  4077.  
  4078.                               from one of my source code directories for
  4079.                               MegaD. 
  4080.  
  4081.                                    This is before the above filter was
  4082.                               used.
  4083.  
  4084.      Work:lc/com
  4085.          closeup         03-22-92 11:41:24  MegaDPrefs.h    05-27-92 08:12:51
  4086.          LSE.DAT         03-22-92 11:41:24  MegaDHeader.h   05-27-92 08:15:35
  4087.          makeProto       03-22-92 11:41:24  H               05-27-92 10:46:50
  4088.          myoMegaD        03-22-92 11:41:26  MegaDSelWin.c   05-29-92 08:50:58
  4089.          SASCOPTS        03-22-92 11:41:26  MegaDTools.c    05-29-92 09:04:30
  4090.          Headerlist.c    04-26-92 05:56:59  MegaDPfFile.c   05-29-92 18:27:24
  4091.          MegaDTools2.c   05-20-92 18:30:19  setup           05-31-92 05:46:39
  4092.          MegaDControl.c  05-24-92 07:32:09  MegaDPf.h       05-31-92 06:50:10
  4093.          Megaddir.c      05-26-92 09:55:37
  4094.  
  4095.                               This is after the above filter was used on the
  4096.                               same directory.
  4097.  
  4098.      Work:lc/com
  4099.          MegaDSelWin.c   05-29-92 08:50:58  MegaDPfFile.c   05-29-92 18:27:24
  4100.          MegaDTools.c    05-29-92 09:04:30
  4101.  
  4102.                               NOTE:     The date format for a filter must
  4103.                                         be DD-MM-YY while my list are
  4104.                                         displayed MM-DD-YY.
  4105.  
  4106.                               This makes a relative mixed list into a very
  4107.                               precise list of items that I want to work
  4108.                               with for the moment.  With a little practice
  4109.                               MegaD filters can become a very powerful tool
  4110.                               for working with large directories.
  4111.  
  4112.      Global Filter            We have not talked about one of the gadgets
  4113.                               found in the filter requestor.  It is the
  4114.                               'Set to all directories'.
  4115.                               Filters normally work only on the
  4116.                               'Dest'ination Directory Window unless you
  4117.                               select the 'Set to all directories' gadget in
  4118.                               the lower area of the Filter requestor.  
  4119.                               This creates a global filter that all MegaD
  4120.                               Directory Windows will use until the filter
  4121.                               is removed with 'Filter -' or a new filter is
  4122.                               added to the system.
  4123.  
  4124.                               Each time you return to the Filter requestor,
  4125.                               you will find it in the same state as the
  4126.                               last time, when you selected the 'Use' gadget
  4127.                               from it.  MegaD keeps this requestor set in
  4128.  
  4129.                               MegaD 2.00  Tutorial, Copyright © 1992
  4130.  
  4131.  
  4132.  
  4133.  
  4134.  
  4135.                                              Filters, Patterns and Find  71
  4136.  
  4137.                               this manner so that you may quickly reset
  4138.                               your last used filter to a new Directory
  4139.                               Window.  MegaD stores a different set of
  4140.                               filters for the three function that use the
  4141.                               filter requestor. The three functions are,
  4142.                               'Filters +', 'Sel/Clr Patterns' and 'Find'.
  4143.  
  4144.      Filter -                 'Filter -' simply removes all active filters. 
  4145.                               Unlike the 'Remove' gadget found in the
  4146.                               filter requestor, which removes filters from
  4147.                               single windows, 'Filter -' will remove any
  4148.                               filter attached to any window.
  4149.  
  4150.                               As mentioned earlier. 'Find', 'Sel Pattern'
  4151.                               and 'Clr Pattern' all use the same requestor
  4152.                               for setup.  Now that you have a good start on
  4153.                               what filters are to MegaD we can get in to
  4154.                               the subtitle different of 'Find',
  4155.                               'Sel Pattern' and 'Clr Pattern'.
  4156.  
  4157.      Find                     'Find' will search through whole volumes or
  4158.                               selected directories searching for a file or
  4159.                               directory.  A good reason for this is, you
  4160.                               may know the name of the file that you want,
  4161.                               but you can not seem to find it.  Find will
  4162.                               'Go Deep' into the selected volume or
  4163.                               directories until the file is found or the
  4164.                               end of the search area is reached.  
  4165.  
  4166.      Find List Of 
  4167.      Directory Items          Find will also make a list of found files
  4168.                               that match the selected criteria to a
  4169.                               specific file that you designate. This option
  4170.                               lets you create lists of like items found in
  4171.                               more than one directory.  You could be
  4172.                               looking for all files that end with the .lha
  4173.                               extension.  If so you would set a name filter
  4174.                               "#?.lha" and fill in the "Path and filename
  4175.                               for items" string gadget found at the bottom
  4176.                               of the filter requestor for 'Find'.  You
  4177.                               should supply a full path and name for this
  4178.                               file such as "Ram Disk:findList".  If you
  4179.                               just enter "findList" the file will be
  4180.                               created in the same directory as MegaD.  Once
  4181.                               the directories are searched and item/s were
  4182.                               found to match the filter, MegaD will load
  4183.                               the created file and display it in a Text
  4184.                               Window.
  4185.  
  4186.  
  4187.  
  4188.                               MegaD 2.00  Tutorial, Copyright © 1992
  4189.  
  4190.  
  4191.  
  4192.  
  4193.  
  4194.                                              Filters, Patterns and Find  72
  4195.  
  4196.      Select By Pattern        This is a very simple function. 
  4197.                               'Sel Pattern' will search the current
  4198.                               destination directory window.  When it finds
  4199.                               a file (or directory) that matches the
  4200.                               pattern, MegaD will select (highlight) that
  4201.                               file/directory.  The search will then
  4202.                               continue until all open windows have been
  4203.                               searched.  'Sel Pattern' also has the
  4204.                               capability to work on all open windows
  4205.                               (rather than just the current destination
  4206.                               window).  To enable this feature, merely
  4207.                               select the 'Set to all directories' gadget in
  4208.                               the lower area of the Filter requestor.
  4209.  
  4210.      Clear By Pattern         'Clr Pattern' will clear or unselect items in
  4211.                               open Directory Window that match the patterns
  4212.                               set in the filter requestor.  This works
  4213.                               identically as 'Sel Pattern' except it clears
  4214.                               the directory items that match the filter.
  4215.  
  4216.  
  4217.  
  4218.  
  4219.  
  4220.  
  4221.  
  4222.  
  4223.  
  4224.  
  4225.  
  4226.  
  4227.  
  4228.  
  4229.  
  4230.  
  4231.  
  4232.  
  4233.  
  4234.  
  4235.  
  4236.  
  4237.  
  4238.  
  4239.  
  4240.  
  4241.  
  4242.  
  4243.  
  4244.  
  4245.  
  4246.  
  4247.                               MegaD 2.00  Tutorial, Copyright © 1992
  4248.  
  4249.  
  4250.  
  4251.  
  4252.  
  4253.                                                               AutoBoots  73
  4254.  
  4255.                               AutoBoots
  4256.                               =========
  4257.  
  4258.                               AutoBoots are unique, their purpose is to
  4259.                               let you to train MegaD to work with types of
  4260.                               data files that it knows nothing about. 
  4261.                               MegaD only knows how to handle a double click
  4262.                               on three types of files from default.  They
  4263.                               are:
  4264.  
  4265.                               1.   Icon file (.info) Emulates Workbench. 
  4266.                                    If it is a project icon it will look for
  4267.                                    a tool type.  If it is a drawer icon it
  4268.                                    will load the directory into a Directory
  4269.                                    Window.  If it is a tool icon it will
  4270.                                    ask if you want to run the program file
  4271.                                    associated with it.
  4272.  
  4273.                               2.   Text file.  It will attempt to load it
  4274.                                    and place it into a Text Window.
  4275.  
  4276.                               3.   Executable file.  It will bring up a
  4277.                                    Program Control Window that can be set
  4278.                                    in a variety of ways.  This Program
  4279.                                    Control Window is an integral part of
  4280.                                    AutoBoots, Menu Sets and User gadgets. 
  4281.                                    It allows you execute an external
  4282.                                    program from within MegaD and offers
  4283.                                    many options on just how it should be
  4284.                                    done.  This will be explained during
  4285.                                    this discussion on AutoBoots.
  4286.  
  4287.                               This is rather limiting when you consider the
  4288.                               wide variety of data files that are possible
  4289.                               on the Amiga.  Just to name a few, Graphics,
  4290.                               Sounds, Music, Mod, Animations...  To even
  4291.                               attempt to list all possible data files would
  4292.                               be a major job, and once the list was
  4293.                               complete someone would write a new program
  4294.                               that would create a new type of data file
  4295.                               making the list incomplete.
  4296.  
  4297.                               For this same reason MegaD remains and will
  4298.                               remain to be a very naive program.  It knows
  4299.                               very little about the outside world.
  4300.  
  4301.                               It is up to you to teach MegaD how it should
  4302.                               react when a data file is double clicked. 
  4303.                               This requires you to know a little about your
  4304.                               own system.
  4305.  
  4306.                               MegaD 2.00  Tutorial, Copyright © 1992
  4307.  
  4308.  
  4309.  
  4310.  
  4311.  
  4312.                                                               AutoBoots  74
  4313.  
  4314.  
  4315.      Know Your System         You need to be able to answer this question. 
  4316.                               "What data files on your system work with
  4317.                               what programs on your system?"  If you have a
  4318.                               word processor, what files did that word
  4319.                               processor create?.  If you have a program
  4320.                               that will display or create graphic files,
  4321.                               what graphic files can it handle?  If you
  4322.                               have a program the will play a sound file,
  4323.                               what sound files can it handle?
  4324.  
  4325.      Add AutoBoot Command     The facility that you use to teach it with is
  4326.                               the 'Add AutoBoot' command.  'Add AutoBoot'
  4327.                               requires you to select one program file and
  4328.                               at least Two data files that the program file
  4329.                               can handle.  The more data files that are
  4330.                               selected the better chance that MegaD will
  4331.                               always make the correct choice as to which
  4332.                               program file to match it to when the data
  4333.                               file is double clicked.
  4334.  
  4335.                               I am going to base this piece of the
  4336.                               tutorial on an assumption, I am going to
  4337.                               assume that you have and have used Deluxe
  4338.                               Paint IV.  The program name for this is
  4339.                               DPaint and from here on out that is the name
  4340.                               that I will refer to it with.  If you don't
  4341.                               have DPaint you will have to improvise and
  4342.                               use some other type of program that creates
  4343.                               and uses data files, just remember that all
  4344.                               that is really required to create an AutoBoot
  4345.                               definition is one program file and at least
  4346.                               two data files that the program file knows
  4347.                               how to use.
  4348.      Selecting The 
  4349.      Executable               Open a Directory Window that contains the
  4350.                               program file DPaint and select it.  Select
  4351.                               the 'Lock' gadget of this Directory Window,
  4352.                               this will prevent it from closing while we
  4353.                               open another directory that contains the data
  4354.                               files.
  4355.  
  4356.      Selecting The 
  4357.      Data Files               If your data files are stored with the
  4358.                               program file drag select some of them, if
  4359.                               not, open a Directory Window that contains
  4360.                               the data files, and drag select some of them.
  4361.      Add AutoBoot 
  4362.      Skips Icon Files         Do not worry about the icon files that may
  4363.                               has been selected with the data files, MegaD
  4364.  
  4365.                               MegaD 2.00  Tutorial, Copyright © 1992
  4366.  
  4367.  
  4368.  
  4369.  
  4370.  
  4371.                                                               AutoBoots  75
  4372.  
  4373.                               will ignore them through the Add AutoBoot
  4374.                               process.
  4375.  
  4376.                               Now select the 'ABoot Add' Command Gadget. 
  4377.                               This gadget is located on the third
  4378.                               (shifted) bank of Command Gadget, forth row,
  4379.                               far Left.  MegaD will match the program file
  4380.                               to the selected data files, by matching
  4381.                               common data found at the first of each data
  4382.                               file.
  4383.  
  4384.      Possible Uses of
  4385.      File Extension           If common data can't be found yet each
  4386.                               selected data file had a common extension
  4387.                               such as ".lha", it will use the extension of
  4388.                               the filenames to match the files with.
  4389.  
  4390.                               If everything goes as planed, a Program
  4391.                               Control Window will open that will let you
  4392.                               set MegaD to run the program file and the
  4393.                               specific actions for MegaD to perform while
  4394.                               it is running the program.
  4395.  
  4396.                               The next few pages may be difficult to
  4397.                               comprehend; however, I think I should
  4398.                               introduce you to the autoboot requestor
  4399.                               before I continue leading you through the
  4400.                               DPaint autoboot setup.  In the meanwhile,
  4401.                               please bear with me.
  4402.  
  4403.  
  4404.  
  4405.  
  4406.  
  4407.  
  4408.  
  4409.  
  4410.  
  4411.  
  4412.  
  4413.  
  4414.  
  4415.  
  4416.  
  4417.  
  4418.  
  4419.  
  4420.  
  4421.  
  4422.  
  4423.  
  4424.                               MegaD 2.00  Tutorial, Copyright © 1992
  4425.  
  4426.  
  4427.  
  4428.  
  4429.  
  4430.                                        Auto Boot Program Control Window  76
  4431.  
  4432.                               Program Control Window
  4433.                               ======================
  4434.  
  4435.                               Now that the Program Control Window is
  4436.                               opened, we can discuss all of the settings
  4437.                               and string gadgets found in it.  You will
  4438.                               find this discussion useful later on when we
  4439.                               discuss Menu Sets, and User Gadgets, they
  4440.                               both use the Program Control Window for part
  4441.                               of their setup in the same way the AutoBoots
  4442.                               are set.
  4443.      Anatomy Of The
  4444.      Program Control Window   The Program Control Window contained nine
  4445.                               check gadgets, Two cycle gadgets, six string
  4446.                               gadgets and two exit gadgets, Use and Cancel.
  4447.  
  4448.      Check Gadgets            The check gadgets that have an '*' in front
  4449.                               of the title of the gadget has no control
  4450.                               over an AutoBoot definition during the double
  4451.                               click of a file.  But they can be set for
  4452.                               later use.  You will be able to place a
  4453.                               defined AutoBoot on one or more of the keypad
  4454.                               gadgets once it is defined
  4455.  
  4456.      Skip selected directories
  4457.                               If checked, ignores selected directories in
  4458.                               the directory window during the call.  Very
  4459.                               few programs can use a selected directory. 
  4460.                               Some archiving program will compress all
  4461.                               files and recreate the directory once un-
  4462.                               compressed.
  4463.  
  4464.      Skip selected files:     If checked, ignores selected files in the
  4465.                               directory window during the call.  This is
  4466.                               rarely checked.  Most programs that you set
  4467.                               up will want selected files to work on from
  4468.                               open directory windows.
  4469.  
  4470.      Work without selected items:
  4471.                               If checked, MegaD will call the program even
  4472.                               if nothing is selected in the directory
  4473.                               window during the call.  This is useful when
  4474.                               creating a program control that will call a
  4475.                               program that does not use a data file, such
  4476.                               as a terminal program.
  4477.  
  4478.      Skip .info files:
  4479.                               If checked, ignores selected .info files in
  4480.                               the directory window during the call.  Very
  4481.  
  4482.  
  4483.                               MegaD 2.00  Tutorial, Copyright © 1992
  4484.  
  4485.  
  4486.  
  4487.  
  4488.  
  4489.                                        Auto Boot Program Control Window  77
  4490.  
  4491.                               few programs work on icon files.  Usually
  4492.                               this will be checked.
  4493.  
  4494.      Combine all selected on one line:
  4495.                               Some programs can accept multiple data files
  4496.                               at startup.  MegaD launches programs in two
  4497.                               basic ways.  CLI command line, or as a
  4498.                               Workbench task.  This works closely with the
  4499.                               cycle gadget below that cycles though the
  4500.                               different execute modes.
  4501.                               If checked:
  4502.                                 And this is a
  4503.                                    "Multitasking Workbench (NO I/0)" (see
  4504.                                    below) type call.  All selected items
  4505.                                    that get past the above criteria will be
  4506.                                    sent to the called program as a group of
  4507.                                    Workbench arguments.  Some programs do
  4508.                                    not deal with multiple arguments and
  4509.                                    will ignore all but the first argument
  4510.                                    and some times even the first argument
  4511.                                    will be ignored.
  4512.                                 And this is not a
  4513.                                    "Multitasking Workbench (NO I/O)" the
  4514.                                    selected information will be assembled
  4515.                                    into a CLI (Command Line Interface)
  4516.                                    command.  A CLI command can be about 255
  4517.                                    characters long. If all of the selected
  4518.                                    items can not be place into one line,
  4519.                                    MegaD will create extra lines and recall
  4520.                                    the program until all selected items
  4521.                                    have been fed to the program. (See
  4522.                                    Command Lines and Program control below
  4523.                                    for more information.)
  4524.  
  4525.      Combine all selected on one line: (continued)
  4526.                               If not checked:
  4527.                                 And this is a
  4528.                                    "Multitasking Workbench (NO I/0)" type
  4529.                                    call.  All selected items that get past
  4530.                                    the above criteria will be fed to the
  4531.                                    called program one at a time.  Each time
  4532.                                    the called program returns, the program
  4533.                                    will be re-called and given the next
  4534.                                    selected item.  This mode has a high
  4535.                                    overhead due to the fact that the
  4536.                                    program must be reloaded for each call.
  4537.                                 And this is not a
  4538.                                    "Multitasking Workbench (NO I/O)" the
  4539.                                    selected information will be assembled
  4540.                                    into a CLI (Command Line Interface)
  4541.  
  4542.                               MegaD 2.00  Tutorial, Copyright © 1992
  4543.  
  4544.  
  4545.  
  4546.  
  4547.  
  4548.                                        Auto Boot Program Control Window  78
  4549.  
  4550.                                    command. MegaD will create a command
  4551.                                    line for each selected item and recall
  4552.                                    the program until all selected items
  4553.                                    have been fed to the program.
  4554.  
  4555.      Workbench screen to front at start
  4556.                               If checked, MegaD will move the Workbench
  4557.                               screen to the front position among all other
  4558.                               screens running on the system at the same
  4559.                               time MegaD launches the program.
  4560.                                
  4561.      MegaD screen to front at end
  4562.                               If checked, MegaD will move the MegaD screen
  4563.                               to the front position among all other
  4564.                               screens running on the system after the
  4565.                               launched program ends.
  4566.  
  4567.      Reload current directory at end
  4568.                               If checked, MegaD will require that at least
  4569.                               one destination window is available on the
  4570.                               screen.  Once the called program returns,
  4571.                               MegaD will reload the current directory and
  4572.                               re-display the information in this
  4573.                               destination window.  If the destination
  4574.                               window was closed during the process it will
  4575.                               be reopened.
  4576.  
  4577.      Forced Destination       'Reload current directory at end' also forces
  4578.                               the destination window to become the Current
  4579.                               Directory for the called program.  This is
  4580.                               useful for programs that un-archive
  4581.                               information to such directories.
  4582.  
  4583.                               If 'Reload current directory at end' is not
  4584.                               check the called program is given it's own
  4585.                               home directory as it's current directory, and
  4586.                               no directory is reloaded once the launched
  4587.                               program finishes.
  4588.  
  4589.      Query for destination filename
  4590.                               If checked, MegaD will require that at least
  4591.                               one destination window is available on the
  4592.                               screen.  MegaD will then open a requestor for
  4593.                               you to input the filename to be used in this
  4594.                               directory.  This is useful for a program that
  4595.                               requires a destination file name such as
  4596.                               archivers. (See: Command Lines and Program
  4597.                               control below for more information.)
  4598.  
  4599.      Screen control Cycle gadget
  4600.  
  4601.                               MegaD 2.00  Tutorial, Copyright © 1992
  4602.  
  4603.  
  4604.  
  4605.  
  4606.  
  4607.                                        Auto Boot Program Control Window  79
  4608.  
  4609.                               The Screen control only effects which screen
  4610.                               the console window is placed for Non-
  4611.                               Workbench executed programs.
  4612.  
  4613.      Place Program on Workbench Screen:
  4614.                               Place the console window for the program on
  4615.                               Workbench screen.
  4616.  
  4617.      Place Program on MegaD Screen:
  4618.                               Place the console window for the program on
  4619.                               MegaD screen.
  4620.  
  4621.      Execute type cycle gadget
  4622.      Multitasking execute:
  4623.                               MegaD spawns a simple task to control the
  4624.                               called program.  This task executes the
  4625.                               command line or lines that were created by
  4626.                               the program control.  If more than one
  4627.                               command line was created for this call it
  4628.                               will continue executing each line until the
  4629.                               job is completed.
  4630.  
  4631.      Multitasking Execute W/Hold:
  4632.                               MegaD spawns a simple task to control the
  4633.                               called program.  This task executes the
  4634.                               command line or lines that were created by
  4635.                               the program control.  If more than one
  4636.                               command line was created for this call the
  4637.                               task will wait for a return or the input of
  4638.                               the letter 'Q' for quit. If the letter 'Q' is
  4639.                               not entered it will continue calling each
  4640.                               line until the job is completed.
  4641.  
  4642.      Multitasking Workbench (NO I/0):
  4643.                               MegaD spawns the program as a Workbench task.
  4644.                               No command line is created.  Only Workbench
  4645.                               arguments are passed to the called program.
  4646.                               Input and Output channels are not supplied,
  4647.                               so DO NOT use this call with programs that
  4648.                               are CLI type programs.  The best way to know
  4649.                               if this will work is if the program that you
  4650.                               are setting up has an icon file (.info).
  4651.  
  4652.      Program Control Window, String Gadgets.
  4653.                               Please See:  Command Lines and Program
  4654.                               control below for more information about how
  4655.                               the strings are assembled for a command line.
  4656.  
  4657.      Title String Gadget      You define a unique title for each program
  4658.                               control.  This title should be one that will
  4659.  
  4660.                               MegaD 2.00  Tutorial, Copyright © 1992
  4661.  
  4662.  
  4663.  
  4664.  
  4665.  
  4666.                                        Auto Boot Program Control Window  80
  4667.  
  4668.                               remind yourself what the program control
  4669.                               function is and will do.  This title must be
  4670.                               unique from all other program controls
  4671.                               titles.  Though the room for the title is
  4672.                               large, it is best to keep them to 12
  4673.                               characters or less.  This way the title will
  4674.                               be completely visible if the program control
  4675.                               is attach to a keypad gadget.
  4676.  
  4677.      Path and Program Name String Gadget
  4678.                               This should contain the complete path and
  4679.                               filename of the executable file for this
  4680.                               Program Control. It can be verified by the
  4681.                               "Verify Title & Path/name" gadget at the top
  4682.                               of the window.
  4683.  
  4684.      Flags to add after Program Name:
  4685.                               If the program uses special information to
  4686.                               tell what to do, usually in the form of
  4687.                               flags [-f -a]. This is usually the best place
  4688.                               for them.
  4689.  
  4690.      Text to append to end of command line:
  4691.                               After the command line is fully assembled,
  4692.                               this information is added to the end.
  4693.  
  4694.      Redirect Output to a file or device:
  4695.                               If you under stand AmigaDos redirection this
  4696.                               is the output filename for the redirection. 
  4697.                               A very common one is PRT: to force the output
  4698.                               information to be sent to the printer.
  4699.  
  4700.      Accept Input From a file or device:
  4701.                               This is a very rare case and unless you are
  4702.                               very sure of what you are doing you should
  4703.                               not use this.  What happens is this.  If the
  4704.                               called program requires any information from
  4705.                               the console window it will instead be given
  4706.                               what ever information is found in the input
  4707.                               file.  Both types of redirection are complex
  4708.                               issues and if you need more information
  4709.                               consult your AmigaDos manuals.
  4710.  
  4711.      Preventing the Console 
  4712.      Window From Opening      NOTE: Under OS 2.0  you can prevent the
  4713.                               console window from opening by setting both
  4714.                               'Accept Input from a file or device' and
  4715.                               'Redirect Output to a file or device' to
  4716.                               "NIL:".
  4717.  
  4718.  
  4719.                               MegaD 2.00  Tutorial, Copyright © 1992
  4720.  
  4721.  
  4722.  
  4723.  
  4724.  
  4725.                                        Auto Boot Program Control Window  81
  4726.  
  4727.      Command Lines and Program Controls
  4728.                               Working with AmigaDos and CLI command lines
  4729.                               some times requires that full sentences be
  4730.                               created to tell the program that is to be
  4731.                               called what to do.  A very common type of a
  4732.                               command that might be used would be this
  4733.                               line.
  4734.      LhArc a "Ram Disk:archive" "My Disk:My Data File"
  4735.  
  4736.                               This line would call the program LhArc with
  4737.                               the flag of 'a' and two filenames following. 
  4738.                               When MegaD creates this line for you it does
  4739.                               a couple of other things to it.  It also adds
  4740.                               standard redirection symbols to it so that
  4741.                               the program can work in a supplied console
  4742.                               window.  When MegaD creates this line it
  4743.                               looks like this.
  4744.  
  4745.      LhArc >* <* a "Ram Disk:archive" "My Disk:My Data File"
  4746.  
  4747.                               MegaD uses all of the information in the
  4748.                               string gadgets of the program control and
  4749.                               possibly information from selected files in
  4750.                               directory window to piece together the
  4751.                               command line.
  4752.  
  4753.                               The information is patched together with
  4754.                               spaces between the information in this order.
  4755.  
  4756.                               [Path and Program Name] 
  4757.                               >[Redirect Output to a file or device]
  4758.                               <[Accept Input From a file or device]
  4759.                               [Flags to add after Program Name]
  4760.                               [Query for destination filename]
  4761.                               [complete filenames of selected files]
  4762.                               [Text to append to the end of the Command Line]
  4763.  
  4764.                               Sorry I had to put you through all of that, 
  4765.                               But all of it needed to be explained.  I will
  4766.                               take you through setting up Program Control
  4767.                               in a number of different ways.  If you can
  4768.                               remember that, far back we started this
  4769.                               discussion by starting to set up an AutoBoot
  4770.                               Program Control for DPaint, that Program
  4771.                               Control Window should still be open at the
  4772.                               moment.  We will move back to setting the
  4773.                               DPaint AutoBoot up.
  4774.  
  4775.  
  4776.  
  4777.  
  4778.                               MegaD 2.00  Tutorial, Copyright © 1992
  4779.  
  4780.  
  4781.  
  4782.  
  4783.  
  4784.                                                               AutoBoots  82
  4785.  
  4786.                               Back To Adding Auto Boots
  4787.                               =========================
  4788.  
  4789.      Setting AutoBoots 
  4790.      As Command Gadgets       You could select 'Use' at this point and the
  4791.                               AutoBoot would be ready to use. But we will
  4792.                               define this Program Control to the attributes
  4793.                               that best suit DPaint.  One of the nice
  4794.                               things about this, is the AutoBoot can later
  4795.                               be attached to one of the keypad gadgets so
  4796.                               you could select a graphic file from a MegaD
  4797.                               Directory Window and then select the DPaint
  4798.                               keypad gadget.  This action would launch
  4799.                               DPaint and load the selected graphic file.  I
  4800.                               always set the AutoBoot Program Control up so
  4801.                               that if I want they can be added to a keypad. 
  4802.                               We will go though the steps to do so.
  4803.  
  4804.                               As you will see, the best way to set up a
  4805.                               Program Control is to ask yourself "Do I need
  4806.                               this attribute to run this program?"
  4807.  
  4808.                               The first question you should answer right
  4809.                               now is "How should I run this program?" As a
  4810.                               Workbench task or as an executed CLI command
  4811.                               line?  And if it is an executed CLI command
  4812.                               line, should the console window that it is
  4813.                               run from, wait for a return to close.  DPaint
  4814.                               will run from the Workbench.  We know this
  4815.                               because it has a .info icon file that is used
  4816.                               with the Workbench.
  4817.  
  4818.                               Using the Workbench to launch a program has
  4819.                               the lowest overhead, or put another way, it
  4820.                               uses less memory.
  4821.  
  4822.                               Set the execute type gadget to "Multitasking
  4823.                               Workbench (NO I/O)"  You will notice that the
  4824.                               two bottom check gadgets are ghosted, also
  4825.                               the last four string gadgets have become
  4826.                               ghosted.  These attributes can not be used
  4827.                               with the Workbench.
  4828.  
  4829.                               The next question is "Will DPaint work with a
  4830.                               directory as a tool?  The answer is no.  You
  4831.                               can not give DPaint a directory as a
  4832.                               workbench argument and have it know what to
  4833.                               do with it.  So you will check the "Skip
  4834.                               selected directories."
  4835.  
  4836.  
  4837.                               MegaD 2.00  Tutorial, Copyright © 1992
  4838.  
  4839.  
  4840.  
  4841.  
  4842.  
  4843.                                                               AutoBoots  83
  4844.  
  4845.                               Will DPaint work with a file?  Yes, it will
  4846.                               load most any IFF graphic file.  We will not
  4847.                               check the "Skip selected files" attribute.
  4848.  
  4849.                               Will DPaint work without any data files. 
  4850.                               Yes, you can start up DPaint with out a file
  4851.                               and start working within DPaint from
  4852.                               scratch.  We will check the "Work without
  4853.                               selected items" attribute.
  4854.  
  4855.                               Will DPaint use an .info icon file?  No, it
  4856.                               will not know what to do with it.  We will
  4857.                               check the "Skip .info files" attribute
  4858.  
  4859.                               Will DPaint work on multiple data files at
  4860.                               one time.  Unfortunately it will not.  If you
  4861.                               send DPaint more than one Workbench argument
  4862.                               it will ignore all but the first one.  This
  4863.                               means if you were to drag select a group of
  4864.                               graphics files and launch DPaint with this
  4865.                               attribute set it will load the first selected
  4866.                               item and ignore all the others.  We will not
  4867.                               select the "Combine all selected on one line"
  4868.                               attribute.
  4869.  
  4870.                               Will DPaint open on the Workbench screen? 
  4871.                               No, DPaint will open it's own screen, and
  4872.                               being so, we will not need to shuffle the
  4873.                               screens around to see the program.  We will
  4874.                               not check the "Workbench screen to front at
  4875.                               start" And for the same reason will not
  4876.                               check the "MegaD screen to front at end"
  4877.                               attribute.
  4878.  
  4879.                               Now look over to the right side of the
  4880.                               window.  The top two string gadgets are the
  4881.                               only ones we can enter information into and
  4882.                               they are both filled.  The Title has "DPaint"
  4883.                               in it.  Path and Program name has the full
  4884.                               path and name that you would use to find and
  4885.                               run this program.  This is my path for it: 
  4886.                                    "Work:Paint/DPaint", 
  4887.  
  4888.                               yours will be different to match the way
  4889.                               DPaint is accessed on your system.  Both are
  4890.                               filled in properly and we can leave them as
  4891.                               they are.
  4892.  
  4893.                               Now that we have everything set, select the
  4894.  
  4895.  
  4896.                               MegaD 2.00  Tutorial, Copyright © 1992
  4897.  
  4898.  
  4899.  
  4900.  
  4901.  
  4902.                                                               AutoBoots  84
  4903.  
  4904.                               'Use' gadget.  You should receive a message
  4905.                               reading:
  4906.  
  4907.                                       This AutoBoot has been added
  4908.                                       To keep, use Save Preferences
  4909.  
  4910.                               press 'Continue'.  The AutoBoot is now
  4911.                               available for use on your system.
  4912.  
  4913.      Using an AutoBoot        To use the AutoBoot, all you will need to do
  4914.                               is double click a file that it has been
  4915.                               trained to recognize.  DPaint will be
  4916.                               launched and the double clicked file will be
  4917.                               loaded by DPaint.  Test this out and then
  4918.                               quit DPaint so that we can go on to the next
  4919.                               feature of using AutoBoots.
  4920.  
  4921.                               Just as a reminder, there is a menu item in
  4922.                               the Option menu that will disable this
  4923.                               feature of MegaD.  It is the Option, Activate
  4924.                               AutoBoot.  If you un-check this, the testing
  4925.                               of double click of files for data type will
  4926.                               be deactivated.
  4927.      Using an AutoBoot 
  4928.      As A Command Gadget      We have prepared this AutoBoot so that it can
  4929.                               be attached to the keypad.  Lets do this now.
  4930.                               This task is quite simple to perform.  In the
  4931.                               Project menu you will find the menu item
  4932.                               Keypads...  Select this item.
  4933.  
  4934.      Set Keypads Window       A window will open that is for attaching
  4935.                               commands to the keypad gadgets.  The upper
  4936.                               area has 42 gadgets in a 6 X 7 grid.  This
  4937.                               set of gadget are the source gadgets.  They
  4938.                               are where you will get the commands that you
  4939.                               want to place in your keypad.
  4940.  
  4941.      Destination Gadgets      The keypad gadgets are in the lower area of
  4942.                               this window aligned to the right side of the
  4943.                               window.  The keypad gadget area is the
  4944.                               destination area of this window.  
  4945.  
  4946.                               Any one gadget in each area can be selected. 
  4947.                               As soon as one gadget is selected in both
  4948.                               areas the keypad gadget will changed to the
  4949.                               selected source item.
  4950.  
  4951.                               You will find two cycle gadgets, One is for
  4952.                               pages of source information, the other is to
  4953.                               select the type of source information to
  4954.  
  4955.                               MegaD 2.00  Tutorial, Copyright © 1992
  4956.  
  4957.  
  4958.  
  4959.  
  4960.  
  4961.                                                               AutoBoots  85
  4962.  
  4963.                               transfer or to work on.  The types to work on
  4964.                               are Builtin, Menu Sets, AutoBoots and User
  4965.                               Gadgets.
  4966.  
  4967.                               Below this set of cycle gadgets are gadgets
  4968.                               labeled Add, Delete, Modify.  By selecting a
  4969.                               Menu Set, AutoBoot, or User Gadget and then
  4970.                               selecting the Modify gadget you can edit how
  4971.                               a program control will function.  By
  4972.                               selecting a keypad gadget and then modify,
  4973.                               you can change the title and color of the
  4974.                               keypad gadget.
  4975.  
  4976.                               You will need to cycle the source type to
  4977.                               AutoBoots.  Once doing so you will see the
  4978.                               'DPaint" AutoBoot that we just created. 
  4979.                               Select the 'A' 'Shift gadget' on the keypad. 
  4980.                               This will position it to a completely blank
  4981.                               bank of Command Gadgets.  Select the upper
  4982.                               right keypad gadget, it will stay selected
  4983.                               after you move the mouse away from it. 
  4984.                               Select the source gadget 'DPaint', the
  4985.                               information will be copied to the selected
  4986.                               keypad gadget.
  4987.  
  4988.                               Now select the 'Use' gadget.  The Set Keypad
  4989.                               window will close.  Now select the 'A' gadget
  4990.                               in the Control Window to shift the Command
  4991.                               Gadget to the forth bank.  You will find the
  4992.                               'DPaint' gadget you just place there.  Be
  4993.                               sure that no Directory Window items are
  4994.                               selected and select the 'DPaint' Command
  4995.                               Gadgets.   DPaint will be launched without a
  4996.                               data file to load, (this is why we made sure
  4997.                               that none of the Directory Window had
  4998.                               selected items in them.)  After doing this,
  4999.                               Quit DPaint.  Now select a data file in a
  5000.                               Directory Window that you know will work with
  5001.                               DPaint, then select the 'DPaint' Command
  5002.                               Gadget once again.  DPaint will be launched
  5003.                               and this time it will have a data file to
  5004.                               load and display.
  5005.  
  5006.                               I took you on a number of detours to explain
  5007.                               how to add an AutoBoot to MegaD.  We will add
  5008.                               a few more AutoBoots, the first one will
  5009.                               work on the same types of graphic data
  5010.                               files.  I am going to demonstrate how MegaD
  5011.                               handles situations where multiple AutoBoots
  5012.                               are created for the same type of data file. 
  5013.  
  5014.                               MegaD 2.00  Tutorial, Copyright © 1992
  5015.  
  5016.  
  5017.  
  5018.  
  5019.  
  5020.                                                               AutoBoots  86
  5021.  
  5022.                               The other one will work with an archiving
  5023.                               utility that needs a console window.
  5024.  
  5025.                               There are many programs out there that will
  5026.                               display graphic files on the Amiga.  They do
  5027.                               not include editing functions or ways to
  5028.                               modify the graphic file and save it, they are
  5029.                               usually fairly small, this gives them the
  5030.                               plus that they can be loaded quicker to
  5031.                               preview a graphic file than a full blown
  5032.                               paint utility.  A very good graphic viewer
  5033.                               comes with the new 2.0 operating system. 
  5034.                               This program is named "Display" and you can
  5035.                               find it in the utilities drawer of the
  5036.                               Workbench.  If your not using 2.0 and do not
  5037.                               have Display then you will have to find
  5038.                               another utility that will work on your system
  5039.                               that will display graphics files.  A very
  5040.                               good choice for this is "Mostra" by
  5041.                               Sebastiano Vigna.
  5042.  
  5043.                               Ether program that you use, you should be
  5044.                               familiar with it before running it.  If you
  5045.                               have never used "Display" or "Mostra", you
  5046.                               should read the documentation that comes with
  5047.                               them, before creating AutoBoots to work with
  5048.                               them.  This holds true for any program that
  5049.                               you wish to run, if it be from within MegaD
  5050.                               or from the Workbench or from the CLI.
  5051.  
  5052.      Save Your Work           As you have seen, MegaD will remind you after
  5053.                               a new AutoBoot definition is created, to save
  5054.                               your preference file.  The reason, so you
  5055.                               will not lose your work.  Creating an
  5056.                               AutoBoot is a risky business.  It is
  5057.                               possible that you may define an AutoBoot to
  5058.                               use the Workbench type execute, only to find
  5059.                               that when you test it out, it crashes
  5060.                               because the program needed input and output
  5061.                               channels.  It is possible that the program is
  5062.                               not compatible with the way MegaD launches
  5063.                               programs, though I have yet to find one, I
  5064.                               sure they exist.  For these reason, save
  5065.                               your preferences file by the use of the
  5066.                               'Project, Save Preferences' menu or the
  5067.                               Command Gadget, 'Save Defaults'.
  5068.  
  5069.                               The previous paragraph hold true for the rest
  5070.                               of the Tutorial.  Up till now, we have worked
  5071.                               with the default settings of MegaD.  We are
  5072.  
  5073.                               MegaD 2.00  Tutorial, Copyright © 1992
  5074.  
  5075.  
  5076.  
  5077.  
  5078.  
  5079.                                                               AutoBoots  87
  5080.  
  5081.                               now modifying MegaD to our needs and wants. 
  5082.                               All of the changes that we have done and all
  5083.                               of the changes the we will do later can be
  5084.                               saved, and should be.
  5085.  
  5086.                               Select "Display" in the Utilities Directory
  5087.                               Window and lock that window so that it will
  5088.                               not close.  Open the Directory Window to the
  5089.                               same graphic files that you used to set the
  5090.                               AutoBoot for DPaint and select some of the
  5091.                               graphic files.  Select the 'ABoot Add'
  5092.                               Command Gadgets.  The Program Control Window
  5093.                               will open.  Perform the next few settings.
  5094.  
  5095.                               1.   Check Skip selected directories.
  5096.                               2.   Check Skip .info files
  5097.                               3.   Check Combine all selected on one line
  5098.                               4.   Cycle Execute type to Workbench (NO I/O)
  5099.                               Note:     This is all that needed to be done
  5100.                                         to set up ether Mostra or Display. 
  5101.                                         If your not sure why we set the
  5102.                                         attributes this way look back at
  5103.                                         the text that describe the
  5104.                                         attributes of Program Controls for
  5105.                                         your answers.
  5106.                               5.   Select the 'Use' gadget.
  5107.  
  5108.      Multiple AutoBoot
  5109.      Window                   Now double click one of the graphic files, A
  5110.                               Multiple AutoBoots window will open.  It will
  5111.                               gives you the choice of which program to use
  5112.                               with this double clicked data file.  Two of
  5113.                               the twenty gadgets in this window displays
  5114.                               the possible choices for programs that can be
  5115.                               used with this file, Display and DPaint. 
  5116.                               Select the Display gadget.  The double
  5117.                               clicked file will be handed to the Display
  5118.                               program as a Workbench argument, in turn it
  5119.                               will load the graphic file and display it.
  5120.      Add Display
  5121.      Command Gadget           Select the Keypads menu item in the Project
  5122.                               menu.  Add this AutoBoot to the Keypad. 
  5123.                               Remember the Forth (Alt) bank is mostly
  5124.                               empty, this will be a common bank to add
  5125.                               commands while your getting used to MegaD. 
  5126.                               Add the Display AutoBoot to any of the blank
  5127.                               keypad gadgets.  Once done select the 'Use'
  5128.                               gadget.
  5129.  
  5130.  
  5131.  
  5132.                               MegaD 2.00  Tutorial, Copyright © 1992
  5133.  
  5134.  
  5135.  
  5136.  
  5137.  
  5138.                                                               AutoBoots  88
  5139.  
  5140.                               Remember that we selected the 'Combine all
  5141.                               selected on one line' attribute for the
  5142.                               Display AutoBoot.  Now that it is attached to
  5143.                               a keypad gadget we can test this feature of
  5144.                               the Program Control.  Select a few of the
  5145.                               graphic files in a Directory Window and then
  5146.                               select the new 'Display' keypad command. 
  5147.                               Display will load and run, it will load each
  5148.                               of the graphic files one at a time for you to
  5149.                               see them.  By pressing the Space Bar the
  5150.                               program Display will switch to the next
  5151.                               selected graphic.
  5152.  
  5153.                               Lets move on to the next and final AutoBoot
  5154.                               that we will add.  You will need to have one
  5155.                               of many archiving programs available for the
  5156.                               Amiga computer.  Archiving programs are used
  5157.                               to compress a file or a group of files for
  5158.                               storage or transmission over
  5159.                               telecommunication lines.  Two very popular
  5160.                               programs of this type are LhArc and LhA.  You
  5161.                               will also need to have a few files that have
  5162.                               been created with the archiving programs. 
  5163.                               These files usually end with an extension. 
  5164.                               LhArc files end with .lzh and LhA files end
  5165.                               with .lha.
  5166.      Adding Archive 
  5167.      List Command             Open a Directory Window that has the
  5168.                               archiving program and select it and 'Lock"
  5169.                               the window.  Open a window that has some of
  5170.                               the data files that match the archiving
  5171.                               program, remember that you need at least two
  5172.                               data files selected for Add AutoBoot.  After
  5173.                               doing so select the 'ABoot Add' Command
  5174.                               Gadgets.  MegaD will look though the selected
  5175.                               files for common data, the common data it
  5176.                               will find will be the data files all have the
  5177.                               same extension.  It will open a request
  5178.                               window that will read:
  5179.                                               Use extension
  5180.                                                    lha
  5181.                                     to match data file to executable?
  5182.  
  5183.                               Answer yes to this requestor.
  5184.  
  5185.                               The Program Control Window will open so that
  5186.                               you can set up this AutoBoot.  We want this
  5187.                               one to list the contents of the archive file
  5188.                               to a console window and it should hold the
  5189.                               console window open until we are done reading
  5190.  
  5191.                               MegaD 2.00  Tutorial, Copyright © 1992
  5192.  
  5193.  
  5194.  
  5195.  
  5196.  
  5197.                                                               AutoBoots  89
  5198.  
  5199.                               it.  Here are the attributes that we will
  5200.                               set:
  5201.                               1.   Check Skip selected directories
  5202.                               2.   Check Skip .info files
  5203.                               3.   Set execute to 'Multitasking Execute
  5204.                                    W/Hold"
  5205.                               4.   Add " list" behind the title so that it
  5206.                                    will be more descriptive of it's task. 
  5207.                                    It could read "LhA List" or "LhArc
  5208.                                    List".
  5209.                               5.   Type a lower case 'l' in the 'Flags to
  5210.                                    add after Program Name' string gadget. 
  5211.                                    This flag tell LhArc and LhA to list the
  5212.                                    contents of the archive file.
  5213.                               6.   Select the 'Use' gadget.
  5214.  
  5215.                               You can now double click any of the archive
  5216.                               files that was created with the archiving
  5217.                               program and the contents will be listed into
  5218.                               a console window.  The window will wait for a
  5219.                               return key press to close.
  5220.  
  5221.      We Are the Teachers      To summarize what has just happened, we have
  5222.                               taught MegaD how to handle graphic and
  5223.                               archived files.  An ability that it does not
  5224.                               have on it's own.  By training MegaD on what
  5225.                               program to call for certain types of data
  5226.                               files we have made MegaD a little more useful
  5227.                               while navigating around our file systems.  We
  5228.                               have also added the AutoBoots to keypad
  5229.                               gadgets so that new commands are available to
  5230.                               work on selected items in Directory Windows. 
  5231.                               We can even set keypad gadgets so that we can
  5232.                               call our favorite programs making MegaD a
  5233.                               very powerful tool manager.
  5234.  
  5235.                               Now that we have created a few AutoBoots we
  5236.                               can discuss how to select and clear items in
  5237.                               open Directory Windows by the use of "Sel
  5238.                               ABoot" and 'Clr ABoot'.  This is a unique
  5239.                               feature of MegaD, instead of selecting files
  5240.                               by name or file attributes you select it by
  5241.                               the actual contents of the file.  This has a
  5242.                               very high overhead when you use it, MegaD
  5243.                               actually reads the first few bytes of each
  5244.                               file found in each open Directory Window to
  5245.                               decide if the file will match the AutoBoot. 
  5246.                               But at times it may be the only way you can
  5247.                               tell a word processor file from a text file
  5248.                               in a mixed directory.
  5249.  
  5250.                               MegaD 2.00  Tutorial, Copyright © 1992
  5251.  
  5252.  
  5253.  
  5254.  
  5255.  
  5256.                                                               AutoBoots  90
  5257.  
  5258.  
  5259.                               You could use this function of MegaD to
  5260.                               clean up a directory of mixed items.  Select
  5261.                               the files by the AutoBoot criteria and them
  5262.                               move all of those files to a specific
  5263.                               directory that is to be dedicated to only
  5264.                               those types of files.  It becomes a very
  5265.                               powerful reorganization tool.
  5266.  
  5267.                               Open one Directory Window that has some data
  5268.                               files of the same type that was used to
  5269.                               create an AutoBoot.
  5270.  
  5271.                               Remember, MegaD will look into all open
  5272.                               Directory Window so it is best to have only
  5273.                               the Directory Window open that you want this
  5274.                               to happen in.
  5275.  
  5276.                               Select the "Sel ABoot" Command Gadget that is
  5277.                               found on the first bank of the Command
  5278.                               Gadget, third row, far right.  MegaD will
  5279.                               open a window with all of the available
  5280.                               AutoBoot definitions that have been created
  5281.                               thus far.
  5282.      Select/Clear
  5283.      AutoBoot Window          This window functions much like a Directory
  5284.                               Window, you can single select or drag select
  5285.                               AutoBoot definitions.  You can actually test
  5286.                               by multiple AutoBoots, but for our purpose we
  5287.                               will select by only one.  Once you have
  5288.                               selected the AutoBoot that you want to test
  5289.                               the files by, close the window by using the
  5290.                               window close gadget of this window.
  5291.  
  5292.                               MegaD will read the first few bytes of each
  5293.                               files and if the file is of the same type the
  5294.                               AutoBoot was trained to recognize it will
  5295.                               select the item.  "Clr ABoot" will work
  5296.                               exactly the same only it will clear the data
  5297.                               files that matches the AutoBoot selected for
  5298.                               the function.
  5299.  
  5300.  
  5301.  
  5302.  
  5303.  
  5304.  
  5305.  
  5306.  
  5307.  
  5308.  
  5309.                               MegaD 2.00  Tutorial, Copyright © 1992
  5310.  
  5311.  
  5312.  
  5313.  
  5314.  
  5315.                                                            User Gadgets  91
  5316.  
  5317.  
  5318.                               User Gadgets
  5319.                               ============
  5320.  
  5321.                               User Gadgets are program controls, much like
  5322.                               AutoBoots, that you define so that you can
  5323.                               launch other programs from keypad command
  5324.                               gadgets.  You've seen what it takes to add an
  5325.                               AutoBoot to MegaD and then attach it to a
  5326.                               keypad gadgets.
  5327.  
  5328.      Why User Gadgets?        The advantage of User Gadgets is that you do
  5329.                               not need to have data files to create them.
  5330.                               Take JrComm, a very popular telecommunication
  5331.                               program, it does not have to have a data file
  5332.                               to run.  But JrComm would be a good program
  5333.                               to attach to the keypad for quick access
  5334.                               while MegaD is running.
  5335.  
  5336.                               I am assuming that you made it through the
  5337.                               Add AutoBoots and that you were able to
  5338.                               unsuccessfully add the AutoBoots to your
  5339.                               Keypad Command Gadget.  Unless a User Gadget
  5340.                               is accessible from the keypad, it is useless
  5341.  
  5342.                               I will be adding JrComm to my keypad, you may
  5343.                               add JrComm if you have it, or any other
  5344.                               program that you would like to have quick
  5345.                               access to.  MegaD will launch any program you
  5346.                               want it too.  Simply use the program you wish
  5347.                               to attach in place of my references to
  5348.                               JrComm.
  5349.  
  5350.      Adding User Gadgets      User Gadgets are added by selecting the menu
  5351.                               item Project, Keypads...  The Set Keypads
  5352.                               window will open.  Cycle the command type
  5353.                               gadget to "User Gadgets".  The Add gadget
  5354.                               will become un-ghosted.  Select this gadget,
  5355.                               the window will change to "User Gadget,
  5356.                               Program Control".
  5357.  
  5358.      User Gadget
  5359.      Program Control          This window should be very familiar to you. 
  5360.                               We will set this up to launch a program that
  5361.                               will ignore all selected items in the
  5362.                               directory windows and launch the program
  5363.                               found in the "Path and Program name" string
  5364.                               gadget.  Take the following steps:
  5365.  
  5366.                               1.   Check 'Skip selected directories'
  5367.  
  5368.                               MegaD 2.00  Tutorial, Copyright © 1992
  5369.  
  5370.  
  5371.  
  5372.  
  5373.  
  5374.                                                            User Gadgets  92
  5375.  
  5376.                               2.   Check 'Skip selected files'
  5377.                               3.   Check 'Work without select items'
  5378.                               4.   Check 'Skip .info files'
  5379.                               5.   Set execute type to "Multitasking
  5380.                                    Workbench (NO I/O)"
  5381.                                    Note: if the program you are setting up
  5382.                                    requires input and output channels (CLI
  5383.                                    type), set this to "Multitasking
  5384.                                    Execute". You will crash the system
  5385.                                    launching a CLI program as a Workbench
  5386.                                    task.
  5387.                               6.   Enter "JrComm" into the Title string
  5388.                                    gadget
  5389.                               7.   Enter "JrComm:Jr-Comm" into the Path and
  5390.                                    program name string gadget.  You will
  5391.                                    have to know the full path to the
  5392.                                    program you are adding as a User Gadget.
  5393.      Verify Title 
  5394.      And Path/Name            There is a gadget that we have not discussed
  5395.                               yet.  It is found in the upper right hand
  5396.                               corner of the program Control Window.  The
  5397.                               "Verify Title & Path/name" gadget is for
  5398.                               testing the Title to be sure that it is
  5399.                               unique from all other Program Control titles. 
  5400.                               And for making sure that the Path and Program
  5401.                               name was entered correctly.  Select this
  5402.                               gadget once, If errors are found you will be
  5403.                               notified by a message window describing the
  5404.                               problems.  If no problems are found you will
  5405.                               receive the message:
  5406.                                    "Title & Path/name are good"
  5407.                               If any errors were found, correct them and
  5408.                               retest the verify.  When your information
  5409.                               Verifies select the 'Use' gadget.  You will
  5410.                               be returned to the Set Keypad window.
  5411.  
  5412.                               Find the new User Gadget JrComm in the
  5413.                               source area and copy it to one of the keypad
  5414.                               gadgets, preferably a blank one.  Now select
  5415.                               the 'Use' gadget of the Set Keypads window.
  5416.  
  5417.                               You will now be able to launch the program
  5418.                               from the keypad Command Gadget in the Control
  5419.                               Window.  Select this to see if it works
  5420.                               properly.  JrComm should start and run from
  5421.                               the selection of that command gadget.
  5422.  
  5423.      Current Directories      The next User Gadget that we will add is
  5424.                               going to be useless other than it will
  5425.                               demonstrate a feature of MegaD Program
  5426.  
  5427.                               MegaD 2.00  Tutorial, Copyright © 1992
  5428.  
  5429.  
  5430.  
  5431.  
  5432.  
  5433.                                                            User Gadgets  93
  5434.  
  5435.                               Control that is not readily apparent.  This
  5436.                               works with the Reload current directory at
  5437.                               end attribute.  This attribute does two
  5438.                               things.  One, as it describes, after ending
  5439.                               it reloads the directory that was active at
  5440.                               the time the program was run.  Two, it
  5441.                               forces the Active Directory of MegaD to
  5442.                               become the launched program current
  5443.                               directory.  The Active Directory of MegaD is
  5444.                               listed in the text area of the Control
  5445.                               Window.
  5446.  
  5447.      Another Reason to Switch 
  5448.      to Workbench 2.0         A note to Workbench 1.3 users.  This feature
  5449.                               does not work correctly, In fact it does not
  5450.                               work at all.  The current directory usually
  5451.                               becomes the boot disk.  I have no plans to
  5452.                               make this work under 1.3.  But if your not
  5453.                               Using 2.0 yet you should be.  It is well
  5454.                               worth the upgrade fee.
  5455.  
  5456.      When You Need A 
  5457.      Current Directory        At what times would you want a directory to
  5458.                               become the current directory?  Any time you
  5459.                               have a program that creates a file that will
  5460.                               be written to the current directory.  Archive
  5461.                               programs are known for this feature, before
  5462.                               archiving a set of files, you should always
  5463.                               CD (change directory) to the directory that
  5464.                               you wish the archive to be created in.  MegaD
  5465.                               does this automaticly for you when you use
  5466.                               the Reload current directory at end
  5467.                               attribute.
  5468.  
  5469.                               A program that will help show this in action
  5470.                               is the "Dir" command found in your C:
  5471.                               directory.  Dir will list the current
  5472.                               directory if it is entered on a CLI without
  5473.                               any arguments.  The current directory will be
  5474.                               listed in the CLI window.  Lets create a User
  5475.                               Gadget that will do this for us.
  5476.  
  5477.      Dir User Gadget          Select the "Project, Keypads..." menu item. 
  5478.                               Cycle command type to 'User Gadgets' and
  5479.                               select the Add gadget.  The Program Control
  5480.                               Window will open so that a new User Gadget
  5481.                               can be created.  Set the following
  5482.                               attributes:
  5483.                               1.   Check 'Skip selected files'
  5484.                               2.   Check 'Work without selected items'
  5485.  
  5486.                               MegaD 2.00  Tutorial, Copyright © 1992
  5487.  
  5488.  
  5489.  
  5490.  
  5491.  
  5492.                                                            User Gadgets  94
  5493.  
  5494.                               3.   Check 'Skip .info files'
  5495.                               4.   Check 'Reload current directory at end'
  5496.                               5.   Cycle Execute type to 'Multitasking
  5497.                                    Execute W/Hold'. (Dir needs input and
  5498.                                    output channels.)
  5499.                               6.   Enter "Dir" into the Title string
  5500.                                    gadget.
  5501.                               7.   Enter "C:Dir" into the Path and Program
  5502.                                    Name string gadget.
  5503.                               8.   Verify the Title, Path and Program name.
  5504.                               9.   Select Use.
  5505.  
  5506.                               The Set Keypad window will reopen.  You will
  5507.                               now be able to copy the new 'Dir' User Gadget
  5508.                               to one of your keypads gadgets.  Once copied,
  5509.                               select the 'Use' gadget and the Set Keypads
  5510.                               window will close.
  5511.  
  5512.      Testing the Reload/
  5513.      Current Directory        You will now be able to access the new 'Dir'
  5514.                               command from your Keypad Command Gadgets. 
  5515.                               Open a Directory Window to a directory that
  5516.                               has a few items visible in it, the
  5517.                               'Dest'ination gadget should be auto
  5518.                               selected.  Select the new 'Dir' Command
  5519.                               Gadgets.  A console window will open, the
  5520.                               directory will be read and listed into the
  5521.                               console window as if you had CD to that
  5522.                               directory in a CLI window and then typed
  5523.                               "Dir".  Press the return key to close this
  5524.                               console window.
  5525.  
  5526.                               Open a few other Directory Window and test
  5527.                               the 'Dir' command as new 'Dest'ination
  5528.                               Directories are selected.  Each time the
  5529.                               launched program will be given the MegaD
  5530.                               Active Directory as its current directory.
  5531.      Modify or Delete
  5532.      Program Controls         As mentioned, this is a useless command. 
  5533.                               MegaD is already displaying the directory and
  5534.                               a list in a console window is of very little
  5535.                               use.  There is a way to modify or delete User
  5536.                               Gadget.  Select the menu item "Project,
  5537.                               Keypads..." again.  If the command type is
  5538.                               not set to User Gadgets, cycle it to it.  You
  5539.                               will be able to select the 'Dir' User Gadget
  5540.                               that you have just created.  Select it and
  5541.                               then select the 'Modify' gadget found in the
  5542.                               lower left spot of the Set Keypad window.  If
  5543.                               you wanted you could modify this Program
  5544.  
  5545.                               MegaD 2.00  Tutorial, Copyright © 1992
  5546.  
  5547.  
  5548.  
  5549.  
  5550.  
  5551.                                                            User Gadgets  95
  5552.  
  5553.                               Control.  I just brought you to this point so
  5554.                               that you can see how to modify a Program
  5555.                               Control when it is needed.  You can modify
  5556.                               all of the different types of Program Control
  5557.                               from the Set Keypad window, this is one of
  5558.                               it's major functions.  You can access Auto
  5559.                               Boots, User Gadgets and Menu Sets from this
  5560.                               point.
  5561.  
  5562.                               Select the Cancel gadget.  We are going to
  5563.                               delete the 'Dir' User Gadget.  Select the
  5564.                               'Dir' User Gadget in the source area, then
  5565.                               select the 'Delete' gadget found just above
  5566.                               the 'Modify' gadget in the lower left section
  5567.                               of the window.  A requestor will open that
  5568.                               reads:
  5569.                                          Cancel will not restore
  5570.                                         deleted program controls
  5571.                                                 Continue
  5572.  
  5573.                               This is warning you that there will be no way
  5574.                               to retrieve this Program Control later. 
  5575.                               Select Yes and the User Gadget 'Dir' will
  5576.                               disappear from both the Source area and the
  5577.                               place that it was copied to your keypad
  5578.                               Command Gadgets.
  5579.  
  5580.  
  5581.  
  5582.  
  5583.  
  5584.  
  5585.  
  5586.  
  5587.  
  5588.  
  5589.  
  5590.  
  5591.  
  5592.  
  5593.  
  5594.  
  5595.  
  5596.  
  5597.  
  5598.  
  5599.  
  5600.  
  5601.  
  5602.  
  5603.  
  5604.                               MegaD 2.00  Tutorial, Copyright © 1992
  5605.  
  5606.  
  5607.  
  5608.  
  5609.  
  5610.                                                               Menu Sets  96
  5611.  
  5612.                               Menu Sets
  5613.                               =========
  5614.  
  5615.                               Menu sets are user defined menus.  You
  5616.                               access them in the 'Utilities' menu.   They
  5617.                               take up the first five items in this menu. 
  5618.                               For this reason they are setup in groups of
  5619.                               five.  A user defined menu can do anything
  5620.                               that a User Gadget can do.  The only real
  5621.                               difference is that you access it from the
  5622.                               menu instead of the Control Window.
  5623.  
  5624.      Predefined Menu Sets     There are three predefined menu sets that
  5625.                               come at default.  They are Zoo, Arc and
  5626.                               LhArc.
  5627.  
  5628.                               To access the Menu Set you can use the menu
  5629.                               "Project, Set Preferences..."  We were in
  5630.                               this window once before to set the Device
  5631.                               Gadgets up.  We will be concentrating on the
  5632.                               upper area this time, it is dedicated to the
  5633.                               Menu Sets.  You will see that the five menus
  5634.                               of a Menu Set are grouped line by line. Each
  5635.                               line is titled Menu 1 through Menu 5.  To the
  5636.                               far right of each line is a gadget titled
  5637.                               Control..., select any one of these gadgets.
  5638.      Menu Set
  5639.      Program Control          This window should be getting fairly
  5640.                               familiar by now, The Program Control Window. 
  5641.                               When modifying a Menu Set, it is best to do
  5642.                               it from within the Program Control Window. 
  5643.                               Only a few of the attributes can be changed
  5644.                               by the four string gadgets that were in the
  5645.                               previous window.  The four are "Title", "Path
  5646.                               and Program name", "Flags to add after
  5647.                               Program Name" and Text to append to end of
  5648.                               Command Line".  Select the Cancel gadget and
  5649.                               we will return to the Preferences window.
  5650.  
  5651.      Selecting Menu Sets      The first three gadget at the top of the
  5652.                               window are titled 'Zoo', 'Arc' and 'LhArc'. 
  5653.                               As you can see the default Menu Sets have
  5654.                               been set up to work with archiving programs. 
  5655.                               'Zoo' and 'Arc' are both rather outdated but
  5656.                               'LhArc' is still a very widely used program. 
  5657.                               Select the three gadgets one at a time and
  5658.                               watch what they do.  They change the
  5659.                               information to the corresponding default menu
  5660.                               set.
  5661.      Next/Previous 
  5662.  
  5663.                               MegaD 2.00  Tutorial, Copyright © 1992
  5664.  
  5665.  
  5666.  
  5667.  
  5668.  
  5669.                                                               Menu Sets  97
  5670.  
  5671.      Step Gadgets             Just to the right of those three gadget you
  5672.                               will find two that will allow you to step
  5673.                               through the Menu Sets one after the other
  5674.                               forward or backward.  Play with the 'Next'
  5675.                               and the 'Prev' gadgets watching how they
  5676.                               control the information that you can change
  5677.                               and modify.
  5678.      Add, Delete
  5679.      Menu Set Gadgets         Finally the last two gadgets are for adding
  5680.                               new Menu Sets.  The first three default sets
  5681.                               can not be deleted but the can be modified to
  5682.                               anything you would like them to be.
  5683.  
  5684.                               There is a new and popular archiving utility
  5685.                               available now that is in wide use in the
  5686.                               Amiga community.  It is LhA.  LhA is written
  5687.                               by Stefan Boberg and is a Shareware offering
  5688.                               that can be found on most BBS (Builtin Board
  5689.                               Systems).  I will be showing you how to set
  5690.                               LhA as a newly Added Menu Sets.
  5691.  
  5692.      Adding A Menu Set        Select the 'Add' gadget of the Preferences
  5693.                               window, a requestor will be opened that
  5694.                               reads:
  5695.                                       You will need to successfully
  5696.                                         define all five menu Sets
  5697.  
  5698.                               This is to remind you that you will need to
  5699.                               create all five menus that create one Menu
  5700.                               Sets.  Select Yes, All of the string gadgets
  5701.                               will be cleared and ready for new
  5702.                               information.
  5703.      Creating A New
  5704.      Menu Set                 As mentioned it is best to create the Menu
  5705.                               Sets from within the Program Control Window. 
  5706.                               Select the 'Control...' gadget for Menu 1. 
  5707.                               The Program Control Window will open.
  5708.  
  5709.      Making A Pack Menu       We are going to set this Menu Sets so that we
  5710.                               can archive selected files into a single file
  5711.                               that will be written to the current Active
  5712.                               Window of MegaD.  Set the following
  5713.                               attributes:
  5714.                               1.   Check 'Combine all selected on one
  5715.                               line'
  5716.                               2.   Check 'Reload current directory at end'
  5717.                                    (remember that this CDs to the Active
  5718.                                    Directory)
  5719.                               3.   Check 'Query for destination filename'
  5720.                                    This attribute tell MegaD to open a
  5721.  
  5722.                               MegaD 2.00  Tutorial, Copyright © 1992
  5723.  
  5724.  
  5725.  
  5726.  
  5727.  
  5728.                                                               Menu Sets  98
  5729.  
  5730.                                    request window for a file name.  the
  5731.                                    filename will be for the name to create
  5732.                                    the archive file as.
  5733.                               4.   Set execute type to 'Multitasking
  5734.                                    Execute'
  5735.                               5.   Enter "LhA Pack" into the Title String
  5736.                                    gadget.
  5737.                               6.   Enter "C:LhA" into the Path and Program
  5738.                                    name string gadget.  This assumes that
  5739.                                    your LhA utility is found in your C:
  5740.                                    directory.
  5741.                               7.   Enter "a" into the Flags to add after
  5742.                                    Program Name string gadget.  This flag
  5743.                                    tell LhA to add files to the Archive
  5744.                                    file.
  5745.                               8.   Test the information by selecting the
  5746.                                    Verify.. gadget at the top of the
  5747.                                    window.  If the Path or title needs to
  5748.                                    be changed, do so.
  5749.                               9.   Select the 'Use' gadget.
  5750.  
  5751.                               You will see the information that you have
  5752.                               entered show up in the first line for Menu 1.
  5753.  
  5754.      Making A UnPack Menu Set
  5755.                               We will set Menu 2 to unpack the archive. 
  5756.                               Select the 'Control...' gadget for Menu 2 and
  5757.                               set it in the following manner:
  5758.                               1.   Check 'Skip selected directories'
  5759.                               2.   Check 'Skip .info files'
  5760.                               3.   Check 'Reload current directory at end'
  5761.                               4.   Be sure execute type is Multitasking
  5762.                                    Execute
  5763.                               5.   Enter "LhA UnPack" in the Title string
  5764.                                    gadget.
  5765.                               6.   Enter "C:LhA" in the Path and program
  5766.                                    name.
  5767.                               7.   Enter "e" into the Flags to add after
  5768.                                    Program Name string gadget.  This tell
  5769.                                    LhA to extract the files from the
  5770.                                    selected archives.
  5771.                               8.   Verify the Title, Path and Program name.
  5772.                               9.   Select the 'Use' gadget.
  5773.  
  5774.                               We now have two of the five done to create
  5775.                               one full Menu Sets.
  5776.  
  5777.      Making A List Menu       Menu 3 will be set to list an archive file. 
  5778.                               Select the "Control..." gadget for Menu 3 and
  5779.                               set the Program Control to:
  5780.  
  5781.                               MegaD 2.00  Tutorial, Copyright © 1992
  5782.  
  5783.  
  5784.  
  5785.  
  5786.  
  5787.                                                               Menu Sets  99
  5788.  
  5789.  
  5790.                               1.   Check 'Skip selected directories'
  5791.                               2.   Check 'Skip .info files'
  5792.                               3.   Be sure execute type is 'Multitasking
  5793.                                    Execute W/Hold'
  5794.                               4.   Enter "LhA List" into the Title string
  5795.                                    gadget.
  5796.                               5.   Enter "C:LhA" into the Path and Program
  5797.                                    name string gadget.
  5798.                               6.   Enter "l" into the Flags to add after
  5799.                                    Program Name string gadget.  This tell
  5800.                                    LhA to list the selected archive files.
  5801.                               7.   Verify the Title, Path and program
  5802.                                    name.
  5803.                               8.   Select Use.
  5804.  
  5805.                               Three Menu Sets down and two to go.
  5806.  
  5807.      Making A Test Menu       The next Menu Sets we will set will test the
  5808.                               validity of an archive file.  Select the
  5809.                               "Control..." gadget for Menu 4 and set the
  5810.                               Program Control in the following way:
  5811.  
  5812.                               1.   Check 'Skip selected directories'
  5813.                               2.   Check 'Skip .info files'
  5814.                               3.   Set execute type to 'Multitasking
  5815.                                    Execute W/Hold'
  5816.                               4.   Enter "LhA Test" into the Title string
  5817.                                    gadget.
  5818.                               5.   Enter "C:LhA" into the Path and Program
  5819.                                    name string Gadget.
  5820.                               6.   Enter "t" into the Flags to add after
  5821.                                    Program Name.
  5822.                               7.   Verify the Title and Path/name.
  5823.                               8.   Select the "Use" Gadget.
  5824.  
  5825.                               Four down one and the last to go.
  5826.  
  5827.      Making A Recursive Menu  We will add a command that will allow us to
  5828.                               archive directories and all of its contents,
  5829.                               this will include sub directories and files. 
  5830.                               Select the "Control..." gadget for Menu 5 and
  5831.                               fill the Program Control in with the
  5832.                               following attributes:
  5833.                               1.   Check 'Reload current directory at end'
  5834.                               2.   Check 'Query for destination filename'
  5835.                               3.   Set execute type to 'Multitasking
  5836.                                    Execute'
  5837.                               4.   Enter "LhA Recursive" into the Title
  5838.                                    string gadget
  5839.  
  5840.                               MegaD 2.00  Tutorial, Copyright © 1992
  5841.  
  5842.  
  5843.  
  5844.  
  5845.  
  5846.                                                              Menu Sets  100
  5847.  
  5848.                               5.   Enter "C:LhA" into the Path and Program
  5849.                                    name string gadget
  5850.                               6.   Enter "-r a" into the Flags to add
  5851.                                    after Program name string gadget.  This
  5852.                                    tells LhA to Recursively add files found
  5853.                                    in selected directories.
  5854.                               7.   Verify the Title, Path an Program Name.
  5855.                               8.   Select the 'Use' gadget.
  5856.  
  5857.                               We have successfully set all five menus
  5858.                               sets.
  5859.  
  5860.      Save Your Work           We have put quite a bit of work into this so
  5861.                               to close the Preferences window we will use
  5862.                               the Save Gadget.  This will save the
  5863.                               preferences file for MegaD and close the
  5864.                               window.
  5865.  
  5866.                               I tend to place archiving utilities in the
  5867.                               utilities menu but any programs that you wish
  5868.                               can be added here.  They do not need to be
  5869.                               like programs but you can organize programs
  5870.                               into groups that you use for certain task.
  5871.  
  5872.                               You can now access the new menu from the
  5873.                               Utilities menu.  The utilities menu has
  5874.                               provisions to change the current active Menu
  5875.                               Sets.  You can choose Menu Sets by moving to
  5876.                               the 'Next', 'Previous', 'First' or 'Last'
  5877.                               Menu Sets by selecting the corresponding menu
  5878.                               item.
  5879.  
  5880.      Swap Device Gadgets
  5881.      for Menu Gadgets         You can also replace the nine Device Gadget
  5882.                               in the top of the Control Window with the
  5883.                               Menu Sets, this is done by checking the
  5884.                               "Utilities, Utilities in Window" menu item. 
  5885.                               This gives you quick access to your current
  5886.                               active Menu Sets.  The Device Gadgets can
  5887.                               still be accessed via the keyboard.  By
  5888.                               pressing keyboard numbers 1-9 (across the top
  5889.                               of the keyboard) MegaD will load the
  5890.                               corresponding directory as if you hit the
  5891.                               Device Gadget that have been replaced by the
  5892.                               Menu Sets.  This is just one of the many way
  5893.                               MegaD can be changed to suit your taste or
  5894.                               style of work.  We will be getting into the
  5895.                               way that MegaD can be modified in a later
  5896.                               section of the tutorial.
  5897.  
  5898.  
  5899.                               MegaD 2.00  Tutorial, Copyright © 1992
  5900.  
  5901.  
  5902.  
  5903.  
  5904.  
  5905.                                                   Database Export File  101
  5906.  
  5907.                               Export File
  5908.                               ===========
  5909.  
  5910.                               MegaD has the ability to create a data file
  5911.                               from selected files and directories in
  5912.                               Directory Windows that is compatible with a
  5913.                               Database.  This database would be one that
  5914.                               would allow you to keep track of your many
  5915.                               disks, and the many programs that are on
  5916.                               those disk.  This text can not possibly teach
  5917.                               you how to use or control a database. But if
  5918.                               you are familiar with databases and know the
  5919.                               difference between a record and a field you
  5920.                               will feel right at home with this part of
  5921.                               MegaD.  If you do not have a database this
  5922.                               command will be of little value to you and
  5923.                               you may want to go on to the next section of
  5924.                               the tutorial.
  5925.  
  5926.      Setting Up Export        "Export File" needs to have the attributes
  5927.                               for the export function set before it will
  5928.                               work.  This is done by the menu item
  5929.                               "Output, Setup Export".  You will also need a
  5930.                               'Dest'ination Directory Window open that you
  5931.                               want the export file written to.  A good
  5932.                               directory for this is the same directory that
  5933.                               you would place the data files for the
  5934.                               database.  Once this Directory Window is
  5935.                               opened and the 'Dest'ination gadget is
  5936.                               selected, select the menu item "Output, Setup
  5937.                               Export."
  5938.  
  5939.                               The "Set Export" window will open.  This
  5940.                               window lets you set what file attributes you
  5941.                               wish to include in your database export file.
  5942.  
  5943.                               It is important that you think this part out
  5944.                               very well or that you know your database
  5945.                               very well.  Both is even better.  Some
  5946.                               databases are rigid and allow very little
  5947.                               changing once the database is started, others
  5948.                               allow new fields to be added to the database
  5949.                               and allow you to change your mind later for
  5950.                               what information you wish to keep track of. 
  5951.                               Think about what file attributes listed on
  5952.                               the left side of the window that you wish to
  5953.                               keep track of and select those.  I am going
  5954.                               to select all nine of them.
  5955.  
  5956.  
  5957.  
  5958.                               MegaD 2.00  Tutorial, Copyright © 1992
  5959.  
  5960.  
  5961.  
  5962.  
  5963.  
  5964.                                                   Database Export File  102
  5965.  
  5966.      Field Sizes              As you can see to the right of the attributes
  5967.                               the size of the field is listed.  Should you
  5968.                               create your database so that the fields are
  5969.                               smaller than what is listed, you may lose
  5970.                               information or your database will not accept
  5971.                               the export file, It is best to create the
  5972.                               database with at lease enough room to store
  5973.                               the information.
  5974.  
  5975.      Field/Record Separators  To the right of the window you will find two
  5976.                               integer string gadgets.  One is titled 'Field
  5977.                               Separator', the other is titled 'Record
  5978.                               Separator'.  Both require that you know the
  5979.                               ASCII value of the character that separates
  5980.                               your field and records as defined by your
  5981.                               database.  The defaults are the norm for most
  5982.                               databases.  The value for the Field
  5983.                               Separator is 44 which is the ASCII value of a
  5984.                               comma.  The value for the Record Separator is
  5985.                               10 which is the value of a return character. 
  5986.                               Below is the results of the export if only
  5987.                               two files were selected to show you how and
  5988.                               where the separator characters fit.
  5989.  
  5990.      DPaint,Work:,Work:Paint,FILE,03-26-92 17:40:35,375084,743,----rwed,,
  5991.      DPaint.info,Work:,Work:Paint,FILE,03-26-92 17:40:36,1630,4,----rwed,,
  5992.  
  5993.                               As you can see the commas separate the file
  5994.                               attributes and there is a return at the end
  5995.                               of the line to signify a new record.  The
  5996.                               format is visually ugly to look at but is
  5997.                               easily digested by a good database program.
  5998.  
  5999.      Empty Fields             Notice the two commas at the end of the
  6000.                               line.  This is where the File comment should
  6001.                               be but the files did not have one so this is
  6002.                               an empty field that will be read by the
  6003.                               database as such.
  6004.  
  6005.                               The Filename for path string gadget is for
  6006.                               naming your database import file.  It will be
  6007.                               appended to the path the is listed above in
  6008.                               the text area of the Set Export window.  This
  6009.                               becomes a permanent path and filename until
  6010.                               you change it.
  6011.  
  6012.  
  6013.                               One of the cycle gadgets will allow you
  6014.                               three settings.  'Export Directory & Files',
  6015.                               'Export Files' only and 'Export Directories'
  6016.  
  6017.                               MegaD 2.00  Tutorial, Copyright © 1992
  6018.  
  6019.  
  6020.  
  6021.  
  6022.  
  6023.                                                   Database Export File  103
  6024.  
  6025.                               only.  This should be self explanatory and it
  6026.                               lets you fine tune the types of directory
  6027.                               entries to be sent to the export file.
  6028.  
  6029.                               There is another cycle gadget that allows two
  6030.                               different settings.  'Overwrite old file' and
  6031.                               'Append to end of file'.
  6032.  
  6033.                               'Overwrite old file' will always create a new
  6034.                               export file each time you select the Export
  6035.                               File function.  This deletes the old file
  6036.                               first but not without warning you first with
  6037.                               an option to cancel.  This requires you to
  6038.                               read the data file into your database before
  6039.                               the Export File command is used again or you
  6040.                               will lose your previously created export
  6041.                               file.
  6042.  
  6043.                               The 'Append to end of file' option is my
  6044.                               favorite way to use this.  The first time the
  6045.                               'Export File' command is used the new file is
  6046.                               created.  Each time after that the newly
  6047.                               exported information will be appended to the
  6048.                               end of the file.   Now remember that the
  6049.                               filename you created is somewhat permanent. 
  6050.                               As long as you save the preferences after
  6051.                               setting the export function up, MegaD will
  6052.                               always try to write the file to the same
  6053.                               place and in doing so will constantly append
  6054.                               the newly exported information.  This has one
  6055.                               drawback.  You MUST delete the export file
  6056.                               once you have read it into your database,
  6057.                               otherwise MegaD will constantly append new
  6058.                               information to a file that has already been
  6059.                               used and the records for those have been
  6060.                               created in the database.
  6061.  
  6062.                               I suggest that you create an export file a
  6063.                               few times.  Each time load the newly created
  6064.                               export file into a text window so that you
  6065.                               can visually see how it is working.  After
  6066.                               you are sure that it is exporting the kind of
  6067.                               information you want it to, you may start
  6068.                               creating a database of all of your files and
  6069.                               programs.
  6070.  
  6071.                               MegaD will export all of the information
  6072.                               found in selected volumes and directories.
  6073.  
  6074.  
  6075.  
  6076.                               MegaD 2.00  Tutorial, Copyright © 1992
  6077.  
  6078.  
  6079.  
  6080.  
  6081.  
  6082.                                                   Database Export File  104
  6083.  
  6084.                               To send all of the information found in a
  6085.                               volume, select the volume you wish to export
  6086.                               from, by selecting the corresponding entry in
  6087.                               the 'Volumes In Memory' list.  Then select
  6088.                               the 'Export File' Command Gadget.
  6089.  
  6090.                               To send all of the information found in a
  6091.                               directory, select the directory entry in a
  6092.                               Directory Window.  Then select the 'Export
  6093.                               File' Command Gadget.
  6094.  
  6095.  
  6096.  
  6097.  
  6098.  
  6099.  
  6100.  
  6101.  
  6102.  
  6103.  
  6104.  
  6105.  
  6106.  
  6107.  
  6108.  
  6109.  
  6110.  
  6111.  
  6112.  
  6113.  
  6114.  
  6115.  
  6116.  
  6117.  
  6118.  
  6119.  
  6120.  
  6121.  
  6122.  
  6123.  
  6124.  
  6125.  
  6126.  
  6127.  
  6128.  
  6129.  
  6130.  
  6131.  
  6132.  
  6133.  
  6134.  
  6135.                               MegaD 2.00  Tutorial, Copyright © 1992
  6136.  
  6137.  
  6138.  
  6139.  
  6140.  
  6141.                                                      MegaD Preferences  105
  6142.  
  6143.                               MegaD Preferences
  6144.                               =================
  6145.  
  6146.                               The MegaD preferences change only the
  6147.                               internal preferences of MegaD.  It has
  6148.                               nothing to do with your system preferences
  6149.                               for the Amiga.  All mentions of preferences
  6150.                               from this point on refer to the internal
  6151.                               setting of MegaD.
  6152.  
  6153.                               If you have taken even a quick look into what
  6154.                               Set Preferences has to offer you will find
  6155.                               that MegaD can be modified in many ways.
  6156.                               There are five different areas that make up
  6157.                               preferences, we have visited two in this
  6158.                               tutorial so far.  Set Preferences and Set
  6159.                               Keypads are those two, we will take another
  6160.                               look at those areas and look into the new
  6161.                               areas Colors, Display, and Defaults.
  6162.  
  6163.                               You can access all of the areas from the
  6164.                               Project menu.  The menus that deal with the
  6165.                               preferences are Set Preferences, Save
  6166.                               Preferences, Color, Display, Defaults, and
  6167.                               Keypad.  The Set Preferences menu item will
  6168.                               open a window that will allow you to move to
  6169.                               all of the other areas of the preferences. 
  6170.                               For simplifying things we will access the
  6171.                               areas though the menu.  This way after each
  6172.                               change you will see what the modification
  6173.                               does to the operation or appearance of MegaD.
  6174.  
  6175.                               All areas have a 'Cancel' gadget that will
  6176.                               cancel all changes to that area.  All areas
  6177.                               have a 'Use' gadget.  This gadget accepts the
  6178.                               changes made so far.
  6179.  
  6180.                               Only the 'Set Preference' window has a 'Save'
  6181.                               Gadget.  When this gadget is used, the
  6182.                               current changes are accepted and saved to the
  6183.                               '.pf' file.  This file is located in the
  6184.                               current directory that MegaD was loaded from.
  6185.  
  6186.      Set Preferences          There are two main purposes of the Set
  6187.                               Preferences window beside giving access to
  6188.                               the other areas of preferences.  One, the
  6189.                               setting of the Menu Sets. Two, the Setting of
  6190.                               the Device Gadgets. We have already covered
  6191.                               this.  You may want to test out the other
  6192.                               gadgets that we have not used so far that are
  6193.  
  6194.                               MegaD 2.00  Tutorial, Copyright © 1992
  6195.  
  6196.  
  6197.  
  6198.  
  6199.  
  6200.                                                      MegaD Preferences  106
  6201.  
  6202.                               found at the bottom of the window.  The are
  6203.                               Colors, Display, Defaults and Keypads.  You
  6204.                               may move in and out of the windows as you
  6205.                               please.  We will be accessing the windows
  6206.                               through the Project menu equivalent so try
  6207.                               not to change anything in the windows as you
  6208.                               are poking around.
  6209.  
  6210.                               Being we have already worked with both the
  6211.                               Device Gadgets and the Menu Sets, we can go
  6212.                               on to other areas that need to be explained. 
  6213.                               Close the Preferences window by selecting the
  6214.                               Cancel gadget.
  6215.  
  6216.  
  6217.  
  6218.  
  6219.  
  6220.  
  6221.  
  6222.  
  6223.  
  6224.  
  6225.  
  6226.  
  6227.  
  6228.  
  6229.  
  6230.  
  6231.  
  6232.  
  6233.  
  6234.  
  6235.  
  6236.  
  6237.  
  6238.  
  6239.  
  6240.  
  6241.  
  6242.  
  6243.  
  6244.  
  6245.  
  6246.  
  6247.  
  6248.  
  6249.  
  6250.  
  6251.  
  6252.  
  6253.                               MegaD 2.00  Tutorial, Copyright © 1992
  6254.  
  6255.  
  6256.  
  6257.  
  6258.  
  6259.                                                    Preferences, Colors  107
  6260.  
  6261.  
  6262.                               Colors
  6263.                               ======
  6264.  
  6265.                               Select the menu item "Project, Colors" to
  6266.                               open the Set Colors window.  This area of
  6267.                               Preferences is dedicated to the colors
  6268.                               available for the display of information
  6269.                               within MegaD windows.
  6270.  
  6271.      1.3/2.0 Color Switch     In the very center of this window is a single
  6272.                               check type gadget which by default is set.
  6273.                               The title of this gadgets is "1.3 / 2.0
  6274.                               Colors Switch" One of the many changes that
  6275.                               happened with the new 2.0 OS for the Amiga
  6276.                               was the change of the default colors.  With
  6277.                               this gadget checked, the system will be
  6278.                               checked for 1.3 or 2.0 and the colors will be
  6279.                               set accordingly.  If you want to define any
  6280.                               of the colors to your own settings this
  6281.                               gadget will have to be un-checked.
  6282.  
  6283.      Color Conflict           MegaD will check for conflicts of colors and
  6284.                               will warn you if you try to use the
  6285.                               conflicting colors.  An example of this
  6286.                               would be the Directory and the File colors
  6287.                               are the same.
  6288.  
  6289.                               MegaD will display the resulting selected
  6290.                               colors in small boxes to the right of the
  6291.                               gadgets to show the effect of the
  6292.                               selections.  You may change the colors to
  6293.                               what you would like to have them.  If you
  6294.                               want to use more colors with MegaD, you will
  6295.                               have to change the screen setting found in
  6296.                               the Display preferences
  6297.  
  6298.  
  6299.  
  6300.  
  6301.  
  6302.  
  6303.  
  6304.  
  6305.  
  6306.  
  6307.  
  6308.  
  6309.  
  6310.  
  6311.  
  6312.                               MegaD 2.00  Tutorial, Copyright © 1992
  6313.  
  6314.  
  6315.  
  6316.  
  6317.  
  6318.                                                  Preferences, Displays  108
  6319.  
  6320.                               Display
  6321.                               =======
  6322.  
  6323.                               Select the menu item "Project, Display" to
  6324.                               open the Set Display window.  This area lets
  6325.                               you set the screen type and the depth or
  6326.                               colors that you want to run MegaD under.  It
  6327.                               also lets you change how MegaD displays
  6328.                               certain information such as dates and
  6329.                               numbers.
  6330.  
  6331.      Possible Screens         'Screen Type' contains a cycle gadget that
  6332.                               can be set to one of five different settings. 
  6333.                               These five possible settings define what type
  6334.                               of screen MegaD uses.
  6335.  
  6336.                               Workbench
  6337.                                    Places MegaD on the Workbench screen.
  6338.                               Hires
  6339.                                    Creates a hires screen (usually about
  6340.                                    640 X 200 lines)
  6341.                               Hires-Interlace
  6342.                                    Creates a hires-interlace screen
  6343.                                    (usually about 640 X 400 lines)
  6344.                               SuperHires *
  6345.                                    Creates a SuperHires screen (usually
  6346.                                    about 1280 X 200 lines)
  6347.                               SuperHires-Lace *
  6348.                                    Creates a SuperHires-Interlace screen
  6349.                                    (usually about 1280 X 400 lines)
  6350.  
  6351.                               The above screens that end in an '*' are only
  6352.                               available if your system has the new ECS
  6353.                               Chip.
  6354.  
  6355.      Date Format              The Date format gadget Cycles though
  6356.                               mm/dd/yy, dd/mm/yy , yy/mm/dd and dd/mmm/yy. 
  6357.                               This defines how MegaD will display the dates
  6358.                               for your directory items.
  6359.  
  6360.      Use Today / Yesterday
  6361.                               This is a check gadgets that will tell MegaD
  6362.                               to display files created today to be marked
  6363.                               with "Today" and files created yesterday to
  6364.                               be marked with "Yesterday" instead of using
  6365.                               the date for that directory item.  This only
  6366.                               functions under the 2.0 OS.
  6367.      12 Hour Clock
  6368.                               Changes the 24 hour date to a 12 hour time
  6369.                               with am, or pm behind the date
  6370.  
  6371.                               MegaD 2.00  Tutorial, Copyright © 1992
  6372.  
  6373.  
  6374.  
  6375.  
  6376.  
  6377.                                                  Preferences, Displays  109
  6378.  
  6379.  
  6380.      1000 Separator
  6381.                               Set the separator to a comma, period, space
  6382.                               or no separator for thousands.
  6383.  
  6384.      Decimal is comma
  6385.                               This is a 'do nothing' gadget at the moment
  6386.                               but should MegaD ever need to display
  6387.                               floating point information, Its ready!
  6388.  
  6389.                               Perform any changes that you would like and
  6390.                               select the 'Use' gadget to see how things
  6391.                               work.
  6392.  
  6393.      Force Update Directory
  6394.      Windows To show Changes  If Directory Windows are open the change will
  6395.                               not be performed on the directory listings
  6396.                               found in them.  You will have to use the menu
  6397.                               item "Show, Reset All" to force the
  6398.                               reformatting of the displayed information.
  6399.  
  6400.  
  6401.  
  6402.  
  6403.  
  6404.  
  6405.  
  6406.  
  6407.  
  6408.  
  6409.  
  6410.  
  6411.  
  6412.  
  6413.  
  6414.  
  6415.  
  6416.  
  6417.  
  6418.  
  6419.  
  6420.  
  6421.  
  6422.  
  6423.  
  6424.  
  6425.  
  6426.  
  6427.  
  6428.  
  6429.  
  6430.                               MegaD 2.00  Tutorial, Copyright © 1992
  6431.  
  6432.  
  6433.  
  6434.  
  6435.  
  6436.                                           Preferences, Defaults Area 1  110
  6437.  
  6438.                               Area 1 of Defaults
  6439.                               ==================
  6440.  
  6441.                               Select the menu item, "Project, Defaults" to
  6442.                               open the Set Defaults window.
  6443.  
  6444.                               Many settings are performed here, it takes
  6445.                               two areas to display all of the possible
  6446.                               settings and the different areas are access
  6447.                               by the use of the 'More'/'OK' gadget.  The
  6448.                               first area here is controlled by the use of
  6449.                               'Check' gadgets.
  6450.  
  6451.      Auto resize windows      This only works in window overlap mode set in
  6452.                               the menu "Windows, Overlap locations.  It
  6453.                               will attempt to resize the directory windows
  6454.                               larger or smaller to display as much as
  6455.                               needed.
  6456.  
  6457.      Auto update windows      Each time the directory window is opened it
  6458.                               will be updated.  MegaD buffers EVERYTHING
  6459.                               that it loads.  If that information has been
  6460.                               changed by some other program MegaD will not
  6461.                               know about it.  MegaD first tests the actual
  6462.                               directory entry or volume data stamp to tell
  6463.                               if the directory has been changed.  If it
  6464.                               finds a different date it will reload the
  6465.                               directory so that it will be current.  This
  6466.                               has the side effect of forcing you to insert
  6467.                               a floppy disk that has been buffered, just to
  6468.                               reopen the directory window.
  6469.  
  6470.      Confirm quit             Gives you a chance not to quit MegaD if an
  6471.                               accidental quit was issued.  A simple
  6472.                               requestor will open that reads:
  6473.                                                Quit MegaD
  6474.  
  6475.                               With the options Yes or No.
  6476.  
  6477.      Iconify at start
  6478.                               MegaD will iconify it self at startup.  This
  6479.                               is very useful if you place MegaD in your
  6480.                               startup sequence or in the WBStartup drawer. 
  6481.                               If you do so MegaD will load and place an
  6482.                               Icon on the Workbench screen that can be
  6483.                               double clicked for instant access to MegaD.
  6484.  
  6485.      Keep active window to front
  6486.                               This will force the active window directory
  6487.                               or text window on MegaD to the front of the
  6488.  
  6489.                               MegaD 2.00  Tutorial, Copyright © 1992
  6490.  
  6491.  
  6492.  
  6493.  
  6494.  
  6495.                                           Preferences, Defaults Area 1  111
  6496.  
  6497.                               screen.  It will not work on the Main Control
  6498.                               Window.  The F10, F9 and F8 keys will move
  6499.                               that window to the front if needed.
  6500.  
  6501.      Last active window is destination
  6502.                               The last active directory window will become
  6503.                               the destination window if no user defined
  6504.                               destination windows are on the screen.  The
  6505.                               default is the active window is destination. 
  6506.                               (This is the default that other directory
  6507.                               utilities have used.) 
  6508.  
  6509.      Place tool icon & menu on Workbench
  6510.                               This only works if you are using the new 2.0
  6511.                               operating system. (and if your not, WHY?) 
  6512.                               MegaD uses Application Icons and Application
  6513.                               Windows on the Workbench.  This way you can
  6514.                               drop any icon on to it and MegaD will attempt
  6515.                               to do something with it.  At the least the
  6516.                               MegaD screen will be opened if it is closed
  6517.                               or the screen will be moved to the front of
  6518.                               all of the screens.  If a disk icon or a
  6519.                               directory icon is dropped onto the MegaD Icon
  6520.                               or Main Control Window MegaD will load that
  6521.                               directory and place it into a directory
  6522.                               window.  If an AutoBoot is available that
  6523.                               knows how to work the data file, MegaD will
  6524.                               use the AutoBoot to work on the file.  You
  6525.                               may drop up to 10 Workbench objects onto the
  6526.                               Icon and MegaD will work each one in
  6527.                               sequence.
  6528.  
  6529.      Messages off             This will cancel all simple information
  6530.                               messages that only use the Continue gadget to
  6531.                               get an answer to the request.  The
  6532.                               information usually tells you why a function
  6533.                               or task did not work.  This may cause
  6534.                               confusion, if you can't tell why a function
  6535.                               does not seem to work.
  6536.  
  6537.      Panic button window      While tasks are working such as Delete, Copy,
  6538.                               Move... a window will open.  This window
  6539.                               prints and scrolls information about the
  6540.                               processing of the current task (copy, delete,
  6541.                               etc).  There are two gadgets at the bottom of
  6542.                               the window.  The first one, 'Suspend',
  6543.                               temporarily stops the processing of the
  6544.                               current task, allowing the user time to
  6545.                               re-evaluate whether he really wants to
  6546.                               continue the task.  The second gadget,
  6547.  
  6548.                               MegaD 2.00  Tutorial, Copyright © 1992
  6549.  
  6550.  
  6551.  
  6552.  
  6553.  
  6554.                                           Preferences, Defaults Area 1  112
  6555.  
  6556.                               'Cancel', will immediately end the current
  6557.                               task.  Both gadgets are hard to hit in a time
  6558.                               of panic so the 'Esc' key at the upper left
  6559.                               corner of your keyboard is dedicated to
  6560.                               stopping the task, this is the equivalent of
  6561.                               selecting the 'Cancel' gadget of the Panic
  6562.                               window.  The Esc key works with or without
  6563.                               the panic window open.
  6564.  
  6565.      Save defaults at closing
  6566.                               MegaD will save the current preferences
  6567.                               before quitting.  This is very useful at
  6568.                               first while getting MegaD set up.  This way
  6569.                               all of the preferences will be updated after
  6570.                               each run.  Through this tutorial I have
  6571.                               depended on this flag being set.  This is why
  6572.                               the changes that you have made were always
  6573.                               saved when you quit.
  6574.  
  6575.      Save window positions
  6576.                               MegaD will remember the locations of
  6577.                               requesters and special windows and reopen
  6578.                               them in the same locations.  The default is
  6579.                               to open the windows with the gadget under the
  6580.                               mouse pointer if possible or to center the
  6581.                               window under the mouse.
  6582.  
  6583.      Simple refresh windows
  6584.                               Saves memory by opening windows that must be
  6585.                               refreshed after having been covered by other
  6586.                               windows.  This feature takes a little more
  6587.                               time while you're moving and changing the
  6588.                               depth of windows, but it will save memory for
  6589.                               systems with not enough memory to spare.
  6590.  
  6591.  
  6592.      Warn before copy
  6593.                               Gives you a chance to cancel a call to copy
  6594.  
  6595.      Warn before delete
  6596.                               Gives you a chance to cancel a call to
  6597.                               delete.  (Your a gutsy person if you un-check
  6598.                               this item.  Remember, MegaD deletes ALL
  6599.                               marked items in ALL open Directory Windows)
  6600.      Warn before move
  6601.                               Gives you a chance to cancel a call to move.
  6602.  
  6603.      Warn if deleting protected file
  6604.                               If the file is protected MegaD will warn you
  6605.  
  6606.  
  6607.                               MegaD 2.00  Tutorial, Copyright © 1992
  6608.  
  6609.  
  6610.  
  6611.  
  6612.  
  6613.                                           Preferences, Defaults Area 1  113
  6614.  
  6615.                               and give you the option to cancel the delete
  6616.                               or delete anyway.
  6617.  
  6618.      Warn if replacing larger file
  6619.                               During copy/move you will be warned if you
  6620.                               try to copy over a larger file.
  6621.  
  6622.      Warn if replacing newer file
  6623.                               During copy/move you will be warned if you
  6624.                               try to copy over a newer file.
  6625.  
  6626.      Warn if replacing file
  6627.                               During copy/move you will be warned if you
  6628.                               try to copy over any file.
  6629.  
  6630.      F10 Closes Control Window
  6631.                               The F10 key normally moves the MegaD Control
  6632.                               Window to the front and rear position on the
  6633.                               screen.  If MegaD is running on the
  6634.                               Workbench it will only work if there is a
  6635.                               directory window open to receive input from. 
  6636.                               With this checked, instead of the window
  6637.                               moving to the rear position the window is
  6638.                               actual closed.  You will find that there are
  6639.                               keyboard equivalents for most functions that
  6640.                               the Control Window provides.  Thus getting
  6641.                               rid of the Control Window will provide you
  6642.                               with a less crowded screen.
  6643.  
  6644.  
  6645.  
  6646.  
  6647.  
  6648.  
  6649.  
  6650.  
  6651.  
  6652.  
  6653.  
  6654.  
  6655.  
  6656.  
  6657.  
  6658.  
  6659.  
  6660.  
  6661.  
  6662.  
  6663.  
  6664.  
  6665.  
  6666.                               MegaD 2.00  Tutorial, Copyright © 1992
  6667.  
  6668.  
  6669.  
  6670.  
  6671.  
  6672.                                           Preferences, Defaults Area 2  114
  6673.  
  6674.                               Area 2 of Defaults
  6675.                               ==================
  6676.  
  6677.                               The second area in the Set Defaults has a few
  6678.                               string gadgets and some cycle gadgets to set
  6679.                               the order that information is displayed in
  6680.                               the directory window.
  6681.  
  6682.      Copy/Format 
  6683.      Program Control          MegaD will call any stand alone copy/format
  6684.                               program.  To the right of the string gadget
  6685.                               is a "Control..." gadget.  This will open a
  6686.                               Program Control Window that will let you set
  6687.                               your favorite disk copier/formatter.  It
  6688.                               comes set at default to run MDDisk
  6689.                               copier/formatter.
  6690.  
  6691.      View Text 
  6692.      Program Control          MegaD has one of the most versatile text
  6693.                               viewers around.  But if you feel that another
  6694.                               program should be called if a text file is
  6695.                               double clicked in a directory window you may
  6696.                               set it here.  You will find another
  6697.                               "Control..." gadget to the right on this one
  6698.                               too.  Once again, it will open a Program
  6699.                               Control Window so that you may set your
  6700.                               favorite program to work with MegaD.
  6701.  
  6702.      Label height             How many printed lines are on the labels that
  6703.                               you wish to use with MegaD Label.
  6704.  
  6705.      Label width              How wide, in characters, are the label that
  6706.                               you wish to use with MegaD label.
  6707.  
  6708.      Source icon for directories
  6709.                               If you supply a name here for the an icon
  6710.                               MegaD will use a copy of it to give newly
  6711.                               created directories an Icon.  It defaults to
  6712.                               SYS:system which usually exist.  If you do
  6713.                               not want Icons created with directories
  6714.                               delete all of the characters from this
  6715.                               string.  You may also select the 2.0 Default
  6716.                               check gadget found to the right of this. 
  6717.                               This will use the system default for the icon
  6718.                               gadget while running under the 2.0 OS.
  6719.  
  6720.      Dictionary filename
  6721.                               This must be the name only, with out a path
  6722.                               statement, of the dictionary file that you
  6723.                               wish MegaD to use.  The dictionary file must
  6724.  
  6725.                               MegaD 2.00  Tutorial, Copyright © 1992
  6726.  
  6727.  
  6728.  
  6729.  
  6730.  
  6731.                                           Preferences, Defaults Area 2  115
  6732.  
  6733.                               be in the same directory that the program
  6734.                               MegaD resides in.  This provides the user
  6735.                               with the option to translate MegaD to any
  6736.                               language he or she wishes.  At this writing
  6737.                               there are no dictionary files available.  To
  6738.                               create a dictionary file, please see the
  6739.                               regular MegaD.Doc file for that information.
  6740.  
  6741.      Create Master Dictionary
  6742.                               By selecting this gadget MegaD will create
  6743.                               the master dictionary.  The main purpose of
  6744.                               this file is for easy translation of MegaD to
  6745.                               other languages.  But this can be used to
  6746.                               change any display line that you wish in
  6747.                               MegaD.  Please see the regular MegaD.Doc file
  6748.                               for that information.
  6749.  
  6750.      Directory listing order
  6751.                               This is a cycle gadget that will cycle
  6752.                               though:
  6753.                                    List directories first
  6754.                                    List files first 
  6755.                                    List items mixed
  6756.  
  6757.      Order of file information
  6758.                               There are five small cycle gadgets for this
  6759.                               setting.  The higher the number, the later
  6760.                               the information will appear in the line
  6761.                               displaying the directory item.  By setting
  6762.                               the cycle gadgets to other values the
  6763.                               information can be displayed in all possible
  6764.                               orders.  The 'Show, ...' menu may alter the
  6765.                               final display.
  6766.  
  6767.      Close the Defaults
  6768.      Window                   Select the 'OK' gadget and then the 'Use'
  6769.                               gadget to exit and test the changes that you
  6770.                               have made.  Once again if Directory Windows
  6771.                               have information displayed in them the have
  6772.                               been affected by the modifications you will
  6773.                               have to select the menu item "Show, Reset
  6774.                               All" to reformat then.
  6775.  
  6776.  
  6777.  
  6778.  
  6779.  
  6780.  
  6781.  
  6782.  
  6783.  
  6784.                               MegaD 2.00  Tutorial, Copyright © 1992
  6785.  
  6786.  
  6787.  
  6788.  
  6789.  
  6790.                                                    Preferences, Keypad  116
  6791.  
  6792.                               Keypads
  6793.                               =======
  6794.  
  6795.                               Select the menu item, "Project, Keypads" to
  6796.                               open the Set Keypads window. We have spent
  6797.                               some time in here and what follows is a recap
  6798.                               of the functions.
  6799.  
  6800.                               This is a very powerful area of MegaD
  6801.                               Preferences.  You can actually modify Menu
  6802.                               Sets, AutoBoots, User Gadgets though here. 
  6803.                               You can rearrange, remove, duplicate
  6804.                               functions on the keypad. Change the color of
  6805.                               the keypad gadgets.
  6806.  
  6807.      Source Area              There are two major areas of gadgets.  The
  6808.                               upper area can be considered as source
  6809.                               gadgets that information can be copied from.
  6810.  
  6811.      Destination Area         The lower area of gadgets, that are arranged
  6812.                               in the order of a keypad at the right side of
  6813.                               most Amiga keyboards. 'Shift Keys' to the
  6814.                               right of the keypad represent the shifted
  6815.                               mode of the keypad, Ctrl, Shift, Alt.  This
  6816.                               can be considered the destination area.
  6817.  
  6818.      Copying Commands         Any single item can be selected in one of
  6819.                               the two areas.  As soon as an one item is
  6820.                               selected in both areas, the information is
  6821.                               transferred to the keypad gadgets.  A blank
  6822.                               source will create a blank do-nothing keypad
  6823.                               gadget.
  6824.  
  6825.                               You will find two cycle gadgets, One is for
  6826.                               pages of source information, the other is to
  6827.                               select the type of source information to
  6828.                               transfer or to work on.  The types to work
  6829.                               on are 'Builtin', 'Menu Sets', 'AutoBoots'
  6830.                               and 'User Gadgets'.
  6831.  
  6832.                               Below this set of cycle gadgets are gadgets
  6833.                               labeled 'Add', 'Delete', 'Modify'.  By
  6834.                               selecting a 'Menu Set', 'AutoBoot', or 'User
  6835.                               Gadget' and then selecting the Modify gadget
  6836.                               you can edit how a program control will
  6837.                               function.  By selecting a keypad gadget and
  6838.                               then modify, you can change the title and
  6839.                               color of the keypad gadget.
  6840.  
  6841.  
  6842.  
  6843.                               MegaD 2.00  Tutorial, Copyright © 1992
  6844.  
  6845.  
  6846.  
  6847.  
  6848.  
  6849.                                                    Preferences, Keypad  117
  6850.  
  6851.                               Should you set MegaD to 'Two Window Mode'
  6852.                               the keypad gadgets will be arranged in the
  6853.                               two window style so that you will be able to
  6854.                               see just how they will look in that mode. 
  6855.                               The disadvantage of this is the keyboard
  6856.                               equivalent of the gadgets is not represented
  6857.                               very well.
  6858.  
  6859.                               Exit from this window using the Cancel or the
  6860.                               'Use' gadget.
  6861.  
  6862.  
  6863.  
  6864.  
  6865.  
  6866.  
  6867.  
  6868.  
  6869.  
  6870.  
  6871.  
  6872.  
  6873.  
  6874.  
  6875.  
  6876.  
  6877.  
  6878.  
  6879.  
  6880.  
  6881.  
  6882.  
  6883.  
  6884.  
  6885.  
  6886.  
  6887.  
  6888.  
  6889.  
  6890.  
  6891.  
  6892.  
  6893.  
  6894.  
  6895.  
  6896.  
  6897.  
  6898.  
  6899.  
  6900.  
  6901.  
  6902.                               MegaD 2.00  Tutorial, Copyright © 1992
  6903.  
  6904.  
  6905.  
  6906.  
  6907.  
  6908.                                                     Menus and Displays  118
  6909.  
  6910.                               MegaD Menus
  6911.                               ===========
  6912.  
  6913.                               You've just seen how preferences allow you
  6914.                               the ability to customize MegaD to suit your
  6915.                               own needs.  But that's not all.  MegaD allows
  6916.                               you to further modify Directory Window
  6917.                               features.  We have briefly touched upon some
  6918.                               of these modifications while specifying file
  6919.                               attributes (such as protection bits, file
  6920.                               comments, etc).  Other menus give you the
  6921.                               power to alter the complete appearance of
  6922.                               MegaD.  In this section, we will discuss how
  6923.                               the Windows and the Show menus can change how
  6924.                               MegaD looks and works.
  6925.  
  6926.      Windows Menu             The top two selections in this menu are 'Open
  6927.                               Windows' and 'Close Windows', both have two
  6928.                               sub selections, 'All' and 'Selected
  6929.                               Directories'.  
  6930.  
  6931.      Open/Close All           The All selections will only work with
  6932.                               previously opened Directory Windows.  It will
  6933.                               close all directory windows on the screen or
  6934.                               open all previously opened Directory Windows. 
  6935.                               If the 'Windows/Use Limits' menu item is not
  6936.                               checked, you may end up with an overcrowded 
  6937.                               screen.
  6938.  
  6939.      Selected Directories     The Selected Directories selection is of
  6940.                               more use.  This works on selected directories
  6941.                               in Directory Windows, selected volumes in the
  6942.                               'Volumes In Memory' list and selected items
  6943.                               in the Devices, Assigns and Drives list. 
  6944.      Loading Directories 
  6945.      From the Device List     This is one of those options that it will be
  6946.                               best if you test it out to see how it works. 
  6947.                               First cycle the list gadget in the Control
  6948.                               Window to 'Devices, Assigns and Drives',
  6949.                               select a few items in that list.  Then select
  6950.                               the menu item Windows, Open, Selected
  6951.                               Directories.  MegaD will load each selection
  6952.                               and place it in a Directory Window.   After
  6953.                               they have been loaded, select the Windows,
  6954.                               Close, Selected Directories.  Unlike other
  6955.                               commands, the selected items will stay
  6956.                               selected so they can be used over again.
  6957.  
  6958.                               After testing this out clear all of the
  6959.                               selected items in the Device, Assigns and
  6960.  
  6961.                               MegaD 2.00  Tutorial, Copyright © 1992
  6962.  
  6963.  
  6964.  
  6965.  
  6966.  
  6967.                                                     Menus and Displays  119
  6968.  
  6969.                               Drives list, even if the list is hidden the
  6970.                               selected items in the list will be used.
  6971.  
  6972.      Opening windows from the 
  6973.      Volumes In Memory List   We now have some buffered directories from
  6974.                               the last action.  Cycle the list gadget of
  6975.                               the Control Window to 'Volumes In Memory' and
  6976.                               select some of the buffered volumes in this
  6977.                               list.  Once again select the menu item
  6978.                               Windows, Open, Selected Directories, the
  6979.                               windows will be opened if not already on the
  6980.                               screen.  Select the opposite menu selection
  6981.                               Windows, Close, Selected Directories and they
  6982.                               will be removed from the screen.  Clear the
  6983.                               selected items in the 'Volumes In Memory'
  6984.                               list for the next test of this feature.
  6985.  
  6986.      Opening Directory Windows
  6987.      From Selected Directories
  6988.                               Open a Directory Window that has a few
  6989.                               directories in it.  Select some of those
  6990.                               directories.  Uncheck the 'Windows, Use
  6991.                               Limits' menu item so that the list will not
  6992.                               be swaped out with other directories.  Select
  6993.                               the menu item, Windows, Open, Selected
  6994.                               Directories, the selected directories will be
  6995.                               loaded and placed into new directory windows.
  6996.  
  6997.                               Close the same windows by selecting the menu
  6998.                               item Windows, Close, Selected Directories.
  6999.                               Before we move on, check the 'Windows, Use
  7000.                               Limits' and close all of the windows open to
  7001.                               the screen.
  7002.  
  7003.      Window locations         The next section of the 'Windows' menu will
  7004.                               allow you to define how MegaD places windows
  7005.                               on to the screen.  There are three modes
  7006.                               listed here, 'Use Overlap Locations', 'Use
  7007.                               Grid Locations' and 'Use Snapshot Locations'. 
  7008.  
  7009.  
  7010.      Overlap Locations        The Overlap Locations is the default that
  7011.                               MegaD comes set with. It tries to place newly
  7012.                               loaded volumes to the right side of the last
  7013.                               loaded volume on the screen.  If the room for
  7014.                               the new volume window is less than the
  7015.                               smallest width that a Directory Window can be
  7016.                               sized it will open the window to the far left
  7017.                               of the screen instead.  If you are only
  7018.                               displaying the filename of the directory
  7019.  
  7020.                               MegaD 2.00  Tutorial, Copyright © 1992
  7021.  
  7022.  
  7023.  
  7024.  
  7025.  
  7026.                                                     Menus and Displays  120
  7027.  
  7028.                               entries you can get three volume to fit on
  7029.                               one screen.
  7030.  
  7031.                               The overlap comes from when you open more
  7032.                               than one directory in one volume.  You need
  7033.                               to have the windows per volumes set to more
  7034.                               than one.   The windows are overlapped by
  7035.                               opening the next window down a full drag bar
  7036.                               (Window title area) and shifted to the right
  7037.                               about the width of the close gadget.  This
  7038.                               arrangement will let you see all of the
  7039.                               titles as the windows are overlapped on each
  7040.                               other.
  7041.  
  7042.      Setting Volume and 
  7043.      Window Limits            Lets take a look at this in action.  Select
  7044.                               the 'Windows/2 Volumes Per Screen' and
  7045.                               'Windows/1 Window Per Volume...' menu items
  7046.                               (note: these two menu items are tied together
  7047.                               to form one menu item).  A requester will
  7048.                               open that has two integer string gadgets
  7049.                               titled:
  7050.                                         Number Volumes Per Screen
  7051.                                                    and
  7052.                                       Number of Windows per Volume
  7053.  
  7054.                               Leave the Volumes set at 2 but change the 1
  7055.                               in the "Number of windows per Volume" to 3. 
  7056.                               Select the 'Use' gadget.
  7057.  
  7058.                               Now that you have changed the limits of
  7059.                               directories per volume you can have multiple
  7060.                               windows open for a volume.  Open a Directory
  7061.                               Window that has a few directories listed in
  7062.                               it.  Double click some of the directories to
  7063.                               see how the windows will overlap.  Test this
  7064.                               out with other volumes and see how this
  7065.                               looks.  After you get the feel for the
  7066.                               overlap mode select the menu item 'Windows,
  7067.                               Close', All so that we can test out the next
  7068.                               mode.
  7069.  
  7070.      Use Grid Locations       The 'Use Grid Locations' menu item, if
  7071.                               checked, will place windows in a fixed grid
  7072.                               arrangement.  The grid is determined by the
  7073.                               limits settings.  At the moment the limits
  7074.                               should be set to 2 Volumes per Screen and 3
  7075.                               Windows per Volume.  Also the 'Use Limits'
  7076.                               should be checked.
  7077.  
  7078.  
  7079.                               MegaD 2.00  Tutorial, Copyright © 1992
  7080.  
  7081.  
  7082.  
  7083.  
  7084.  
  7085.                                                     Menus and Displays  121
  7086.  
  7087.                               Being the Volumes is set to two, MegaD will
  7088.                               divide the screen width by two to determine
  7089.                               how wide each Directory Window should be,
  7090.                               thus giving us the width of each grid.  This
  7091.                               way, if the maximum number of volumes are
  7092.                               opened to the screen the windows will fill
  7093.                               the screen.  The Windows per Volumes are set
  7094.                               to three, MegaD will divide the screen height
  7095.                               by three to decide how tall each directory
  7096.                               window will be opened as.  It will also place
  7097.                               each newly loaded volume window under the
  7098.                               pervious until the limits is reached.  After
  7099.                               the limit is reached it will swap out
  7100.                               directories to place newly requested
  7101.                               directories in the windows.
  7102.  
  7103.                               This arrangement allows you to see all of
  7104.                               each window opened to the screen.  The draw
  7105.                               back is the full width of the information in
  7106.                               the Directory Windows may not be visible. 
  7107.                               The windows will be a fixed width and height
  7108.                               that will not be automaticly resized to
  7109.                               allow you to view the full information. 
  7110.                               Although you can still manually resize the
  7111.                               window with the window resize gadget.
  7112.  
  7113.                               Once again test this mode out and get the
  7114.                               hang of it.  Once you are satisfied that you
  7115.                               understand how it works close all of the
  7116.                               Directory Windows so that we can go on to the
  7117.                               next mode.
  7118.  
  7119.      Set Snapshot / Use Snapshot
  7120.  
  7121.      Why Snapshot             Snapshot is for people who want windows in
  7122.                               set places. A snapshot window will not
  7123.                               respect the 'Auto resize' option or the 'Use
  7124.                               limits'.
  7125.  
  7126.      Setting Snapshot         The easiest way to set up the snapshot mode
  7127.                               is by starting out with the 'Use Overlap
  7128.                               locations' Menu checked and the 'Use Limits'
  7129.                               unchecked.  This way MegaD will open a new
  7130.                               window for each volume or directory
  7131.                               requested.
  7132.  
  7133.                               Select a directory to load that will have a
  7134.                               few sub directories in it.  During this
  7135.                               process try to open windows only from within
  7136.                               this one volume.  Open this directory so that
  7137.  
  7138.                               MegaD 2.00  Tutorial, Copyright © 1992
  7139.  
  7140.  
  7141.  
  7142.  
  7143.  
  7144.                                                     Menus and Displays  122
  7145.  
  7146.                               you will have a window open to the screen. 
  7147.                               It is important to place each window in the
  7148.                               place you wish it to be, and size it to the
  7149.                               dimensions that you want as you open them. 
  7150.                               This not only sets the placement of the
  7151.                               window but the order that the location will
  7152.                               be used to place windows to the screen. 
  7153.  
  7154.      Take A Snapshot          Open, Place and size all of the windows that
  7155.                               you want on the screen in fixed locations. 
  7156.                               MegaD will remember up to 30 window position. 
  7157.                               Select the 'Window, Set Snapshot' menu item. 
  7158.                               This will record the order, location, and
  7159.                               size of each open Directory Window.
  7160.  
  7161.      Use Snapshot             The 'Window, Use Snapshot' menu item will
  7162.                               become unghosted, now you can check the
  7163.                               'Window, Use Snapshot' menu item. 
  7164.                               Directories will now be placed in the
  7165.                               snapshot location that you set.  The
  7166.                               snapshots are used one after the other
  7167.                               regardless of Volumes or sub-directories. 
  7168.                               Once all of the snapshot locations are
  7169.                               filled, MegaD will start swapping directories
  7170.                               within open windows to get them to the
  7171.                               screen.
  7172.  
  7173.      Forcing More Windows     The 'Lock' gadget comes in handy to prevent
  7174.                               the directory you want from getting swaped
  7175.                               out for another directory.  As long as the
  7176.                               window is Locked, MegaD will not place
  7177.                               another directory in it.  Should you lock all
  7178.                               of the snapshot windows and request another
  7179.                               directory, a window will open in the upper
  7180.                               left corner of the screen for this directory.
  7181.  
  7182.                               Remember to save your preferences file once
  7183.                               you are happy with the window locations with
  7184.                               'Windows, Save Preferences'.  The locations
  7185.                               can be changed with 'Windows, Set Snapshot'
  7186.                               as you please.
  7187.  
  7188.      Two Window Utility       This is for the die hard fans of the older,
  7189.                               less capable, two window utilities.  The Two
  7190.                               Window Utility is your basic idea of what a
  7191.                               Directory Utility should be.  One window to
  7192.                               the left, One window to the right and little
  7193.                               flexibility, that was until MegaD came
  7194.                               along.
  7195.  
  7196.  
  7197.                               MegaD 2.00  Tutorial, Copyright © 1992
  7198.  
  7199.  
  7200.  
  7201.  
  7202.  
  7203.                                                     Menus and Displays  123
  7204.  
  7205.                               Select the Two Window Utility menu item.  If
  7206.                               you were running on the Workbench screen
  7207.                               MegaD will open a non-interlace screen for
  7208.                               the two window mode.
  7209.  
  7210.      Two Window And 
  7211.      The WorkBench            The two window mode can not coexist with the
  7212.                               Workbench screen.  It would cover the
  7213.                               Workbench making it useless.
  7214.  
  7215.                               If you were running under you own MegaD
  7216.                               screen MegaD will use that screen for the two
  7217.                               window mode.
  7218.  
  7219.                               Things have been shuffled around in Two
  7220.                               Window mode.  If you had buffered
  7221.                               directories, some of those directories will
  7222.                               have been placed into the two windows other
  7223.                               wise the windows will be empty.
  7224.  
  7225.      Command Gadget Locations
  7226.                               Across the bottom of the window you will find
  7227.                               the command gadgets that used to be arranged
  7228.                               in the same order as the keypad on the side
  7229.                               of the keyboard.  They are now in a 6 X 3
  7230.                               grid arrangement with the 'Shift Gadgets'
  7231.                               located just above them in the center.  
  7232.  
  7233.      Device Gadget Locations
  7234.                               Above the 'Shift gadget' you will see your
  7235.                               nine device gadgets.  The 'Device Gadgets'
  7236.                               have an imaginary vertical line running right
  7237.                               down the center of them.  Lets say you want
  7238.                               to load 'Tutorial' into the left window. 
  7239.                               You should click the "left half" of the
  7240.                               'Tutorial' gadget.  You will see a momentary
  7241.                               flash in the left half of the 'Tutorial'
  7242.                               gadget (the left half will be highlighted for
  7243.                               a brief moment), and the Tutorial directory
  7244.                               will load into the left window.  Now, if you
  7245.                               wanted to load 'Ram Disk' into the right
  7246.                               window, you would click the "right half" of
  7247.                               the 'Ram Disk:' gadget.  This time, the
  7248.                               right half of the Ram Disk gadget will
  7249.                               momentarily highlight, and the Ram Disk
  7250.                               directory will load in the right window.  The
  7251.                               'Lock' gadget will override this feature.
  7252.  
  7253.                               At the top center are three gadgets. The top
  7254.                               gadget is the 'Free Volumes' gadget which
  7255.  
  7256.                               MegaD 2.00  Tutorial, Copyright © 1992
  7257.  
  7258.  
  7259.  
  7260.  
  7261.  
  7262.                                                     Menus and Displays  124
  7263.  
  7264.                               functions the same as the Free Volumes in the
  7265.                               Control Window.  
  7266.  
  7267.                               The second is a cycle gadget that can be
  7268.                               cycled from "Vol In Mem" which is the same
  7269.                               as the 'Volumes In Memory' in the Control
  7270.                               Window to "Devices" which is the same as the
  7271.                               "Devices, Assigns and Drives of the Control
  7272.                               Window.  It can be cycled to a new setting in
  7273.                               the Two Window mode.  This setting is
  7274.                               "Directory".  The right window is shared by
  7275.                               these three lists.
  7276.  
  7277.                               The third is titled "Byte Info" which will
  7278.                               bring up the byte information that use to be
  7279.                               displayed in the center of the Control
  7280.                               Window.  the Byte window once opened is
  7281.                               interactive with MegaD and you may use the
  7282.                               Directory Window while it is opened.
  7283.  
  7284.      Two Window Mode          There is not a lot to say about this mode. 
  7285.                               It is easy to get used to but somewhat
  7286.                               restrictive.  It only allows you two windows
  7287.                               to work out of.  There is a way to force more
  7288.                               windows out onto the screen.  By locking both
  7289.                               Directory Windows and requesting a new
  7290.                               directory, MegaD will have to open a new
  7291.                               window to place the directory in it.
  7292.  
  7293.                               As with all of the other modes, play around
  7294.                               with it for a while to see how it works.
  7295.  
  7296.                               You have seen all of the different modes
  7297.                               that MegaD can be placed into to help you
  7298.                               navigate through your volumes and
  7299.                               directories. You should be able to find one
  7300.                               that suits your needs.  MegaD allows you to
  7301.                               switch modes with ease so that with some
  7302.                               tasks you may used a mode more suited for it. 
  7303.                               I suggest that you find the mode that you
  7304.                               like best, set it to that mode and save the
  7305.                               preference file.
  7306.  
  7307.      The Show Menu            The show menu is very self explanatory.  We
  7308.                               have changed it at times so that we could
  7309.                               see different file attributes.  MegaD will
  7310.                               let you display all of the attributes or none
  7311.                               of the attributes except for the filename,
  7312.                               the filename is always placed into the
  7313.                               listing of the Directory Window.  You may
  7314.  
  7315.                               MegaD 2.00  Tutorial, Copyright © 1992
  7316.  
  7317.  
  7318.  
  7319.  
  7320.  
  7321.                                                     Menus and Displays  125
  7322.  
  7323.                               un-check or check the menu items to set what
  7324.                               items to format into the Directory Window.
  7325.  
  7326.      Sorting Directories      The show menu also has a Sort sub menu that
  7327.                               allows you to sort the directories by any
  7328.                               file attribute.  Or it will sort on None,
  7329.                               this will display the directory entries as
  7330.                               they were read from the volume.
  7331.  
  7332.                               All windows are not reformatted if the some
  7333.                               of the show menu items are changed.  Only the
  7334.                               'Dest'ination windows will reformat to show
  7335.                               the new settings.  If you wish to reformat
  7336.                               all of the window to the new settings select
  7337.                               the 'Show, Reset All' menu item.
  7338.  
  7339.  
  7340.  
  7341.  
  7342.  
  7343.  
  7344.  
  7345.  
  7346.  
  7347.  
  7348.  
  7349.  
  7350.  
  7351.  
  7352.  
  7353.  
  7354.  
  7355.  
  7356.  
  7357.  
  7358.  
  7359.  
  7360.  
  7361.  
  7362.  
  7363.  
  7364.  
  7365.  
  7366.  
  7367.  
  7368.  
  7369.  
  7370.  
  7371.  
  7372.  
  7373.  
  7374.                               MegaD 2.00  Tutorial, Copyright © 1992
  7375.  
  7376.  
  7377.  
  7378.  
  7379.  
  7380.                                                              Now What?  126
  7381.  
  7382.                               Now What?
  7383.                               =========
  7384.  
  7385.                     We have touched base on all of the aspects of MegaD. 
  7386.                     There is no way that we can describe all of the
  7387.                     different ways MegaD can be arranged.  As you have seen
  7388.                     MegaD has been made to be fine tuned to the users
  7389.                     wishes.
  7390.  
  7391.                     By now, you should have a basic knowledge of how MegaD
  7392.                     works.  You should be able to perform any task you want
  7393.                     with MegaD.  If MegaD can't do what you want with one
  7394.                     of it's builtin commands, you should be able to add an
  7395.                     external command to it to do it.
  7396.  
  7397.                     You should be able to change any display attribute that
  7398.                     MegaD uses, from major settings such as screens, to the
  7399.                     simple setting of dates displayed in the directory
  7400.                     listings.
  7401.  
  7402.                     You should be able to modify any file attribute you
  7403.                     wish.  Copy, Move, Delete,... files and directories one
  7404.                     at a time or in large groups.
  7405.  
  7406.                     You should be able to create a listing of a directory,
  7407.                     create a label for your disk or create a database
  7408.                     export file for your database.
  7409.  
  7410.                     You should be able to use directory patterns to reduce
  7411.                     large listings down to a refined list to select from. 
  7412.                     The same type of patterns can be used to select items
  7413.                     with or to search deep within volumes and directories.
  7414.  
  7415.                     You many want to look through the MegaD.Doc file if you
  7416.                     have not done so.  There is information in there on how
  7417.                     to use the dictionary file that allows you modify any
  7418.                     displayed information that MegaD uses.  If you feel
  7419.                     that a title or message would be better written another
  7420.                     way you may change it.  Most everything else we have
  7421.                     covered here.  The Rambling_on file may offer some
  7422.                     other answers that are still not apparent.  This file
  7423.                     is a collection of questions and answers that have been
  7424.                     asked about MegaD.
  7425.  
  7426.  
  7427.  
  7428.  
  7429.  
  7430.  
  7431.  
  7432.  
  7433.                               MegaD 2.00  Tutorial, Copyright © 1992
  7434.  
  7435.  
  7436.  
  7437.  
  7438.  
  7439.                                                                    Index  i
  7440.  
  7441.  
  7442.                               'Dest'ination  . . . . . . . . . . . . . . 21
  7443.                               'Volume In Memory' . . . . . . . . . . . .  7
  7444.                               1.3 Iconify  . . . . . . . . . . . . . . . 40
  7445.                               1.3/2.0 Color Switch . . . . . . . . . .  107
  7446.                               2.0 Iconify  . . . . . . . . . . . . . . . 40
  7447.                               Abort Drag Select  . . . . . . . . . . . . 24
  7448.                               Accept Input From a file or device:  . . . 80
  7449.                               Accessing Menus  . . . . . . . . . . . . . 23
  7450.                               Action Warnings  . . . . . . . . . . . . . 50
  7451.                               Activating a Filter  . . . . . . . . . . . 64
  7452.                               Active Directory . . . . . . . . . . . . . 12
  7453.                               Active Window  . . . . . . . . . . . . . . 51
  7454.                               Add AutoBoot  Skips Icon Files . . . . . . 74
  7455.                               Add AutoBoot Command . . . . . . . . . . . 74
  7456.                               Add Display Command Gadget . . . . . . . . 87
  7457.                               Add, Delete Menu Set Gadgets . . . . . . . 97
  7458.                               Adding A Menu Set  . . . . . . . . . . . . 97
  7459.                               Adding Archive  List Command . . . . . . . 88
  7460.                               Adding User Gadgets  . . . . . . . . . . . 91
  7461.                               After Date Filter  . . . . . . . . . . . . 67
  7462.                               Anatomy Of The Program Control Window  . . 76
  7463.                               Another Reason to Switch  to Workbench
  7464.                                         2.0  . . . . . . . . . . . . . . 93
  7465.                               Application Menu . . . . . . . . . . . . . 41
  7466.                               Auto 'Dest'ination . . . . . . . . . . . . 50
  7467.                               Auto Destination . . . . . . . . . . . . . 31
  7468.                               Auto Labels  . . . . . . . . . . . . . . . 42
  7469.                               Auto resize windows  . . . . . . . . . .  110
  7470.                               Auto Save when Quit  . . . . . . . . . . . 27
  7471.                               Auto update windows  . . . . . . . . . .  110
  7472.                               Available Memory . . . . . . . . . . . . . 12
  7473.                               Before Date Filter . . . . . . . . . . . . 67
  7474.                               Buffered Directories . . . . . . . . . . . 36
  7475.                               Buffered Volume List . . . . . . . . . . .  8
  7476.                               Buffering a Full Volume  . . . . . . . . . 39
  7477.                               Calculating Directory Sizes  . . . . . . . 38
  7478.                               Cancel print jobs  . . . . . . . . . . . . 46
  7479.                               Check Gadgets  . . . . . . . . . . . . . . 76
  7480.                               Clear By Pattern . . . . . . . . . . . . . 72
  7481.                               Clear Pattern Function . . . . . . . . . . 60
  7482.                               Close the Defaults Window  . . . . . . .  115
  7483.                               Close Window Gadget  . . . . . . . . . . . 22
  7484.                               Color Conflict . . . . . . . . . . . . .  107
  7485.                               Combine all selected on one line:  . . . . 77
  7486.                               Command Gadget Locations . . . . . . . .  123
  7487.                               Command Lines and Program Controls.  . . . 81
  7488.                               Confirm quit . . . . . . . . . . . . . .  110
  7489.                               Copy and Rename a File . . . . . . . . . . 54
  7490.                               Copy/Format  Program Control . . . . . .  114
  7491.  
  7492.                               MegaD 2.00  Tutorial, Copyright © 1992
  7493.  
  7494.  
  7495.  
  7496.  
  7497.  
  7498.                                                                   Index  ii
  7499.  
  7500.                               Copying Commands . . . . . . . . . . . .  116
  7501.                               Copying Directories  . . . . . . . . . . . 53
  7502.                               Copying Files  . . . . . . . . . . . . . . 52
  7503.                               Copying Groups of Files and Directories  . 53
  7504.                               Create a Tutorial Disk . . . . . . . . . . 19
  7505.                               Create Dir . . . . . . . . . . . . . . . . 31
  7506.                               Create Directory . . . . . . . . . . . . . 31
  7507.                               Create Master Dictionary . . . . . . . .  115
  7508.                               Creating A New Menu Set  . . . . . . . . . 97
  7509.                               Current Directories  . . . . . . . . . . . 92
  7510.                               Date Format  . . . . . . . . . . . . . .  108
  7511.                               Delete Command . . . . . . . . . . . . . . 28
  7512.                               Destination Area . . . . . . . . . . . .  116
  7513.                               Destination Gadgets  . . . . . . . . . . . 84
  7514.                               Destination Window Definition  . . . . . . 50
  7515.                               Device Gadget Locations  . . . . . . . .  123
  7516.                               Device Gadgets . . . . . . . . . . . . . . 10
  7517.                               Device Gadgets keyboard Equivalent . . . . 11
  7518.                               Device List  . . . . . . . . . . . . . . .  7
  7519.                               Device String Gadget . . . . . . . . . . . 10
  7520.                               Dictionary filename  . . . . . . . . . .  114
  7521.                               Dir User Gadget  . . . . . . . . . . . . . 93
  7522.                               Directory listing order  . . . . . . . .  115
  7523.                               Directory listings . . . . . . . . . . . . 44
  7524.                               Directory Windows  . . . . . . . . . . . . 20
  7525.                               Disk Labels  . . . . . . . . . . . . . . . 42
  7526.                               Display Protect Bits . . . . . . . . . . . 30
  7527.                               Double Click Directory . . . . . . . . . . 23
  7528.                               Double Click File  . . . . . . . . . . . . 23
  7529.                               Double Click Item  . . . . . . . . . . . . 23
  7530.                               Double Click Text File . . . . . . . . . . 33
  7531.                               Drag Select Items  . . . . . . . . . . . . 24
  7532.                               Drop a Disk Icon.  . . . . . . . . . . . . 40
  7533.                               Drop a Drawer Icon . . . . . . . . . . . . 40
  7534.                               Drop a Program Icon  . . . . . . . . . . . 40
  7535.                               Drop a Project Icon  . . . . . . . . . . . 41
  7536.                               Drop a Text File Icon  . . . . . . . . . . 41
  7537.                               Dropping icons onto the Application Icon . 40
  7538.                               Duplicate  . . . . . . . . . . . . . . . . 37
  7539.                               Duplicate a File . . . . . . . . . . . . . 37
  7540.                               Duplicate Disk Labels  . . . . . . . . . . 43
  7541.                               Elements of a Filter . . . . . . . . . . . 61
  7542.                               Empty Directories  . . . . . . . . . . . . 39
  7543.                               Empty Fields . . . . . . . . . . . . . .  102
  7544.                               Exact Size Filter  . . . . . . . . . . . . 65
  7545.                               Execute type cycle gadget Multitasking
  7546.                                         execute: . . . . . . . . . . . . 79
  7547.                               F10 Closes control window  . . . . . . .  113
  7548.                               Field Sizes  . . . . . . . . . . . . . .  102
  7549.                               Field/Record Separators  . . . . . . . .  102
  7550.  
  7551.                               MegaD 2.00  Tutorial, Copyright © 1992
  7552.  
  7553.  
  7554.  
  7555.  
  7556.  
  7557.                                                                  Index  iii
  7558.  
  7559.                               File Comments  . . . . . . . . . . . . . . 34
  7560.                               Filter + Funtion . . . . . . . . . . . . . 60
  7561.                               Filter - . . . . . . . . . . . . . . . . . 71
  7562.                               Filter Requestor . . . . . . . . . . . . . 60
  7563.                               Find . . . . . . . . . . . . . . . . . . . 71
  7564.                               Find Function  . . . . . . . . . . . . . . 60
  7565.                               Find List Of  Directory Items  . . . . . . 71
  7566.                               Flags to add after Program Name: . . . . . 80
  7567.                               Force Update Directory Windows To show
  7568.                                         Changes  . . . . . . . . . . .  109
  7569.                               Forced Destination . . . . . . . . . . . . 78
  7570.                               Forcing More Windows . . . . . . . . . .  122
  7571.                               Free Volumes Gadget  . . . . . . . . . . .  7
  7572.                               Freeing Buffered Volumes . . . . . . . . .  9
  7573.                               Getting Started  . . . . . . . . . . . . .  5
  7574.                               Global Filter  . . . . . . . . . . . . . . 70
  7575.                               Go Deep  . . . . . . . . . . . . . . . . . 38
  7576.                               Greater Than Size Filter . . . . . . . . . 65
  7577.                               Icon Gadgets . . . . . . . . . . . . . . . 16
  7578.                               Iconify  . . . . . . . . . . . . . . . . . 39
  7579.                               In/Out Filter Gadget . . . . . . . . . . . 61
  7580.                               Information Area . . . . . . . . . . . . . 11
  7581.                               Keep active window to front  . . . . . .  110
  7582.                               Keypad Banks . . . . . . . . . . . . . . . 13
  7583.                               Keypad Gadgets . . . . . . . . . . . . . . 13
  7584.                               Know Your System . . . . . . . . . . . . . 74
  7585.                               Label Align  . . . . . . . . . . . . . . . 43
  7586.                               Label height . . . . . . . . . . . . . .  114
  7587.                               Label Modify . . . . . . . . . . . . . . . 43
  7588.                               Label width  . . . . . . . . . . . . . .  114
  7589.                               Last Active Window Destination . . . . . . 51
  7590.                               Last active window is destination  . . .  111
  7591.                               Less Than Size Filter  . . . . . . . . . . 64
  7592.                               Loading a text file  . . . . . . . . . . . 32
  7593.                               Loading Directories  From the Device
  7594.                                         List . . . . . . . . . . . . .  118
  7595.                               Loading selected items from the Device
  7596.                                         List . . . . . . . . . . . . . .  8
  7597.                               Lock Gadget  . . . . . . . . . . . . . . . 22
  7598.                               Main Control Window  . . . . . . . . . . .  6
  7599.                               Making A List Menu . . . . . . . . . . . . 98
  7600.                               Making A Pack Menu . . . . . . . . . . . . 97
  7601.                               Making A Recursive Menu  . . . . . . . . . 99
  7602.                               Making A Test Menu . . . . . . . . . . . . 99
  7603.                               Making A UnPack Menu Set . . . . . . . . . 98
  7604.                               Manipulating Multiple Text Windows . . . . 34
  7605.                               Manual Label . . . . . . . . . . . . . . . 42
  7606.                               MegaD List Area  . . . . . . . . . . . . .  7
  7607.                               MegaD screen to front at end . . . . . . . 78
  7608.                               MegaD's Spooler  . . . . . . . . . . . . . 46
  7609.  
  7610.                               MegaD 2.00  Tutorial, Copyright © 1992
  7611.  
  7612.  
  7613.  
  7614.  
  7615.  
  7616.                                                                   Index  iv
  7617.  
  7618.                               Menu Button Scroll . . . . . . . . . . . . 23
  7619.                               Menu Set Program Control . . . . . . . . . 96
  7620.                               Messages off . . . . . . . . . . . . . .  111
  7621.                               Mixing Multiple  Filters . . . . . . . . . 69
  7622.                               Modify or Delete Program Controls  . . . . 94
  7623.                               Move and Rename  . . . . . . . . . . . . . 57
  7624.                               Moving Directories . . . . . . . . . . . . 56
  7625.                               Moving Files . . . . . . . . . . . . . . . 55
  7626.                               Multiple AutoBoot Window . . . . . . . . . 87
  7627.                               Multiple Text Windows  . . . . . . . . . . 33
  7628.                               Multitasking Execute W/Hold: . . . . . . . 79
  7629.                               Multitasking Workbench (NO I/0): . . . . . 79
  7630.                               Navigating Through Multiple  Directory
  7631.                                         Windows  . . . . . . . . . . . . 57
  7632.                               Next/Previous  Step Gadgets  . . . . . . . 97
  7633.                               Open/Close All . . . . . . . . . . . . .  118
  7634.                               Opening Directory Windows From Selected
  7635.                                         Directories  . . . . . . . . .  119
  7636.                               Opening Two  Directory Windows . . . . . . 51
  7637.                               Opening windows from the  Volumes In
  7638.                                         Memory List  . . . . . . . . .  119
  7639.                               Order of file information  . . . . . . .  115
  7640.                               Output File  . . . . . . . . . . . . . . . 44
  7641.                               Output Format  . . . . . . . . . . . . . . 45
  7642.                               Output Prt . . . . . . . . . . . . . . . . 46
  7643.                               Overlap Locations. . . . . . . . . . . .  119
  7644.                               Overriding Auto Destination  . . . . . . . 51
  7645.                               Panic button window  . . . . . . . . . .  111
  7646.                               Panic Window . . . . . . . . . . . . . . . 29
  7647.                               Parent Gadget  . . . . . . . . . . . . . . 21
  7648.                               Path and Program Name String Gadget  . . . 80
  7649.                               Place Program on MegaD Screen: . . . . . . 79
  7650.                               Place Program on Workbench Screen: . . . . 79
  7651.                               Place tool icon & menu on Workbench  . .  111
  7652.                               Possible Screens . . . . . . . . . . . .  108
  7653.                               Possible Uses of File Extension  . . . . . 75
  7654.                               Predefined Menu Sets . . . . . . . . . . . 96
  7655.                               Preventing the Console  Window From
  7656.                                         Opening  . . . . . . . . . . . . 80
  7657.                               Printing Text Files  . . . . . . . . . . . 46
  7658.                               Program Control Window, String Gadgets.  . 79
  7659.                               Protection Bits  . . . . . . . . . . . . . 30
  7660.                               Query for destination filename . . . . . . 78
  7661.                               Quick Command Access . . . . . . . . . . . 13
  7662.                               Quitting MegaD . . . . . . . . . . . . . . 41
  7663.                               Redirect Output to a file or device: . . . 80
  7664.                               Reformat Directory Windows . . . . . . . . 30
  7665.                               Relabel  . . . . . . . . . . . . . . . . . 25
  7666.                               Relabel under 1.3  . . . . . . . . . . . . 25
  7667.                               Relabel under 2.0 and Using MegaD  . . . . 25
  7668.  
  7669.                               MegaD 2.00  Tutorial, Copyright © 1992
  7670.  
  7671.  
  7672.  
  7673.  
  7674.  
  7675.                                                                    Index  v
  7676.  
  7677.                               Reload current directory at end  . . . . . 78
  7678.                               Rename . . . . . . . . . . . . . . . . . . 29
  7679.                               Replace File Warning . . . . . . . . . . . 52
  7680.                               Save defaults at closing . . . . . . . .  112
  7681.                               Save window positions  . . . . . . . . .  112
  7682.                               Save Your Work . . . . . . . . . . . . .  100
  7683.                               Screen control Cycle gadget  . . . . . . . 78
  7684.                               Scrolling List Area  . . . . . . . . . . . 22
  7685.                               Searching Text Files . . . . . . . . . . . 47
  7686.                               Select By Pattern  . . . . . . . . . . . . 72
  7687.                               Select Pattern Function  . . . . . . . . . 60
  7688.                               Select Volumes for tasks . . . . . . . . .  9
  7689.                               Select/Clear AutoBoot Window . . . . . . . 90
  7690.                               Select/Clear commands  . . . . . . . . . . 36
  7691.                               Selected Directories . . . . . . . . . .  118
  7692.                               Selecting Items  . . . . . . . . . . . . . 23
  7693.                               Selecting Menu Sets  . . . . . . . . . . . 96
  7694.                               Selecting The  Data Files  . . . . . . . . 74
  7695.                               Selecting The  Executable  . . . . . . . . 74
  7696.                               Set Keypads Window . . . . . . . . . . . . 84
  7697.                               Set Preferences  . . . . . . . . . .  27, 105
  7698.                               Set Protect  . . . . . . . . . . . . . . . 30
  7699.                               Set Show Comment . . . . . . . . . . . . . 35
  7700.                               Set Show Size  . . . . . . . . . . . . . . 38
  7701.                               Set Snapshot / Use Snapshot  Why
  7702.                                         Snapshot . . . . . . . . . . .  121
  7703.                               Set the Filter  Type Gadget First  . . . . 66
  7704.                               Setting AutoBoots  As Command Gadgets  . . 82
  7705.                               Setting Multiple  Comments . . . . . . . . 35
  7706.                               Setting Snapshot . . . . . . . . . . . .  121
  7707.                               Setting the  device gadgets  . . . . . . . 27
  7708.                               Setting Up Export  . . . . . . . . . . .  101
  7709.                               Setting Volume and  Window Limits  . . .  120
  7710.                               Simple Commands  . . . . . . . . . . . . . 28
  7711.                               Simple refresh windows . . . . . . . . .  112
  7712.                               Single Select Item . . . . . . . . . . . . 23
  7713.                               Sorting Directories  . . . . . . . . . .  125
  7714.                               Source Area  . . . . . . . . . . . . . .  116
  7715.                               Source icon for directories  . . . . . .  114
  7716.                               Source Window  Definition  . . . . . . . . 50
  7717.                               Swap Device Gadgets for Menu Gadgets . .  100
  7718.                               Take A Snapshot  . . . . . . . . . . . .  122
  7719.                               Testing the Reload/ Current Directory  . . 94
  7720.                               Text Reader  . . . . . . . . . . . . . . . 32
  7721.                               Text to append to end of command line: . . 80
  7722.                               Text Window Keys . . . . . . . . . . . . . 33
  7723.                               Text Window Menu . . . . . . . . . . . . . 32
  7724.                               Text Window Parts  . . . . . . . . . . . . 32
  7725.                               The anatomy of a  directory window . . . . 21
  7726.                               The Show Menu. . . . . . . . . . . . . .  124
  7727.  
  7728.                               MegaD 2.00  Tutorial, Copyright © 1992
  7729.  
  7730.  
  7731.  
  7732.  
  7733.  
  7734.                                                                   Index  vi
  7735.  
  7736.                               Title String Gadget  . . . . . . . . . . . 79
  7737.                               Two Window And  The WorkBench  . . . . .  123
  7738.                               Two Window Mode  . . . . . . . . . . . .  124
  7739.                               Two Window Utility . . . . . . . . . . .  122
  7740.                               Un-Ghosting  The Activate Gadget . . . . . 64
  7741.                               Update Dir . . . . . . . . . . . . . . . . 36
  7742.                               Use Grid Locations . . . . . . . . . . .  120
  7743.                               Use Snapshot . . . . . . . . . . . . . .  122
  7744.                               User Gadget Program Control  . . . . . . . 91
  7745.                               Using an AutoBoot  . . . . . . . . . . . . 84
  7746.                               Using an AutoBoot  As A Command Gadget . . 84
  7747.                               Using Date filters . . . . . . . . . . . . 65
  7748.                               Using Filter Out . . . . . . . . . . . . . 64
  7749.                               Using Name filters . . . . . . . . . . . . 62
  7750.                               Using Protect filters  . . . . . . . . . . 67
  7751.                               Using Size filters . . . . . . . . . . . . 64
  7752.                               Using the Tutorial Disk  . . . . . . . . . 26
  7753.                               Verify Title  And Path/Name  . . . . . . . 92
  7754.                               View Text  Program Control . . . . . . .  114
  7755.                               Warn before copy . . . . . . . . . . . .  112
  7756.                               Warn before delete . . . . . . . . . . .  112
  7757.                               Warn before move . . . . . . . . . . . .  112
  7758.                               Warn if deleting protected file  . . . .  112
  7759.                               Warn if replacing file . . . . . . . . .  113
  7760.                               Warn if replacing larger file  . . . . .  113
  7761.                               Warn if replacing newer file . . . . . .  113
  7762.                               We Are the Teachers  . . . . . . . . . . . 89
  7763.                               When You Need A  Current Directory . . . . 93
  7764.                               Why User Gadgets?  . . . . . . . . . . . . 91
  7765.                               Wildcard Pattern . . . . . . . . . . . . . 63
  7766.                               Window locations . . . . . . . . . . . .  119
  7767.                               Windows Menu . . . . . . . . . . . . . .  118
  7768.                               Workbench screen to front at start . . . . 78
  7769.                               Working in the Same Volume . . . . . . . . 56
  7770.  
  7771.  
  7772.  
  7773.  
  7774.  
  7775.  
  7776.  
  7777.  
  7778.  
  7779.  
  7780.  
  7781.  
  7782.  
  7783.  
  7784.  
  7785.  
  7786.  
  7787.                               MegaD 2.00  Tutorial, Copyright © 1992
  7788.