home *** CD-ROM | disk | FTP | other *** search
/ Merciful 3 / Merciful_Release_3.bin / software / d / data_division_docs / datadivisiondocs02.dms / datadivisiondocs02.adf / 11 < prev    next >
Text File  |  1996-10-14  |  5KB  |  120 lines

  1.  
  2.                                Chapter Ten
  3.  
  4. The Hotkey Editor " Link "The HotKey Editor"}
  5. The HotKey Editor Menu " link "The HotKey Editor Menus"}
  6.  
  7.                             The HotKey Editor
  8.  
  9.  The Hotkey Editor allows you to attach functions to any keystroke 
  10. combination.  Hotkeys are effectively the same as standard Opus buttons 
  11. which are called directly by the press of a key rather than with a mouse 
  12. click.  Although you could always attach hot keys to the traditional Opus 
  13. buttons and menus, Opus 5.5 now allows you to define a specific set of 
  14. independent hot keys.  As with Opus buttons, menus and scripts, a Hotkey 
  15. may define a set of instructions which includes any mix of AmigaDOS, 
  16. Workbench, ARexx, Script or internal Opus 5 commands.
  17.  
  18.  Hotkeys can be Local, only accessible from within Opus 5, or Global, 
  19. accessible from anywhere in the system as long as Opus 5 is running.
  20.  
  21.  *** See Fig 10-01 ***
  22.  
  23.                              Directory opus 5                        129
  24.  
  25.  Items:  Shows the list of currently defined Hotkeys.  On the left is the
  26.          name of the Hotkey function.  On the right is actual hot key
  27.          combination that triggers this function.
  28.  
  29.  Item Name:  This allows you to enter or modify the name of the Hotkey you
  30.              have selected from the list above.
  31.  
  32.  Add:  Adds a blank Hotkey definition at the end of the list.
  33.  
  34.  Insert:  Adds a blank Hotkey definition before the one currently
  35.           highlighted in the displayed list.
  36.  
  37.  Duplicate:  Adds a copy of the currently selected Hotkey definition at
  38.              the end of the list.
  39.  
  40.  Delete:  Remove the selected Hotkey definition.
  41.  
  42.  Edit:  Calls the Function Editor which allows you to make changes to the
  43.         selected Hotkey.  You can also edit a Hotkey definition by double-
  44.         clicking on its entry.
  45.  
  46.  System-global Hotkey: Installs the selected hotkey into the Amiga
  47.                        Commodities system which makes it available #
  48.                        throughout the system.  By default, this is not
  49.                        selected and the hot key will be active only when
  50.                        Opus is the active program.
  51.  
  52.  Save:  Saves the currently displayed set of Hotkeys to disk and updates
  53.         the Hotkeys used by the system.  Note that this saves the Hotkeys
  54.         using the 'current' filename, i.e.  the same name under which they
  55.         were last loaded.  Any previous file of this name will be
  56.         overwritten.
  57.  
  58.  Use:  Updates the Hotkeys used by the system but does not save them to
  59.        disk.
  60.  
  61.  Cancel:  Cancels all changes you have made to the Hotkeys.
  62.  
  63.                          The Hotkey Editor Menus
  64.  
  65.  As with the other editors in Opus 5, there are extra options provided by 
  66. menus.  These are:-
  67.  
  68.     130                      Directory Opus 5
  69.  
  70.  The Project Menu
  71.  
  72.  New:  Creates a new blank Hotkey list.
  73.  
  74.  Open:  Displays a file requester allowing you to load a new set of
  75.         Hotkeys.
  76.  
  77.  When first run, Opus uses a default filename for the Hotkeys.  Once you 
  78. load a new set of Hotkeys using a different name, this new name will be 
  79. kept and used internally as the reference to that set of Hotkeys.  If you 
  80. subsequently save the particular set of Hotkeys, it will be saved under 
  81. this name unless you use the SaveAS option.  If you save the Environment, 
  82. this 'new' filename will be stored with the environment.
  83.  
  84.  Save:  Saves the displayed set of Hotkeys to disk under the current name.
  85.  
  86.  SaveAs:  Saves the current set of Hotkeys but allows you to select a new
  87.           filename.
  88.  
  89.  Quit:  Same as Cancel above.
  90.  
  91.  The Edit Menu
  92.  
  93.  Reset to Default:  Resets the Hotkeys to the default set as defined when
  94.                     you installed Directory Opus 5.  Because there are
  95.                     many settings, these defaults are not actually built-
  96.                     in to Opus 5, instead Opus will look for and load
  97.                     special default files.
  98.  
  99.  Last Saved:  Reloads the last saved set of Hotkeys and resets the
  100.               display.
  101.  
  102.  Restore:  Restores the Hotkeys to the state when you first opened the
  103.            Hotkey Editor.
  104.  
  105.                              Directory Opus 5                        131
  106.  
  107.  Sample HotKeys
  108.  
  109.  
  110.  A simple example of a Hotkey would be to display a specific directory or 
  111. disk.  For example, add a Hotkey as follows:-
  112.  
  113.                Name:     Read "RAM"
  114.                Key:           lalt r
  115.                Command:  SCANDIR "RAM:"
  116.  
  117.  Pressing the LALT plus the 'r' key will display the contents of your Ram 
  118. Disk.
  119.  
  120.