Top Navigational Bar

Macros - Troubleshooting Tips
DocumentID: 608838
Revision Date: 29-Feb-96 1:33:50 PM

The information in this document applies to:
WordPerfect® 5.1 for DOS

Problem

Solutions: FYI:
The following are some troubleshooting tips when working with macros:
1.      If the macro gives an error message such as "Access Denied" or "File Not Found":
      a.      Make sure the Location of Files (Shift-F1, 6, 2) is set to the path where the macros are located.
      b.      See if the customer is on a LAN system and if he or she has Write rights to the directory specified for the macro files.
      c.      Check for a macro already named the same name in another directory. If the customer has one, try renaming it.
      d.      Find out if the file is attributed +R, which is Read-Only (e.g., ATTRIB TEST.WPM +R). You cannot edit files with this type of attribute.
      e.      Make sure the customer does not have a keyboard selected. Press Ctrl-6 or go directly into Setup to select the original keyboard (Shift-F1, 5, 6).
      f.      Try exiting WP and re-entering.

2.      If the customer is getting extra characters after running the macro, such as tildes (~), an extra tilde may appear where it's not necessary, a tilde may be in the wrong position, or a tilde is missing:
      a.      Use the {DISPLAY ON} command if the display is off, use a {SPEED} command set to 20 or 30, depending on how slow you want the macro to run, and then put in your tilde. When you run the macro, you can see what is happening in the macro more slowly.
      b.      If the macro still doesn't work, use the {STEP ON} command. It will allow you to trace the macro one step at a time.

3.      If the macro does not work at all after trying the above two steps, you can also type some text within the macro itself so that when the macro runs, you can see if it types out that text. If it does, you know it is getting to that point. If it doesn't, you know there is a problem earlier in the macro.

4.      If changes just made to a macro do not appear when the user executes the macro, ask if the user invoked the macro before editing it. If so, the original macro may still be in memory. The edited macro should run if the user types the full path to the macro. This process forces WP to pull the macro from the disk and not from memory. The original macro will remain in memory until the workspace is needed by another process, (e.g., Spell), or until the user exits WP.

Answer:

Details:


Product specifications, packaging, technical support and information (*Specifications*) refer to theUnited States retail English version only. Specifications for other versions may vary. All Specifications, claims, features, representations, and/or comparisons provided are correct to the best of our knowledge of the date of publication, but are subject to change without notice.OUR MAXIMUM AGGREGATE LIABILITY TO YOU AND THAT OF OUR DEALERS AND SUPPLIERS IS LIMITED. IT SHALL NOTEXCEED THE AMOUNT YOU PAID TO ACCESS THE INFORMATION. SEE LEGAL DISCLAIMER.