WordPerfect Advanced Macro Programming: A Learning Guide

The Definitive Guide to WordPerfect Macros

by Julie Jeppson

This volume is very similar to my WordPerfect 8 book, but drops coverage of commands that are considered obsolete in WP9 and beyond. There is also a chapter on VB Script macros. WP9, 10, 11, and 12 are almost exactly the same as far as macros go, so this book should work fairly well for those versions.

The included Macro Applications contains macro tools for finding Version Info, System Info, and Macro Info.

Table of Contents:

Introduction

  1. Introduction to PerfectScript Macros
  2. Product Commands
  3. Using Informational Prompts (PROMPT, MESSAGEBOX, BEEP, PAUSE, PauseKey, etc.)
  4. Variables and Arrays (ASSIGN, LOCAL, GLOBAL, PERSIST, EXISTS, DISCARD, arrays, etc.)
  5. Getting and Using User Input (GETSTRING, GETNUMBER, MENU, etc.)
  6. Expressions and Mathematical Operators (Bitwise comparisons, FRACTION, INTEGER,etc.)
  7. Parsing Strings (STRLEN, SUBSTR, INDIRECT, STRPOS, etc.)
  8. Converting Variable Types (NUMSTR, STRNUM, etc.)
  9. Looping Routines (LABEL, GO, FORNEXT, ENDFOR, REPEAT, UNTIL, etc.)
  10. Decision-making and Branching (IF, ELSE, ENDIF, SWITCH, CASE, etc.)
  11. Playing other Macros from within a Macro (NEXT, CHAIN, CALL, etc.)
  12. Procedures and Functions (PROCEDURE, FUNCTION, USE, INCLUDE, etc.)
  13. System Variables (GetData, the system variables)
  14. The Date and Time Commands
  15. Number To Character Values (NTOC, CTON)
  16. Using Application Interface Dialogs
  17. Custom Dialog Boxes
  18. The Dialog Editor
  19. Dialog Callbacks
  20. Dynamic Link Libraries
  21. Handling Error, Cancel, Not Found and User-defined conditions
  22. Controlling Windows
  23. The File and Directory Commands
  24. Storing Information in the Registry, INI, or BIF files
  25. Troubleshooting your Macros
  26. The PerfectScript Utility
  27. VB Script in WordPerfect

Appendices

NTOC/ASCII Values
Reserved Words
WPWin 9 System Variables
?RightCode Values (in numeric order)
?RightCode Values (in code order)
Product Commands for WordPerfect
Macro Conversion Guide
Answers to Lesson Quizzes
PauseSet and PauseCommand Tokens
DLLCall SendMessage value Conversion Chart


Over 700 pages, PDF format on CD

Ordering Information

A portion of the proceeds from each sale of this book is donated to Best Friends Animal Sanctuary, the largest no-kill animal sanctuary in the United States, located in Angel Canyon near Kanab, Utah.