home *** CD-ROM | disk | FTP | other *** search
/ Merciful 3 / Merciful_Release_3.bin / software / d / data_division_docs / datadivisiondocs02.dms / datadivisiondocs02.adf / 20 < prev    next >
Text File  |  1990-01-06  |  5KB  |  116 lines

  1.  
  2.  
  3.                     Directory Opus 5 - Secrets
  4.  
  5.               Opus Secrets and undocumented Features
  6.  
  7.     Here's the list of some pof the undocumented Opus features
  8.  
  9. *  Arrange  a  group of icons roughly horizontally, select them all
  10.    and  then  choose  cleanup while pressing control - the selected
  11.    icons  will  be lined up horizontally while leaving non-selected
  12.    icons untouched.  Does not work properly vertically.  Only works
  13.    on the main window.
  14.  
  15. *  Any  functions  defined with a # character will be executed only
  16.    once.Eg,
  17.  
  18.          AmigaDOS      #stack 16384
  19.          AmigaDOS      lha {v} {f}
  20.  
  21.    With the Do All Files flag turned on, the stack command would be
  22.    executed  only  the  first  time, while the lha command would be
  23.    executed repeatedly for each file.
  24.  
  25. *  Select  a  disk icon, then shift-right-click on it - the disk is
  26.    added  to the list of Hidden Drives in the environment (you will
  27.    need to save the Environment to make this change permanent).
  28.  
  29. *  The  LoadButtons  command can be used to create a Windows95-like
  30.    Start  Menu.   First of all, create a menu using the lister menu
  31.    editor  (so that you can have sub-items).  Save it to a new file
  32.    (eg "mystartmenu")
  33.  
  34.    Now, using the CLI, run the LoadButtons command :
  35.  
  36.    LoadButtons mystartmenu start label=Start!
  37.  
  38.    A single button saying Start!  will appear in the bottom-left of
  39.    the  screen; if you click on it, your menu will appear.  You can
  40.    drag  this  button anywhere you want on the screen, and Snapshot
  41.    it through the border popup menu.
  42.  
  43.    If  you  want a start menu to appear when you run Opus, you will
  44.    need  to  add  the  above  LoadButtons  command  to your Startup
  45.    script.
  46.  
  47.    If  you  specify  the  'image'  parameter  for  the  LoadButtons
  48.    command,  the  specified  image  file  will  be displayed in the
  49.    button.You  can  have  both  a  label and an image (the label is
  50.    displayed  to the right of the image), or either one on its own.
  51.    Eg,
  52.  
  53.    LoadButtons mystartmenu start label=Start! image=check.image
  54.  
  55.    You  can  even  get  rid  of the border on the start menu button
  56.    (just  leaving  a  button  behind).  To do this, load your start
  57.    menu  into  the button editor, turn off the 'full window border'
  58.    option and resave it.  With the border gone you will not be able
  59.    to  move  or  close the start menu, so you should only make this
  60.    change when you are happy with its position.
  61.  
  62. *  The  ScanDir  command has a CONTAINER option that can be used to
  63.    open  the  'container'  (really  the  parent) of an object.  For
  64.    example,
  65.  
  66.    ScanDir s:startup-sequence new container
  67.  
  68.    Would  open  a  new  lister  with  sys:s/  in  it,   and   would
  69.    automatically select the startup-sequence file.
  70.  
  71. *  The  Copy  command  has  an  UPDATE flag which causes only those
  72.    files that do not exist in the destination to be copied.
  73.  
  74. *  If  you add menus to a filetype at priority -124, they will only
  75.    be  shown if no other filetype matched.  This allows you to have
  76.    a  "default  filetype"  with menus that will only be shown if no
  77.    other filetype menus are displayed.
  78.  
  79. *  You can configure the choices displayed in the "Copy" submenu in
  80.    the  file  popup  menu.    To do this, create a directory called
  81.    "CopyTo"in dopus5:System.  In this directory you must create one
  82.    file  for each item you want to appear in the menu.  The name of
  83.    the  file  is  the  name  that  is  displayed  in  the menu (use
  84.    semicolons  instead  of  colons,  and  back-slashes  instead  of
  85.    forward-slashes - they will be converted automatically).  If you
  86.    want  to  specify  a  path for the item, set this in the comment
  87.    field.Eg,
  88.  
  89.    > list dopus5:system/copyto
  90.  
  91.    RAM; empty ----rw-d 24-Jun-96 01:34:23
  92.    DF0; empty ----rw-d 24-Jun-96 01:34:27
  93.    PC0; empty ----rw-d 24-Jun-96 01:34:32
  94.    Uploads empty ----rw-d 24-Jun-96 01:42:47
  95.    : Data:Downloads/Uploads
  96.  
  97. *  If  you  set  the  dopus/DOSPatch  variable, an experimental dos
  98.    patching  system  is  enabled.    This   system   is still under
  99.    development,  and  has  a number of known problems, so use it at
  100.    your own risk.
  101.  
  102.    When  enabled, DOpus will patch several dos.library functions to
  103.    do with the creation and modification of files (Open(), Write(),
  104.    Close(),  SetProtection(),  etc...).  This enables it to monitor
  105.    any  changes  to files that are in open listers, and display the
  106.    changes dynamically.
  107.  
  108.    So  as  not  to  bog  down  the  system, Opus only updates these
  109.    changes every 5 seconds or so.
  110.  
  111. *  If  you  set  the  dopus/FiletypeCache variable, an experimental
  112.    filetype  caching  system  is  enabled.    This   is still under
  113.    development, but seems to work correctly.  The major question is
  114.    whether it enhances performance greatly.
  115.  
  116.