• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 17. Creating and Playing Macros > Running WordPerfect’s Shipping Macros

Running WordPerfect’s Shipping Macros

WordPerfect ships with a collection of macros that are helpful both to use and to examine if you want to become familiar with the PerfectScript macro language. In a later section, I’ll show you how to edit macros, so you can open any of the shipping macros and see how they were written.

  • Abbrev.wcm Opens an Abbreviations dialog box, where you can select a QuickWord and expand it in a document. The dialog box stays open so that you can expand multiple QuickWords without opening the QuickCorrect dialog box each time.

  • adrs2mrg.wcm Opens an Address Book to Merge dialog box, where you can choose an Address Book and then create a merge data file from the entire Address Book or just from selected records. This macro creates a text data file with a field name record at the top of the file.

  • Allfonts.wcm Searches for all the fonts installed for the current printer and generates a list of the fonts along with a short sample of text. Depending on the number of fonts you have installed, it might take a few minutes to generate the list. Also, your printer might not have enough memory to be able to print the list.

  • checkbox.wcm Creates a check box that you can click to insert an “x” in the box and click again to remove the “x.” The check box is created as hypertext, so it will show up underlined and blue.

  • closeall.wcm Displays a Close All Documents dialog box, where you can selectively save open documents before they are closed. If documents are unnamed, you can specify a name for the documents in the dialog box. A Save check box lets you decide which documents should be saved before they are closed.

  • ctrlm.wcm Displays the PerfectScript Command dialog box, where you can select, edit, and insert macro commands in a macro. You don’t have to open the Play Macro dialog box to select this macro. Just press Ctrl+M in the document window.

  • cvtdocs11.wcm Opens the WordPerfect Conversion Expert dialog box, where you can choose to convert a single file, a folder, or a folder and its subfolders to several different WordPerfect formats. You can choose from WordPerfect 10, 9, 8, 7, 6, 5.1, and HTML.

    Note

    When you open the Play Macro dialog box, the contents of the default macro folder are displayed by default. If the macro you are looking for is stored in another folder, you will need to navigate to that folder. The name of the default macro folder can be found in Tools, Settings, Files on the Merge/Macro tab.


  • DCConvert.wcm Converts WordPerfect drop cap characters (that is, the first whole word is a drop cap) to a drop cap character that is Microsoft Word compatible (that is, a number of characters drop cap).

  • endfoot.wcm Converts all the endnotes in a document (or just those in selected text) to footnotes. You must be outside the footnote/endnote area to run this macro.

  • Expndall.wcm Expands all the QuickWords in the document. You might use this if you work with documents with complex QuickWords. You might decide to turn off Expand QuickWords as you type them and then expand them all at once with this macro.

  • Filestmp.wcm Opens the File Stamp Options dialog box, where you can choose to insert the filename or the filename and path into a header or footer. If the document has not been named when you run this macro, a filename code is placed in the header or footer. When you save and name the file, the filename (and the path) shows up in the header or footer. If you select Change Font, a Font Properties dialog box appears so that you can select the font (or font size) you want to use for the file stamp.

  • flipenv.wcm Displays an Envelope Addresses dialog box, where you can type the return address (unless you’ve already selected a personal information entry in the Address Book) and a mailing address. You also can select a mailing address from the Address Book. After you fill in the address information, you can choose an envelope size. The macro creates the envelope, flipping the envelope 180 degrees so that it is upside down. This macro was created because some printers have trouble printing text within 1/4 inch of the top-left corner of an envelope, but they don’t have a problem printing it within 1/4 inch of the lower-right corner. If you have one of these printers, this macro allows you to print the return address closer to the edge of the envelope.

  • Fontdn.wcm Reduces the font size by two points. If you select text before running the macro, only the selected text is affected. Otherwise, the change takes place at the insertion point and remains in effect until you change the size again.

  • Fontup.wcm Increases the font size by two points. If you select text before running the macro, only the selected text is affected. Otherwise, the change takes place at the insertion point and remains in effect until you change the size again.

  • footend.wcm Converts the footnotes in the entire document (or just in selected text) to endnotes. You must be outside the footnote/endnote area to run this macro.

  • Longname.wcm This macro is for everyone who got around the DOS 8.3 filename by creating descriptive names in document summaries. This macro converts those descriptive filenames into long filenames, which can have up to 255 characters. When you run this macro, a Convert to Long Filenames dialog box appears. You can either type the name of the drive and folder where the files are stored, or you can click the Files icon to open the Select Folder dialog box. Select the file(s) that you want to convert in the Select Files to Rename list, and then click OK. When the macro is finished, a record of the changes is created in a blank document.

  • Parabrk.wcm Displays a Paragraph Break dialog box, where you can choose a symbol or graphic to display at every paragraph break. The symbol or graphic is centered on the blank line between paragraphs.

  • pleading.wcm Displays the Pleading Paper dialog box, where you can choose from a variety of options to generate a legal pleading paper.

  • prompts.wcm Opens Prompt Builder, which helps you create prompts for your templates. You can create messages that help guide the user along in using the template. You must be editing a template (other than your default template) before you can run this macro.

  • reverse.wcm Displays the Reverse Text Options dialog box, where you can choose a color for the text and a color for the fill (or background). If you’ve selected text, you can place the reverse text in a text box. If you’ve selected table cells, the dialog box is a little different. You choose from three table-oriented options: Center Text, Lock Cell, and Header Row.

  • saveall.wcm Displays the Save Open Documents dialog box, which is similar to the Close All Documents dialog box. It works the same way: If you want to save a document, place a check mark next to the filename. If necessary, you can change the filename and path before saving the file.

  • Savetoa.wcm Saves the current document and then copies the file to a disk in drive A. If you haven’t named the document yet, you will get the opportunity to do so. When you name the file, don’t worry about switching to drive A or typing a: in the path—all you need to do is name the file—the macro saves it to drive A.

  • tconvert.wcm Displays the Convert Template dialog box, where you can type the name of a template that you want to convert for use in WordPerfect 11. If you can’t remember the name (or the location) of the template file, click the Files icon to search for it.

  • uawp11en.wcm According to the documentation, this macro is used by the PerfectExpert. You must not delete this file from the macros folder, so don’t even think about getting rid of it!

  • wp_org.wcm Creates a basic organization chart that you can start filling in immediately. You get the same results that you would if you chose Insert, Graphics, Draw Picture to open the Presentations/Draw editing screen and then chose Insert, Organization Chart and selected the first Single option in the Layout dialog box. Note: You will need Presentations on your system to run this macro.

  • wp_pr.wcm Opens an outline from a WordPerfect document in Presentations as a slide show. You can run the macro whether you have an outline in the document or not, but Presentations will have a hard time figuring out what to put on the slides with a regular document. The document is saved as pr_outln.wpd. Note: You will need Presentations on your system to run this macro.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint