home *** CD-ROM | disk | FTP | other *** search
/ DP Tool Club 8 / CDASC08.ISO / VRAC / JGUTIL.ZIP / M.DOC < prev    next >
Text File  |  1993-06-06  |  24KB  |  485 lines

  1.  
  2.  
  3.                                  PICTURE MENU
  4.                                  Version 2.0-S
  5.  
  6.                           Copyright 1993, Jeff Napier
  7.  
  8.          Shareware, ok to distribute  as  long  as  all  files  remain
  9.          intact and unchanged.
  10.  
  11.                             What Picture Menu Does
  12.  
  13.              This  is  the  ultimate  graphical  user  interface (GUI)
  14.          because it is totally free-form. Now you can be free  of  the
  15.          restrictions  of  windows,  icons,  and lightbar menus.  Your
  16.          only limit is your  imagination.   Anything  you  can  write,
  17.          draw,  draft or scan will work as your menu image, background
  18.          or icons.  Anything you want to execute will run.  It is very
  19.          simple. This requires very little disk space, or RAM, and can
  20.          be learned within a few minutes. Beginning computer users can
  21.          run applications with absolutely no training!
  22.  
  23.                                  Who Needs It?
  24.  
  25.              Writers,  artists,  programmers  can  use this program to
  26.          organize and display collections of writing, art or  programs
  27.          in  an  attractive disk-based package, which end users do not
  28.          have to learn to use.
  29.  
  30.              Parents can use this program to organize  a  computer  so
  31.          that  the  smallest  children  can start the computer and run
  32.          their favorite games and programs.
  33.  
  34.              Computer sellers can employ this program to give buyers a
  35.          way to use packaged software without having to read about DOS
  36.          or Windows first.
  37.  
  38.              Retailers can use this program to run  a  customer-driven
  39.          hands-on demonstration of assorted programs.
  40.  
  41.              Computer enthusiasts can use  this  program  to  make  an
  42.          entertaining main program menu.
  43.  
  44.              Managers can use this software to give employees an  easy
  45.          way to locate and run programs or files instantly.
  46.  
  47.                                   The Pieces
  48.  
  49.              There   are   two  main parts to Picture Menu, MBUILD.EXE
  50.          and  M.EXE.   MBUILD.EXE  is  used to create or modify menus,
  51.          and M.EXE is the runtime program.
  52.  
  53.                                     Where?
  54.  
  55.              Because  Picture Menu is going to be at the heart of your
  56.          computer system, the best place  to  copy  the  picture  menu
  57.          files is into the root directory of your main hard disk.
  58.  
  59.                                Create a Drawing
  60.  
  61.              To  use  Picture  Menu,  you first create a drawing, with
  62.          your favorite paint, drawing, drafting,  desk-top  publishing
  63.          or  multimedia  program. Save your drawing as a standard .GIF
  64.          or  .PCX  file.   PCX  and GIF are  the most common image file
  65.          formats,  and  most  programs  support  GIF  and  PCX.   Many
  66.          programs  are  also available which can convert other formats
  67.          to GIF or PCX  or  which  will  capture  any  image  you  can
  68.          display  and  then  convert  it to PCX.  PCX and GIF are very
  69.          flexible formats, and many programs do not strictly adhere to
  70.          the rules of .PCX or .GIF file construction, but Picture Menu
  71.          will display almost any .PCX  file  from  CGA  monochrome  to
  72.          Hercules  to  256-color  Super-VGA,  and  most  GIFs from EGA
  73.          through Super-VGA, depending  on  the  capabilities  of  your
  74.          computer.
  75.  
  76.             Your  drawing  should  contain  some sort of icon, text or
  77.          element for every program you want to run or file you want to
  78.          display.   You  can  have up to 100 programs and files linked
  79.          to a single picture.
  80.  
  81.              For instance, if you want  to  run  CHESS.EXE,  then  you
  82.          should have a picture of a chess set, or write "CHESS" in any
  83.          font  anywhere  in  your  picture.   If  you also want to run
  84.          DARTS.EXE, then you should write "DARTS" in your  picture  or
  85.          draw a picture of the boss.
  86.  
  87.                        Using Mbuild.Exe to Create A Menu
  88.  
  89.             Run  MBUILD.EXE  by  typing  MBUILD  at  the  DOS  prompt,
  90.          followed by a space, then the name of the .PCX or  .GIF  file
  91.          you  want  to  use.   A  menu  will  appear in the upper left
  92.          corner. For the first program or file you  want  to  link  to
  93.          your  picture, select NEW from the menu. You will be asked to
  94.          "TYPE AN ACTION STRING." This normally means to type the name
  95.          of the program you want to run, optionally preceded by  drive
  96.          and  path  designation.  For an example, CHESS.EXE, you might
  97.          type:
  98.  
  99.          C:\GAMES\CHESS.EXE
  100.  
  101.          if  your  chess  game happens to be on C: drive, in the games
  102.          sub-directory.  You must include the file's  extension.   For
  103.          instance, CHESS will not work, it must be CHESS.EXE.
  104.  
  105.             A  rectangle  will appear.  You can move it with the arrow
  106.          keys, or move it faster with the number keys, or move it with
  107.          the mouse.  To change the size/shape of the  rectangle,  hold
  108.          down  the  right  mouse button or press the spacebar.  (Press
  109.          the  spacebar  again  to  return  to  Move  Mode.)  When  you
  110.          have  surrounded  the area to be sensitized, press [Enter] or
  111.          click the left mouse button.  This  sensitized  area  is  the
  112.          area  in  which a user can point and select to run a program,
  113.          such as chess.  So, if you have drawn  a  chess  board,  then
  114.          move  the  rectangle  to  enclose  the  chess  board  in your
  115.          drawing.
  116.  
  117.             Finally, you are asked if you want to  start  the  program
  118.          with a request for a parameter or filename.  This means  that
  119.          when  Picture  Menu  starts the chess program, it can ask the
  120.          user to type a filename or information which  would  normally
  121.          be  typed  at the DOS prompt.  For instance, CHESS.EXE may be
  122.          able to record an assortment of games in  progress  on  disk,
  123.          and  when  you  want to resume the game you played with Jason
  124.          last week, you could type CHESS JASON.CHS at the DOS  prompt,
  125.          to  launch immediately into the old game.  With Picture Menu,
  126.          you can have it ask for a filename, and  the  user  can  type
  127.          JASON.CHS when CHESS.EXE is selected.
  128.  
  129.             That's it.  You have built a link to  CHESS.EXE.  You  can
  130.          now   select NEW over and over again for each program or file
  131.          you want to add to the menu.
  132.  
  133.          NOTE: If MBUILD.EXE or M.EXE have a problem with your .PCX or
  134.          .GIF file because it is misspelled,  is  misplaced,  or  your
  135.          computer does not support that picture file's video mode, the
  136.          programs will harmlessly return to DOS.
  137.  
  138.                                Non-Program Files
  139.  
  140.             M.EXE  has  a  few  tricks up its sleeves.  In addition to
  141.          running .EXE, .COM and  .BAT  files  directly,  it  can  also
  142.          display text files and  miscellaneous  .GIF  or  .PCX  files.
  143.          Simply  type  the name of the file you want to display in the
  144.          action string when editing a link or creating a new link.
  145.             M.EXE  assumes that any file ending in .DOC or .TXT or any
  146.          file without .COM, .BAT, .EXE, .GIF or .PCX is a  text  file.
  147.          The  program  DREAM.EXE,  which  is also used to present this
  148.          electronic owner's manual in MBUILD.EXE must be available  on
  149.          disk in order to display text files.
  150.  
  151.  
  152.                       Other Items On the MBUILD.EXE Menu
  153.  
  154.                                      Help
  155.  
  156.              Selecting Help will show this document which you are  now
  157.          reading  if  M.DOC and DREAM.EXE are available on disk in the
  158.          current sub-directory.
  159.  
  160.                                       New
  161.  
  162.              To add a new program link to the menu.
  163.  
  164.                                      Edit
  165.  
  166.              In case you want to make  a  change,  EDIT  is  provided.
  167.          You  can  edit  the  action string (filename), decide whether
  168.          the current link  is  allowed  to  ask  for  a  parameter  or
  169.          filename, or change position of the sensitized area.
  170.  
  171.                                       Run
  172.  
  173.              Select  RUN  to  test  the current link. NOTE: MBUILD.EXE
  174.          requires quite  a  bit  more  RAM  for  its  own  usage,  and
  175.          therefore some RAM-hungry executable programs might  not  run
  176.          here,  but  will  usually  work  just fine when executed from
  177.          M.EXE.
  178.  
  179.                                     Delete
  180.  
  181.              Select DELETE to remove the current link from the menu.
  182.  
  183.                                      Next
  184.  
  185.              Select NEXT to see the next program link.
  186.  
  187.                                    Previous
  188.  
  189.              Select PREVIOUS to see the preceding link.
  190.  
  191.                                      Move
  192.  
  193.              If  the  MBUILD.EXE  menu  is  blocking  your view of the
  194.          screen, you can select move.  If the  menu  is  presently  in
  195.          the  upper  left  corner  of  the screen, it will jump to the
  196.          lower right, and visa versa.
  197.  
  198.                                      Quit
  199.  
  200.              Select Quit when you are done with MBUILD.EXE.
  201.  
  202.                                  To Run M.EXE
  203.  
  204.              To run your new  menu,  simply  type  M.EXE  at  the  DOS
  205.          prompt,  followed by a space and the name of the .PCX or .GIF
  206.          file. Your picture will appear, with an arrow in the  middle.
  207.          You  can move the arrow with the arrow keys, [Page Up], [Page
  208.          Down], [Home] or [End].  You can  move  it  faster  with  the
  209.          number keys if [Num Lock] is on.  Or you can move it with the
  210.          mouse.   To  run  a program from the menu, simply point to it
  211.          (anywhere within the sensitized  area)  and  click  the  left
  212.          mouse  button  or  press  [Enter].  The program will run, and
  213.          when you are done within, the menu picture will  return.   If
  214.          you want to quit Picture Menu, press [Esc].
  215.  
  216.                                   To Simplify
  217.  
  218.              If  you  forget  to  specify a .PCX or .GIF filename when
  219.          you  start  MBUILD.EXE  or  M.EXE,  then  Picture  Menu  will
  220.          automatically try to use a picture file called MENU.PCX.  You
  221.          can  take  advantage  of  this  by renaming your .PCX file to
  222.          MENU.PCX, then simply typing M or MBUILD at  the  DOS  prompt
  223.          will start MBUILD.EXE or M.EXE.
  224.  
  225.                           Using A Different .CFG File
  226.  
  227.              MENU.CFG  is  the  file  which  holds  your  program link
  228.          information. M.EXE and MBUILD.EXE assume that you want to use
  229.          MENU.CFG, but you can override this filename by  typing  your
  230.          own  filename  as  a  second  parameter  at  the  DOS prompt.
  231.          Whatever name you choose must end in .CFG.  For instance,  to
  232.          use  GAMES.CFG  instead of MENU.CFG, and assuming you want to
  233.          use a .PCX image called GAMEMENU.PCX, you'd type:
  234.  
  235.          M GAMEMENU.PCX GAMES.CFG
  236.  
  237.          or
  238.  
  239.          MBUILD GAMEMENU.PCX GAMES.CFG
  240.  
  241.                              Editing The .CFG File
  242.  
  243.              If you  examine  a  .CFG  file  with  any  standard  word
  244.          processing  or  text  editing  program,  you'll  see  that it
  245.          contains ordinary text.  As long as your text editing program
  246.          uses standard ASCII text format, you can manually edit a .CFG
  247.          file.
  248.              Each  line  in  the  file contains five numbers, then the
  249.          action string (filename). You must be careful that the  first
  250.          number  starts  at   the   very  left  edge,  and  that  each
  251.          subsequent  number is separated by a space, and that there is
  252.          a space between the fifth number and the action string.
  253.             The  first  number  represents  the  left  edge   of   the
  254.          sensitized  area  in  pixels.   If  your rectangle starts ten
  255.          pixels from the left edge  of  the  screen,  then  the  first
  256.          number will be 10. The second number represents the top edge.
  257.          The  third  number  is  the  right-hand  edge, and the fourth
  258.          number is the bottom.
  259.             The fifth number can only be a 0 or a 1.  If it is 0, then
  260.          M.EXE will not ask for a parameter or  a  filename  when  the
  261.          program  is launched.  If it is 1, it will ask for a filename
  262.          or parameter which will be passed to the  program  as  it  is
  263.          begun, the same as if the filename or parameter were typed at
  264.          the DOS prompt.
  265.             The action string must be no more than 36 bytes long.
  266.  
  267.                                USING BATCH FILES
  268.  
  269.             There are times when it is appropriate to launch  a  batch
  270.          file,  rather  than  a  program.  For instance, if you always
  271.          start WordStar (WS.EXE) with the same text  file,  you  might
  272.          want  to  avoid having to type the text file name every time.
  273.          Or, if you have several nested sub-directories, resulting  in
  274.          an  action  string  which would be longer than 36 characters,
  275.          then you'll need a batch file.
  276.             Batch  files  are  usually very simple, often containing a
  277.          single line of text.  In the  example  of  starting  WordStar
  278.          with  the  same  text file  every time, your batch file might
  279.          contain this line:
  280.  
  281.          WS MAINFILE.DOC
  282.  
  283.          where mainfile is the text file you use all the time. You can
  284.          create a batch file with any text editing or word  processing
  285.          program  which  works in standard ASCII text mode.  Most word
  286.          processing programs do this, although with some, you may have
  287.          to experiment a bit to find the proper option.
  288.  
  289.             You can name the batch file anything you like, as long  as
  290.          it ends in .BAT.  Then to run WordStar with MAINFILE.DOC from
  291.          M.EXE,  you  would  type the name of your newly created batch
  292.          file in the  MBUILD.EXE  action  string  when  you  make  the
  293.          WordStar link.
  294.  
  295.                                     Tricks
  296.  
  297.             You might like to make sure that users cannot accidentally
  298.          end  up  at  the DOS prompt by exiting Picture Menu.  A great
  299.          way to do this is to create a batch file to start M.EXE, then
  300.          have the batch file call itself.  Assuming your batch file is
  301.          called GO.BAT, it would contain these two lines:
  302.  
  303.          M PICTURE.PCX BLAHBLAH.CFG
  304.          GO
  305.  
  306.          Going a step further, put GO.BAT into your AUTOEXEC.BAT file,
  307.          then you could then start the computer in  the  morning,  and
  308.          turn  it off at night, and the users could never mess up your
  309.          presentation by exiting M.EXE, or even by tripping  over  the
  310.          power cord.
  311.  
  312.                               Order of Precedence
  313.  
  314.              Whenever a user presses [Enter] or clicks the left  mouse
  315.          button,  M.EXE  looks through the .CFG file line by line.  As
  316.          soon as it finds a link, it quits looking.  This  means  that
  317.          the  first  link listing a sensitized area in which the arrow
  318.          was  located  will  be  the  one  that  runs  if  there   are
  319.          overlapping links.
  320.  
  321.                                  Overall Link
  322.  
  323.              You  can  take  advantage  of  the Order Of Precedence to
  324.          make a full-screen link.  This might be useful if you want  a
  325.          specific  action  to  occur  even  if  the  user  clicks on a
  326.          non-sensitized area.  For instance, if you want to display  a
  327.          picture which says in big letters, "Pay Attention" every time
  328.          a user clicks an area between icons, you'd create a link with
  329.          a  full-screen rectangle, which links in your "Pay Attention"
  330.          file.   This  link  would  be  the  last  one  on  the  menu.
  331.          Therefore,  M.EXE  will check every link after the left mouse
  332.          button is clicked, and if nothing is found  sensitized  where
  333.          the  arrow  is located, then the last link, which is the full
  334.          screen, "Pay Attention" message will be run.
  335.  
  336.                                      STOP
  337.  
  338.              You may want to offer users a specific way to stop  M.EXE
  339.          besides  pressing [Esc]. You can put STOP, in capital letters
  340.          in  an  action  string,  then  if  the  user  clicks  in  the
  341.          sensitized area, M.EXE will stop and return to DOS.
  342.  
  343.                                       DOS
  344.  
  345.              To  make  link  a DOS window into your menu, type DOS, in
  346.          capital letters as the action string.
  347.  
  348.                                       NOW
  349.  
  350.              If your  action  string  is  "NOW",  in  capital  letters
  351.          (without  the  quotation  marks),  then  when  that  link  is
  352.          selected, the user will  be  asked  to  type  a  filename  or
  353.          parameters.   You  can view any standard ASCII text file, any
  354.          .PCX file or run executable programs directly. This is like a
  355.          DOS window which runs once, and does  not  require  that  you
  356.          type  EXIT  to  return  to  Picture  Menu.  NOTE: in order to
  357.          display  a  .PCX  or  .GIF  file,  or  run .BAT, .COM or .EXE
  358.          files, you must provide the extension.  For instance, to  run
  359.          PACMAN, you must type PACMAN.EXE rather than just PACMAN.
  360.  
  361.                                    Fade Outs
  362.  
  363.              M.EXE has a fadeout feature which  will  cause  the  .PCX
  364.          image  to  fade  to black when a program is run.  To activate
  365.          the fade feature, you must pass a third parameter,  "/f",  at
  366.          the  DOS  prompt  or  from  within  a batch file when calling
  367.          M.EXE.  Even if you are  using  the  default  .PCX  and  .CFG
  368.          filenames,  you must list them so that the fadeout control is
  369.          in  the  third  parameter  position.   Make  sure  to  use  a
  370.          lowercase f. Here's an example:
  371.  
  372.          M MENU.PCX MENU.CFG /f
  373.  
  374.                              Command.Com Services
  375.  
  376.              Most  services of COMMAND.COM can be executed from within
  377.          Picture Menu.  To see how it's done, look at  GETIME.BAT  and
  378.          GETDATE.BAT, provided with Picture Menu.
  379.  
  380.                                  Example Files
  381.  
  382.              I have created a default MENU.PCX and  MENU.CFG  for  use
  383.          with Picture Menu which looks the cockpit of a spaceship.
  384.  
  385.              The included MENU.CFG and several executable programs are
  386.          included to demonstrate Picture Menu,  and  show  you  how  a
  387.          typical  menu  is built.  (Go ahead and look at the directory
  388.          of files and then MENU.CFG with a text editing  program,  and
  389.          see exactly how this systems works and how simple it is.)
  390.  
  391.                                   Disclaimer
  392.  
  393.              You  must  use Picture Menu (M.EXE & MBUILD.EXE) entirely
  394.          at your own risk.  Any and all results of your  use  of  this
  395.          software is your responsibility.
  396.  
  397.                                   Limitations
  398.  
  399.              You  can  have up to 100 links per .CFG file.  If this is
  400.          not enough, you can make a batch file calling  M.EXE  with  a
  401.          different .CFG file and call that from within Picture Menu.
  402.  
  403.              Because  Picture  Menu requires a small amount of RAM for
  404.          it's own use, extremely RAM-hungry programs may not  run.   I
  405.          have  not  yet seen such a program, however.  If you run into
  406.          such a monster, you might try to release some TSR's and  quit
  407.          any other shell programs you may be using.
  408.  
  409.              An  action string cannot be more than 36 characters long,
  410.          but if you have a complex series of  nested  sub-directories,
  411.          you can run a batch file to handle directory management.
  412.  
  413.              It   is   possible  to  call  M.EXE  from  within  M.EXE.
  414.          Furthermore,  M.EXE  works  within  shells  and  other   menu
  415.          programs,  and  they  work  within  M.EXE.   This is good, of
  416.          course, but can also lead to some surprises.  Every shell  or
  417.          menu  program  will  hold  some RAM for itself.  Once you get
  418.          several layers deep, you can  run  out  of  RAM.   The  exact
  419.          number  of  layers  depends  on  how  much  RAM  each program
  420.          requires, and finally, how much RAM  must  be  available  for
  421.          your   application   program.    In   actual  practice,  this
  422.          occurrence is seldom-seen.
  423.  
  424.                                     Windows
  425.  
  426.              Picture  Menu  runs  just fine under Windows. Windows can
  427.          even be launched from M.EXE. To install M.EXE  or  MBUILD.EXE
  428.          under  windows, highlight the program group in which you want
  429.          these programs to live (or create a new group),  then  select
  430.          NEW  from  the  file  menu.   Type  M  or MBUILD for "program
  431.          description"  and M.EXE or MBUILD.EXE for "command line."  We
  432.          have also provided you with an icon called MENU.ICO which you
  433.          can use with Windows.  To install select  CHANGE  ICON,  then
  434.          type the drive and path, then MENU.ICO.
  435.              For  best  results,  the  "directory"  should be the root
  436.          directory of your main hard disk.
  437.  
  438.                                    Shareware
  439.  
  440.              Picture  Menu  is  provided as shareware.  You may use it
  441.          for a while, not to exceed 30 days, but if  you  continue  to
  442.          use  Picture  Menu,  you  must  register by sending $29.95 to
  443.          Another Company.  Postage is included.  We'll  send  you  the
  444.          latest,  registered  version,  which  does  not  contain  the
  445.          advertising screens.
  446.  
  447.          NOTE:  The  shareware version has advertising which has a one
  448.          in 18 chance of popping up every time you make  a  selection.
  449.          This does not exist in the registered version.
  450.  
  451.                          Site & Multiple Unit License
  452.  
  453.              If you are a developer, reseller,  author  of  disk-based
  454.          products,  or  otherwise  want  to  distribute  copies of the
  455.          runtime  engine,  M.EXE,  with  your  products,  without  the
  456.          Another   Company  advertising,  then  you  must  purchase  a
  457.          site/multiple product license.  The  cost  is  30  cents  per
  458.          unit, with a 100-unit minimum ($30). For products distributed
  459.          as  shareware: $29.95 covers an unlimited number of copies of
  460.          a single product.
  461.  
  462.                                    No Charge
  463.  
  464.              The complete shareware version with all files intact  and
  465.          unchanged may be distributed by anyone and everyone.  Written
  466.          permission  is NOT required.  However, if you are a shareware
  467.          distributor or sysop of a  large  BBS,  you  are  invited  to
  468.          contact  Another  Company, and we'll help keep you up to date
  469.          with the latest versions of our products.
  470.  
  471.                                   Jeff Napier
  472.                             d.b.a. Another Company
  473.                                  P.O. Box 3429
  474.                              Ashland, OR 97520 USA
  475.  
  476.                            voice phone 503-482-3611
  477.  
  478.                              CompuServe: 71022,175
  479.                           America On Line: ANOTHER CO
  480.  
  481.          _____________________________________________________________
  482.                                                           end of file.
  483.  
  484.  
  485.