![]() |
Macro Not Prompting for 'File Format' When Retrieving an ASCII File |
The information in this document applies to:
WordPerfect® 6.2 for DOS
Problem
Using a macro to open an ASCII file does not prompt the user for the file format. This creates a problem for users who wish to have a macro open a file (saved as ASCII (Stripped)) using the "ASCII Text (CR/LF -> SRt)" option. If the same steps are performed manually, the File Format dialog comes up and allows the user to change the format to be used from "ASCII Text (Standard)" (the detected default) to "ASCII Text (CR/LF -> SRt)" (the desired format). |
Answer:
This issue has been reported to Engineering. The program works the same way in earlier WordPerfect 6.x for DOS versions. |
Details:
For example, the following macro example demonstrates the issue: DISPLAY(On!) DLGINPUT(on!) FileOpenDlg Type("text") HardReturn where "text" is the name of an ASCII file in the current directory. When this process is done manually, a 'File Format' screen comes up where you can choose "ASCII Text (CR/LF -> SRt)" to bring it in stripped of unnecessary Hard Return codes which may occur if the text wraps to another line. When the macro gets to this point, it just pulls up the file without prompting for file format. The same problem occurs by substituting FileRetrieveDlg (to insert the file being opened into the current document) for FileOpenDlg. |
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. |