home *** CD-ROM | disk | FTP | other *** search
/ Black Box 4 / BlackBox.cdr / ibm1 / do101j2.arj / MACROS.SCR < prev    next >
Text File  |  1991-12-30  |  3KB  |  83 lines

  1. .pg wi full clr ye pa 1
  2. /BIG M 12
  3. .pa 1 go 1 1 re
  4. /BIG A 21
  5. .pa 1 go 1 1 cy
  6. /BIG C 29
  7. .pa 1 go 1 1 gr
  8. /BIG R 37
  9. .pa 1 go 1 1 wh
  10. /BIG O 45
  11. .pa 1 go 1 1 ma
  12. /BIG S 53
  13. .pa 1 go 1 1 ye
  14. /BIG MACROS 12
  15. .gray
  16. /DRAW H 8 2 76
  17. .wi 1 9 80 25 # .pa 2
  18.  
  19.     »%t«DO»#« supports key macros through the »%t«/MACRO»#« command and the
  20.     »ye«DOMACED.EXE»#« program.  These key macros allow you to redefine
  21.     the keyboard to suit your needs.
  22.  
  23.     This section will discuss the use of the »ye«DOMACED»#« program and
  24.     the »%t«/MACRO»#« command.  »ye«DOMACED»#« is available only with
  25.     the registered version of »%t«DO»#«.
  26.  
  27. .pg clr wi full gr go 28 7
  28. CREATING MACROS
  29. .wi 1 9 80 25 # pa 2
  30.     You must use »ye«DOMACED»#« to create a macro file before you can use
  31.     the »%t«/MACRO»#« command in a »%t«DO»#« script.
  32.  
  33.     Start »ye«DOMACED»#« with the command line:
  34.  
  35.         C:> »wh«DOMACED {macro file}»#«
  36.  
  37.     »cy«{macro file}»#« is any DOS file name.  We recommend that you use
  38.     the extension "»ye«.MAC»#«" to identify these files although this is
  39.     not strictly necessary.
  40.  
  41. .pg
  42.     »ye«DOMACED»#« asks you for the key you wish to redefine.  If a definition
  43.     already exists, it is displayed.  If it does not exist then a blank
  44.     screen is presented.  enter the key sequence you wish to represent.
  45.     The following keys have special meaning to »ye«DOMACED»#«:
  46.  
  47.     »bo«<enter>»#«        Press when you wish to save your key definition.
  48.     »bo«<esc>»#«          Press to abort the key definition.
  49.     »bo«<scroll lock>»#«  Press to enter a dedicated key like »bo«<enter>»#« or »bo«<esc>»#«.
  50.     »wh«arrow keys»#«     Use to move around the full screen editor.
  51.  
  52.     Once you have left the full-screen editor, »ye«DOMACED»#« asks you if you
  53.     wish to continue to define keys.  If you do, enter (»gr«Y»#«)es, otherwise
  54.     enter (»re«N»#«)o.
  55.  
  56. .pg
  57.  
  58.     When they are in effect, macro keys will be used in all parts of
  59.     the »%t«DO»#« script processor.  (»gr«NOTE»cy«: »ye«DO.MAC»cy« is loaded when you edit a
  60.     script from the command line using the »ye«/R»cy« or »ye«/E»cy« parameters and
  61.     provides some of the functionality for entering special codes.)
  62.  
  63. .pg wi full clr cy
  64.     COMMAND NAME»gray«: »%t« Macros »ye«
  65.  
  66.     /MACROS {OFF|ON {macro file}}
  67. /cw
  68.  
  69.     »wh«Activates/deactivates macros.»#«  The »cy«{macro file}»#« must have been
  70.     established with »ye«DOMACED»#« prior to use in a »%t«/MACROS»#« command.
  71.  
  72.     »gr«Note»wh«:»#« only »re«one»#« macro file can be in effect at a time. »%t«DO»#« will search
  73.           the »gr«DOS PATH»#« for the file if a full pathname is not entered.
  74.  
  75.     EXAMPLES:
  76. »wh«
  77.     /MACROS OFF»#«
  78.         Deactivates the currently loaded macros.
  79. »wh«
  80.     /MACROS ON SCRIPT.MAC»#«
  81.         Activates the macros contained in SCRIPT.MAC
  82. /ENDEXEC CLEAR
  83.