|
|
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
- Introduction to PerfectScript Macros
- Product Commands
- Using Informational Prompts (PROMPT, MESSAGEBOX, BEEP, PAUSE, PauseKey, etc.)
- Variables and Arrays (ASSIGN, LOCAL, GLOBAL, PERSIST, EXISTS, DISCARD, arrays, etc.)
- Getting and Using User Input (GETSTRING, GETNUMBER, MENU, etc.)
- Expressions and Mathematical Operators (Bitwise comparisons, FRACTION, INTEGER,etc.)
- Parsing Strings (STRLEN, SUBSTR, INDIRECT, STRPOS, etc.)
- Converting Variable Types (NUMSTR, STRNUM, etc.)
- Looping Routines (LABEL, GO, FORNEXT, ENDFOR, REPEAT, UNTIL, etc.)
- Decision-making and Branching (IF, ELSE, ENDIF, SWITCH, CASE, etc.)
- Playing other Macros from within a Macro (NEXT, CHAIN, CALL, etc.)
- Procedures and Functions (PROCEDURE, FUNCTION, USE, INCLUDE, etc.)
- System Variables (GetData, the system variables)
- The Date and Time Commands
- Number To Character Values (NTOC, CTON)
- Using Application Interface Dialogs
- Custom Dialog Boxes
- The Dialog Editor
- Dialog Callbacks
- Dynamic Link Libraries
- Handling Error, Cancel, Not Found and User-defined conditions
- Controlling Windows
- The File and Directory Commands
- Storing Information in the Registry, INI, or BIF files
- Troubleshooting your Macros
- The PerfectScript Utility
- 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.
|