home *** CD-ROM | disk | FTP | other *** search
/ Club Amiga de Montreal - CAM / CAM_CD_1.iso / files / 148.lha / Util.docs < prev    next >
Encoding:
Text File  |  1988-04-26  |  22.5 KB  |  417 lines

  1.      
  2.      
  3.                                   UtiliMaster
  4.      
  5.                              Programmable buttons!
  6.                      ARC Won't hang up on duplicate files!
  7.                       Two windows (Source & Destination)!
  8.                            Modify "Standard" buttons!
  9.                       Icon doubles as configuration file!
  10.                            Run from Workbench or CLI!
  11.      
  12.      The  left  display   window   is   ALLWAYS   the   source,  the  right
  13.      destination.  The   box   above   each   display   shows  the  current
  14.      directory being displayed. The box below  is the  Disk or Device name,
  15.      and the box below the destination window is the Entry (or "E") box.
  16.      
  17.      Swapping  a  disk  while  it's  directory   is  being  displayed  will
  18.      automatically  get  the  parent  directory  of  the  new  disk  in the
  19.      appropriate window.
  20.      
  21.      To move into a  sub-directory,  "Double-Click"  it's  name.  (The time
  22.      between two clicks to be  considered  double-clicking is determined by
  23.      Preferences.)  To  move  to  the  parent  of  the  current  directory,
  24.      Double-Click  the  directory   name   box  (Above  the  list  window).
  25.      Double-Clicking the root  directory  will  cause Utilimaster to get it
  26.      from  the  device  again.   (This   is  useful  if  something  outside
  27.      Utilimaster has  changed  you  directory  listing.)  If  the  symbol ¤
  28.      appears just to the left of the  file  size, that file is protected to
  29.      some state other than "rwed". If the  symbol © appears, the file has a
  30.      comment attached to it. If  the  symbol  ª  appears, the file has it's
  31.      archive bit set.
  32.      
  33.      
  34.      Standard buttons:
  35.      
  36.      "Swap" Will swap the source and  destination  directories.  Files  may
  37.      not be selected in the destination window  other than  Double-Clicking
  38.      sub-directories. If source  and   destination  are  swapped,  selected
  39.      files are not  highlighted in  the  destination  window,  but will  be
  40.      remembered and highlighted in the  source  window   if directories are
  41.      swapped back.
  42.      
  43.      "All" Selects all files in source directory.
  44.      "AllDirs" Selects all sub-directories in source directory.
  45.      "Exchange" De-selects all selected and selects all unselected.
  46.      "ExcDirs" Same for directories.
  47.      "Clear" De-selects all selected files.
  48.      "ClrDirs" Same for directories.
  49.      "Copy" Copies all selected files and sub-directories (including  files
  50.      in sub-directories) to destination  directory.   Copy also copies file
  51.      comments, and if "LOCK"  is  active,   (The  title bar displays a * ),
  52.      protection  on the copy  is  set  to  the  same  as  the original. (If
  53.      protection on the original is "r-e-" then the copy is  set to "r-e-".)
  54.      If  UPDATE  is  active,(There's  a  *  in  the   title  bar),   in the
  55.      tooltypes, UtiliMaster  will   look  for  the  file in the destination
  56.      directory. If it  exists, but is  older,  or doesn't exist, it will be
  57.      copied, and dated the same as the  original.   If it exists and is the
  58.      same date or newer  you  will  be  notified  that  "File  xxx is up to
  59.      date".  If UPDATE is off, all files are copied, and have   the current
  60.      system date as their creation date.
  61.        If you enter a FileName in the "E" box, and copy  a file, it will be
  62.      renamed in the destination directory.   In this case, copy stops after
  63.      the first FileName if  more than one is selected.
  64.      
  65.      "Rename" Will rename the FIRST selected file or directory to  the name
  66.      in the "E"(Entry) box. If no name appears  in the "E" box, a requester
  67.      appears requesting the   new file name.
  68.      
  69.      "Move" If  destination  directory  is  on  the  same device as source,
  70.      selected files will be moved into destination  directory.If not on the
  71.      same device, an error message is displayed.
  72.      
  73.      "Delete" Will present a requester  asking  if  you are sure. Given  an
  74.      affirmative, it will delete selected files. Selected  directories will
  75.      be automatically deleted if empty.   For directories containing files,
  76.      a requester appears  to remind you if they are not empty. Given an OK,
  77.      these directories, and all files and sub-directories  will be deleted.
  78.      Empty directories are deleted with   out any requester. (The theory is
  79.      that an empty  directory is easy to re-create.)
  80.      
  81.      "Lock"  Changes  the  protection   on  selected  files/directories  to
  82.      "r-e-". They are protected  from  being  written  to or  deleted. Lock
  83.      will protect all files in selected    directories. Lock fails if there
  84.      is a system  file-lock  on  a  file  or  directory.  If  a  particular
  85.      directory  repeatedly fails to lock,  it may have something "assigned"
  86.      to it, or may be part of the "path" list.
  87.      
  88.      "UnLock" Changes protection to "rwed".
  89.      
  90.      Lock and UnLock no longer delete the archive bit as of v.68.
  91.      
  92.      "Read" Displays the selected  file(s)  to the screen. ASCII files  are
  93.      displayed in text mode, binary  etc.  are displayed  as if "c:type opt
  94.      h" were used, except that the decimal   file position is listed on the
  95.      right side of the screen.  The Up  &  Down arrows, or scrollbar may be
  96.      used to move  forward or backward  thru  the  file. As of v.68 holding
  97.      the left mouse button down and  moving  the  pointer ABOVE center will
  98.      scroll toward the top  of  file,  below  center  moves  toward  end of
  99.      file.The window-close  gadget  exits  read. For keyboard instructions,
  100.      select  a file, click "Read", and  once  the  file is displayed,  push
  101.      the "HELP" key. The choice of  modes  is based on  whether any 0 bytes
  102.      are found. (ASCII text files  SHOULD NOT contain any 0 bytes!)
  103.      
  104.      "FileNote" Attaches whatever is in the  "E" box (Even a null  string!)
  105.      as a comment to each selected  file  REPLACING   any existing comment.
  106.      Using FileNote with the  "E"  box    empty  will  delete  any existing
  107.      comment.
  108.      
  109.      "GetNote" Displays the comment on selected  file(s) in the  Status box
  110.      and the Filename in the "E" box.  There  is  a brief delay built in so
  111.      you have a chance to read   them  if  more  than one file is selected.
  112.      Note that  commented files display  a  c in a circle just to the  left
  113.      of their size in the display window.
  114.      
  115.      "Print" By default, if Utilimaster can find a file named  "c:print" it
  116.      will be RUN and passed the filename, if  not, an internal routine will
  117.      print the file to PRT:.   The  default  external  print routine can be
  118.      changed.  See "Setting Defaults", below.
  119.      
  120.      "Show" By default uses "c:show" to display the selected file(s).  Show
  121.      can also be re-defined.
  122.      
  123.      "Search" By default opens a  window  and  calls "c:search" passing  it
  124.      the content of the "E"  box  as  the  string  to  seek,   and selected
  125.      file(s) to search.
  126.      
  127.      "Arc" "DeArc" & "ListArc" by default all use "c:arc".
  128.      "Arc" opens a window and Executes:
  129.           "c:Arc a Filename <FileName> <FileName>"
  130.      for selected file(s).
  131.      "DeArc" Opens an interactive window and Executes:
  132.           "c:Arc x FileName"
  133.      If duplicate files are found,     this version of UtiliMaster DOES NOT
  134.      lock up in     the endless loop most others do!
  135.      "ListArc" Opens a window and Executes:
  136.           "c:arc v FileName"
  137.      The window remains open for  reading until you close it.
  138.      
  139.      "Run" Is equivalent to typing "run > nil: FileName" from CLI.
  140.        No window is opened for your file by UtiliMaster.
  141.      "Edit" Defaults to "run e FileName"
  142.      "Execute" Defaults to "Execute FileName"
  143.      "GetDir" Gets the directory in the  "E"  box, which MUST begin  with a
  144.      device name. If the "E" box is empty, the current  source directory is
  145.      up-dated. Useful if you have added    or deleted a file by way of some
  146.      other program.  To get a  sub-directory  in  a window, Double-Click on
  147.      that   directory's  name.   To   get   the  parent  of  any  displayed
  148.      sub-directory, Double-Click on the  Directory   name box at the top of
  149.      the listing window.
  150.      "MakeDir" Will make a directory  with  the name in the "E" window.  If
  151.      nothing appears in the "E"  window,  a  requester appears.  If MakeDir
  152.      was clicked with the LEFT button,  the   directory  will be created in
  153.      the source directory.  If the RIGHT button was used, the new directory
  154.      goes  in the destination. "Info"  Displays  the number of USABLE bytes
  155.      free on each device   in  the  window  where  the  device name usually
  156.      appears.  (Or free memory in the  case  of the Ram Disk) If any  files
  157.      (NOT directories!) are  selected,  their  total  bytes   and number of
  158.      x-modem blocks is displayed in the status  window.
  159.      "NewCLI" Will start up a new CLI if  Utilimaster can find  "c:NewCLI".
  160.      If a filename is selected the result is  "NewCLI from filename".
  161.      
  162.      All of the "Device" (DF0: DF1: RAM: etc.) buttons may be  clicked with
  163.      the LEFT mouse button to get the  device   as the SOURCE directory, or
  164.      with the RIGHT mouse button  to  get  it as the DESTINATION directory.
  165.      All of  these  may   be  re-programmed  to  get  other  devices in the
  166.      following  manner:
  167.      
  168.      To change the first button (top,left  to "VDK:", select (SINGLE-Click)
  169.      the  Utilimaster icon on the workbench screen. Select "Info"  from the
  170.      workbench menu. Click the "ADD"  box  next to  the "ToolTypes" window.
  171.      Click in the "ToolTypes" box  and  type  "DEV!=VDK:"  Please note that
  172.      "DEV1" MUST be  upper case,  but  "vdk:"  may  be lower case if you so
  173.      desire. If you want other text in the  button for the  device, leave a
  174.      space and enter up to 8 characters.
  175.      
  176.      EXAMPLE: To change Device 8  to  call  your  "s:"  directory  with the
  177.      button labeled "Scripts" add a tooltype line  which says 
  178.               "DEV8=s: Scripts"
  179.      
  180.      EXAMPLE: To change Device5 to call up the directory  "SYS:MyFiles" and
  181.      the button to display "All Mine",  add a tooltypes line of
  182.               "DH1:=sys:myfiles "All Mine"".
  183.      Note that "All Mine"  should  be  entered  in  the  tooltypes   box in
  184.      quotes!
  185.      
  186.      UtiliMaster defaults  to  "SYS:"  as  the  source,  and  "RAM:" as the
  187.      destination directories on  startup.  You can change this  by adding a
  188.      tooltype line that says
  189.                "DEFAULT=Directory Directory".
  190.      The first directory  listed will become the default source, the second
  191.      will become the destination. If  only  one directory  name is entered,
  192.      only SYS: will  be  changed.  If  you  want  UtiliMaster  to  list the
  193.      directory from which it was  run  as  the  starting directory, enter a
  194.      single * as the directory name.
  195.      
  196.      UtiliMaster allows you to dictate a command directory other than  "c:"
  197.      To do so add a tooltype line
  198.                "COMMAND=DirectoryName"
  199.      If the directory does not  exist,  Utilimaster  will attempt to create
  200.      it.  UtiliMaster  will  then   attempt   to  copy  "c:run","c:newcli",
  201.      "c:endcli","c:execute",and  "c:assign"  into  this  directory. It will
  202.      then attempt to "assign c:   DirectoryName".  (This is due to the fact
  203.      that the  DOS Execute() command invokes "c:run" in order to  function.
  204.      The manx "exec()" commands  don't  need   "c:run",  but won't function
  205.      within a program started  from  WorkBench!.  They've  got us between a
  206.      rock and a   hard  place!)   On  exiting  UtiliMaster,  "c:"  will  be
  207.      assigned back to   wherever  UtiliMaster  found  it unless you specify
  208.      elsewhere  by a tooltype
  209.                  "REASSIGN=DirectoryName".
  210.      If Utilimaster created a new  command  directory,  it will be deleted.
  211.      If you assigned command to   an  existing  directory,  it will be left
  212.      intact on  exiting  UtiliMaster.  (Including  any  files   UtiliMaster
  213.      copied into it!)      Other  utilities  may  be copied into your newly
  214.      created command directory via a tooltype
  215.                  "COPYLIST=FileName FileName FileName (etc.)"
  216.      All  FileNames should include the Device:.
  217.      
  218.      UtiliMaster may be run in "lace" mode by entering
  219.                   "LACE=1"
  220.      as a tooltype entry.  This  is  designed  to  co-operate  with Access!
  221.      (V1.27 and higher) when Access! is also in lace mode. Utilimaster then
  222.      occupies  the  upper  half  of   your  display  while  Access!  is  in
  223.      the lower half.
  224.      
  225.      
  226.      The clock may be turned off by entering
  227.                    "NOCLOCK=1"
  228.      as a tooltype entry. (For those who don't like clocks!)
  229.      
  230.      There are five more buttons which are  disabled unless defined  by the
  231.      user as described below.
  232.      
  233.      USER BUTTONS: (Including changes to Show, Print, Arc,    Search, etc.)
  234.      
  235.      Each of the five user buttons is defined by a tooltype line.
  236.              "USER#=FileName ButtonText flags [Perameters] [PromptText]"
  237.      Where FileName is the FULL directory name of the program to invoke.
  238.      ButtonText is the text (up to 8 characters) for the button.
  239.      Flags are described below.
  240.      Perameters (up to 20 characters) to pass to function).
  241.      PromptText  (up  to  30  characters)  Is  the  Text  to  present  in a
  242.      Requester if your program requires user input. (Example: A fileName to
  243.      create). If no promptext is provided, no requester will appear.
  244.      
  245.      Flags:
  246.      If your program is simply to be  run  (Example  "run sys:Clock"), then
  247.      add 1 to flags. (You need not enter Perameters or Promptext unless you
  248.      want them. If you DO use  perameters,  then flags should be entered as
  249.      0. If promptext is  entered  you  MUST  enter  flags  (even  if 0) and
  250.      perameters (even if "")).
  251.      To  have  your  program   simply   execute  while  UtiliMaster  waits,
  252.      do not add 1. The result is as if typing:
  253.                  "CommandName FileName" 
  254.      from  CLI  for  EACH  Selected  File.  If  1  IS  added  the result is
  255.      like typing:
  256.                  "run >NIL: CommandName FileName"
  257.      from CLI for each selected FileName.
  258.      To open a window for your  program  to  output  text (It thinks   it's
  259.      running from CLI!) add 2. You get a  RAW window by default,   and will
  260.      have to close it. By default, you must close it after EACH filename is
  261.      processed. To have  it  remain  until  all  selected  files  have been
  262.      processed, add 8 to flags.
  263.      If you wish your program to be  executed  (or  run) even with no files
  264.      selected, add 16 to flags.
  265.      If files must be selected:
  266.      Add 64 to allow selected  DIRECTORIES  to be passed as      filenames.
  267.      (If 64 was added, but  selection  is  NOT  required,  in the event you
  268.      click the button with no  selection,UtiliMaster  will pass the current
  269.      source directory as a  filename.)Add  32 to flags to have ALL selected
  270.      filenames in one pass.
  271.      If you've  entered  parameters  they  are  normally  placed before the
  272.      filename(s). To have them  placed  AFTER  the  filename(s), add 128 to
  273.      flags.
  274.      If Promptext is entered, you will be  prompted for input each time you
  275.      command is invoked (unless you  pre-enter  it  in the Entry box). Text
  276.      entered at the prompt goes  into  the"Entry"  buffer  and  is normally
  277.      placed AFTER the filenames. To place is BEFORE them, add 256 to flags.
  278.      If you want UtiliMaster to update the directory after your command has
  279.      executed, add 512 to flags.
  280.      The number  entered  for  "Flags"  should  be  a  total  of  the above
  281.      depending on what you want to happen.
  282.      
  283.      EXAMPLES:
  284.      If Flags=0 Then  the  result  of  clicking  the  button  will  be like
  285.      typing
  286.                "CommandName filename"
  287.      from CLI for each selected file. No directory names will be passed. If
  288.      no files are selected, clicking this button will be ignored!
  289.      
  290.      DEFAULT BUTTON SETTINGS:
  291.      Each of the buttons listed may be  changed  by a tooltypes line. These
  292.      examples show what that line  would  look  like to obtain exactly what
  293.      the default setting for that button is.
  294.      
  295.                    PRINT=c:Print Print 0
  296.      "c:Print" is passed a FileName. No directories are allowed. Control is
  297.      not returned to UtiliMaster while "c:Print" runs. If Utilimaster can't
  298.      find  "c:print"  (or  whatever  it's  been  redefined  to) an internal
  299.      routine is used. Printer output will  be the same as screen format for
  300.      "Read". The print button is a  special  case. You may re-program it to
  301.      call any command you like, however,  if at startup UtiliMaster doesn't
  302.      find your command, when clicked the print button will attempt to print
  303.      the selected file to the printer via an internal routine.
  304.      
  305.                SHOW=c:Show Show 0
  306.      "c:Show" is  started  and  passed  a  FileName.  Directories  are  not
  307.      allowed. Control IS NOT passed  back  to Utilimaster until   "Show" is
  308.      done. This is to prevent  Show  from  being  run    simultaneously for
  309.      several files.
  310.                SEARCH=c:Search 198 all "What text?"
  311.      A CON: window is  opened,  and  the  equivalent  of  typing  "c:Search
  312.      FileName <"E" box content> All" takes place.If the "E" box is empty, a
  313.      requester appears with the prompt
  314.                "What text?".
  315.      The text then entered is substituted.
  316.                ARC=c:Arc Arc 806 A
  317.      Equivalent CLI line: "c:Arc A FileName [FileName] [FileName]"
  318.      Arc  is  a  special  case.  Filenames   are  checked  for  length.  If
  319.      length  exceeds  12,  you  will   be  prompted  for  a  shorter  name.
  320.      WARNING:  In  this  case,  your  file  is  "Renamed"  to  the  shorter
  321.      name, Arc is run, and  your  filename  is  then "Renamed" back to it's
  322.      original name. If UtiliMaster  should  in some way fail, your file may
  323.      not get renamed back to the original.
  324.                DEARC=c:Arc De-Arc 518 V
  325.      Equivalent CLI line: "c:Arc X FileName"
  326.                LISTARC=c:Arc "List Arc" 2 V
  327.      Equivalent CLI line: "c:Arc V FileName"
  328.                RUN=c:Run Run 0 >NIL:
  329.      Equivalent CLI line: "c:Run >NIL: FileName"
  330.                EDIT=c:E Edit 81
  331.      Equivalent CLI line: (with file selected)"c:Run c:E FileName"
  332.      Equivalent   CLI   line:    (with    NO   file   selected)"c:Run   c:E
  333.      SourceDirectory"
  334.                EXECUTE=c:Execute Execute 6
  335.      Equivalent CLI line: "c:Execute FileName"
  336.                NEWCLI=c:NewCli "New CLI" 16
  337.      Equivalent CLI line: (with filename) "c:Newcli from filename"
  338.      Equivalent CLI line: (with no filename) "c:Newcli"
  339.      
  340.      Please note that if a new command  directory  is defined, then in each
  341.      of the above examples, the new directory name will be used in place of
  342.      "c:". Also note that any of these may  be told to look for the program
  343.      in some other directory.  For  example,  if  you keep "Newcli" in your
  344.      "System" directory, you would then use tooltype
  345.                 "NEWCLI=System:Newcli "New CLI""
  346.      (Note  the  quotes  around  "New  CLI"  for  the  button.  Utilimaster
  347.      understands quotes and any group  of  words/letters inside   quotes is
  348.      treated as one parameter regardless of spaces.
  349.      
  350.      
  351.                                  THE GOOD NEWS:
  352.      The program in the arc file called  UMUtil  will build an icon to your
  353.      specifications. You can load  the  image(s)for  a  simple or alternate
  354.      image icon from ANY icon (Even a disk's  icon, or a drawer icon!!) via
  355.      "Load icon image". Only the image is then taken from that icon. If you
  356.      specify a path in the "DefaultTool" window, it builds a "project" icon
  357.      which when click, looks for  UtiliMaster  under  the name entered, and
  358.      uses this icon's tooltypes  to  set  UtiliMaster's  buttons. You could
  359.      place UtiliMaster in C:  for  example,  and  build  several icons with
  360.      different   arrangements.   By   entering   "C:UtiliMaster"   as   the
  361.      "DefaultTool" in each of these  icons,  ONE copy of UtiliMaster can be
  362.      started with a variety of different  "setups". In this event, however,
  363.      it is suggested you place one icon  in  C: with YOUR favorite defaults
  364.      so that  "UtiliMaster"  from  CLI  sees  it.  Otherwise,  you  get  MY
  365.      defaults! I recommend  that  you  use  UMUtil  to  make your icons, as
  366.      Workbench's "info" tends to add  tooltype  lines together! UMUtil does
  367.      not!
  368.      Umutil's menu setting also effects  the  icon's setup for UtiliMaster.
  369.      For example, if you set Umutil's where  Clock is NOT checked, the icon
  370.      will be written so that UtiliMaster starts up WITHOUT the clock, etc.
  371.      
  372.      Version .68 WILL read icons for version  .67, so if your current setup
  373.      suits you, there's no need to make  a  new icon. (Unless you want some
  374.      particular device in a different place than it will now default to.)
  375.      
  376.      Occasionally an error will leave you with what amounts to a CLI window
  377.      opened. You escape this window with "Endcli"
  378.      
  379.      Each time UtiliMaster is started (whether  from workbench or CLI!) the
  380.      icon is parsed for all of the above.  Some of these may be over-ridden
  381.      when starting from cli as follows:
  382.        Utilimaster [noclock] [update | noupdate] [lock | nolock]
  383.            [lace | nolace] [directory] [directory]
  384.      These  may  be  in   any   order,   except   that   the  first  string
  385.      containing a  colon  (":")  will  be  taken  as  the  opening   source
  386.      directory, and the second as  opening  destination  directory. You may
  387.      dictate an icon from which  to  take  defaults  by typing "UtiliMaster
  388.      icon iconname". These may  be  mixed  into  the  above in any position
  389.      PROVIDED  that "iconname" is the NEXT entry after "icon"!
  390.      
  391.      When run from workbench,  Utilimaster  opens  a background window. You
  392.      may change it's size by tooltype
  393.                 "WINDOW=CON:<Left>/<Top>/<Width>/<Height>/"
  394.      If you use this, window MUST be "CON:" and ALL FOUR dimensions MUST be
  395.      given! (Unless you LIKE Guru Errors!)
  396.      There are  some  programs  (The  version  of  "Arc"  that  I have, for
  397.      example.) which send some  of  their  output  to  ERROR out instead of
  398.      STANDARD out. This output will go to  the background window if started
  399.      from WorkBench or the CLI from which UtiliMaster was started. Sorry, I
  400.      haven't figured out a way  around  this.  You  may  see this output by
  401.      using the "Window to Front/Back" gadgets.
  402.      
  403.      
  404.      
  405.              Please send comments and/or  suggestions  (and  contributions)
  406.      to:
  407.                John Scheib
  408.                3805 FairWay Circle
  409.                Las Vegas, Nevada 89108
  410.                OR
  411.                "The Other BBS"
  412.                (702) 438-3625
  413.                OR
  414.                People Link: JSCHEIB
  415.      
  416.      Enjoy UtiliMaster!
  417.