mw.hlp (Topic list)
mcqrtips
<Index>               <Back>               <Exit>
─────────────────────────────────────────────────
TIPS FOR WRITING AND EDITING MACROS
 
■ When writing macros, type keynames and
  keystrokes as text. For example, <Tab>.
 
■ Use brackets < > around keynames.
 
■ Use chevrons « » around macro instructions or
  commands.
 
■ To indicate pressing a key repeatedly, type the
  keyname and the number of times it is pressed.
  For example, <Down 2>, <Tab 2>.
 
■ A macro will run faster if you instruct Word
  not to update the screen or display the command
  as it runs the macro. Add this line:
  «SET echo="off"»
 
Macro limitations:
■ Maximum number of variables in a macro: 64.
 
■ Maximum number of nested levels in a macro: 16.
 
■ Maximum length of macro variable name: 64
  characters. Variable names cannot contain
  spaces, periods, hyphens, underscores, or any
  punctuation marks. They can contain letters
  and digits.
 
■ Maximum length of prompt allowed in MESSAGE and
  PAUSE: 80 characters.
 
■ Maximum length of prompt allowed in ASK and SET:
  136 characters.
 
More Help: <Macro Quick Reference>
 
Using Manual: Ch. 22, "Macros"