English Español Português Italiano
Tutorials Guide Help
Sitemap Adobe Autodesk Microsoft Corel Sony GNU Others

Corel WordPerfect Office X6 Tutorial - Macro Guide


 









Corel WordPerfect Office X6 Tutorial - Macro Guide

Corel WordPerfect Office X6 Tutorial - Macro Guide FREE DOWNLOAD THIS TUTORIAL
Tutorial in pdf format so you can save it to your PC, e-book reader or print.


Sponsored link



Note: The tutorial you are about to download is compressed format. Rar, if you do not have a decompressor rar files you can download 7-zip and you can display the Foxit PDF Reader.



Index Corel WordPerfect Office X6 Tutorial - Macro Guide


Introduction
PerfectScript macros
Quattro Pro macros
VBA macros
Glossary
Index
PerfectScript macros
Quattro Pro macros
VBA macros
Glossary
PerfectScript macros
Understanding PerfectScript macros
Getting started with PerfectScript macros
Creating PerfectScript macros
Creating UI for PerfectScript macros
Debugging PerfectScript macros
Understanding PerfectScript macro concepts
Understanding PerfectScript macro statements
Understanding PerfectScript macro syntax
Understanding PerfectScript macro structure
Understanding sequential macros
Understanding procedural macros
Using expressions in PerfectScript macro statements
Understanding expressions
Example - Result
Understanding PerfectScript variables
Declaring and initializing variables
Working with local variables
Working with global variables
Working with persistent variables
Working with constant variables
Determining whether variables exist
Discarding variables
Working with arrays
Understanding PerfectScript constants
Understanding PerfectScript operators
Understanding assignment operators
Understanding arithmetic operators
Understanding relational operators
Understanding logical operators
Operator - Action - Example and result
Understanding bitwise operators
NOT Example - Result
Understanding operator precedence
Precedence level - Operators
Operators with the same precedence are evaluated from left to right
Operators inside parentheses are evaluated before operators outside parentheses
Operators inside nested parentheses are evaluated from the innermost parentheses out
Understanding PerfectScript expression types
Understanding numeric expressions
Understanding measurement expressions
Unit of measurement - Identifier
Understanding radix expressions
Understanding character expressions
Understanding arithmetic expressions
Understanding relational expressions
Understanding logical expressions
Understanding bitwise expressions
Using command statements in PerfectScript macros
Understanding macro commands
Understanding macro-command components
Understanding PerfectScript command names
Understanding command-name syntax
Understanding PerfectScript parameters
Understanding parameter syntax
Understanding PerfectScript return values
WordPerfect returns this type of information primarily with system variables
Handling return values
Evaluating to return values
Using assignment statements in PerfectScript macros
Using conditional statements in PerfectScript macros
Understanding Case conditions
Understanding If conditions
Understanding Switch conditions
Using loop statements in PerfectScript macros
Understanding For loops
Understanding Repeat loops
Understanding While loops
Using calling statements in PerfectScript macros
Understanding subroutines
Understanding PerfectScript labels
Creating labels
Calling labels
Structuring labels
Understanding PerfectScript functions and procedures
Creating functions and procedures
Using variables in functions and procedures
Passing variables to functions and procedures
Passing arrays to functions and procedures
Calling functions and procedures
Structuring functions
Structuring procedures
Storing functions and procedures in macro libraries
Understanding PerfectScript callbacks
Creating calling statements from PerfectScript subroutines
Using the Call command in calling statements
Using the Go command in calling statements
Using comment statements in PerfectScript macros
Accessing external applications in PerfectScript macros
Understanding OLE Automation
Working with OLE Automation objects
For more information
Understanding Dynamic Data Exchange (DDE)
Understanding DDE conversations for WordPerfect
Understanding DDE conversations for Quattro Pro
Understanding DDE conversations for Presentations
Learning more about PerfectScript macros
Using the WordPerfect Office Help
Using the WordPerfect Office Software Development Kit (SDK)
Getting started with PerfectScript macros
Using the PerfectScript utility
To start the PerfectScript utility
To display the Command Browser
To display the Dialog Editor
To access context-sensitive Help for the PerfectScript utility
To access Help for a macro command
To quit the PerfectScript utility
Specifying PerfectScript settings
To specify general macro settings
To specify settings for compiling macros
To specify settings for debugging macros
To specify settings for editing macros
To specify settings for playing macros
To specify settings for recording macros
To specify settings for the PerfectScript toolbar
Creating PerfectScript macros
Migrating legacy PerfectScript macros
Converting non-PerfectScript macros to PerfectScript format
To migrate a legacy PerfectScript macro
Recording PerfectScript macros
To record a PerfectScript macro
Writing and editing PerfectScript macros
To write a PerfectScript macro
To edit a PerfectScript macro
To insert a macro command into PerfectScript macro code
Formatting PerfectScript macros
To write a PerfectScript macro
To edit a PerfectScript macro
To insert a macro command into PerfectScript macro code
Formatting PerfectScript macros
To compile a PerfectScript macro
Understanding compilers
Troubleshooting macro-compilation errors
A command name is misspelled
A semicolon is missing between macro-command parameters
A comma, instead of a semicolon, is used between macro-command parameters
A parenthesis is missing
A (double) quotation mark is missing
A (double) quotation mark is inserted by using the SmartQuotes feature in WordPerfect
A macro command is missing from a conditional statement
A macro command is missing from a loop statement
A calling statement is undefined
To compile a PerfectScript macro
Playing PerfectScript macros
Troubleshooting macro run-time errors
To play a PerfectScript macro
Making PerfectScript macros user-friendly
Creating UI for PerfectScript macros
Understanding dialog boxes for PerfectScript macros
Setting up dialog boxes for PerfectScript macros
Setting up dialog boxes by using PerfectScript code
Parameter (or parameters) - Description
Setting up dialog boxes by using the Dialog Edi
To add a dialog box to a PerfectScript macro by using the Dialog Editor
To set the properties for a dialog box by using the Dialog Editor
location and size
caption
Help file
Help key
dialog-box type
frame type
attributes
To set the font for a dialog box by using the Dialog Editor
To save a dialog box in the current macro by using the Dialog Editor
Setting up controls for PerfectScript dialog boxes
bitmap
button controls
check box controls
color wheel controls
combo box controls
counter controls
custom controls
date controls
edit box controls
filename box controls
frame controls
group box controls
line controls
list control
progress indicator controls
scroll bar controls
static text controls
viewer controls
To add a control to a PerfectScript dialog box by using the Dialog Editor
bitmap: Control > Bitmap
button, push: Control > Buttons > Push
button, radio: Control > Buttons > Radio
check box: Control > Check Box
color wheel: Control > Color Wheel
combo box: Control > Combo Box
counter: Control > Counter
custom control: Control > Custom
date control: Control > Date
edit box: Control > Edit Box
filename box: Control > Filename Box
frame: Control > Frame
group box: Control > Group Box
line, horizontal: Control > Lines > Horizontal
line, vertical: Control > Lines > Vertical
list control: Control > List Box
progress indicator: Control > Progress Indicator
scroll bar, horizontal: Control > Scroll Bars > Horizontal
scroll bar, vertical: Control > Scroll Bars > Vertical
static text: Control > Static Text
viewer: Control > Viewer
To set the properties for a control by using the Dialog Editor
bitmap: location and size; named region; variable; filename; attributes
button, push: location and size; named region; text; type
button, radio: location and size; named region; variable; text; type; text placement; initial state
check box: location and size; named region; variable; text; type; text placement; initial state
color wheel: location and size; named region; variable; initial color values
combo box: location and size; named region; variable; style; current item list; type; attributes
counter: location and size; named region; variable; values; attributes
custom control: location and size; named region; text; class; styles
date control: location and size; named region; variable; initial date; attributes
edit box: location and size; named region; variable; style; text; type; justification; capitalization; attributes; automatic scroll; scroll bar
filename box: location and size; named region; variable; folder; template; type
frame: location and size; named region; type; color
group box: location and size; named region; text
line, horizontal: location and size; named region
line, vertical: location and size; named region
list control: location and size; named region; variable; style; current item list; attributes
progress indicator: location and size; named region
scroll bar, horizontal: location and size; named region; variable; values; alignment and sizing
scroll bar, vertical: location and size; named region; variable; values; alignment and sizing
static text: location and size; named region; variable; style; text; justification; prefix; type
viewer: location and size; named region; variable; filename
To position one or more controls by using the Dialog Editor
To assign behaviors to one or more controls by using the Dialog Editor
Setting up callbacks for PerfectScript dialog boxes
Creating dialog-box callbacks
Understanding callback loops
Using region commands to specify and return dialog-box values
Testing PerfectScript dialog boxes
To test a dialog box by using the Dialog Editor
Displaying PerfectScript dialog boxes
opening the dialog box
releasing the dialog box
closing the dialog box
destroying the dialog box
Opening dialog boxes by using PerfectScript code
Releasing dialog boxes by using PerfectScript code
Closing dialog boxes by using PerfectScript code
Destroying dialog boxes by using PerfectScript code
To display a dialog box in a PerfectScript macro
Debugging PerfectScript macros
Getting started with the PerfectScript Debugger
Getting started with the PerfectScript Debugger
Using the Debugger to debug macros
Getting more information while debugging PerfectScript macros
Working with breakpoints while debugging PerfectScript macros
Working with variables while debugging PerfectScript macros
Navigating the code while debugging PerfectScript macros
Troubleshooting the PerfectScript Debugger
Using the Debugger menu
Using the Debugger toolbar
Using the State line in the Debugger
Using the Source list in the Debugger
Using the Call History list in the Debugger
Using the Variables list in the Debugger
the pool type for each variable (Local, Global or Persistent)
the type of value that each variable contains
the current value of each variable
Using the Debugger to debug macros
Setting up the Debugger
Debugging macros
To set up the PerfectScript Debugger
To debug a macro by using the PerfectScript Debugger
Getting more information while debugging PerfectScript macros
Using the Label Table window in the Debugger
Using the Use File Table window in the Debugger
Using the Product Table window in the Debugger
Using the Dialog List window in the Debugger
order
name
type
position and size (at creation, not current)
associated variable
associated style
associated data
Using the Condition Handlers window in the Debugger
Using the Macro Info List window in the Debugger
Using the Callback Queue window in the Debugger
Using the Macro Header window in the Debugger
To display or hide an information window in the PerfectScript Debugger
To display or hide the following - Do the following
Working with breakpoints while debugging PerfectScript macros
Setting breakpoints
Moving between breakpoints
Disabling breakpoints
Logging events for breakpoints
Executing tokens at breakpoints
To set a breakpoint in a PerfectScript macro
To move between the breakpoints in a PerfectScript macro
To disable all breakpoints in a PerfectScript macro
To log events for the breakpoints in a PerfectScript macro
To execute a token at a breakpoint in a PerfectScript macro
Working with variables while debugging PerfectScript macros
Displaying variables in macros
Watching variables in macros
Creating variables in macros
To display variables while debugging a PerfectScript macro
All: displays all variables
Watch List: displays only watched variables
Locals: displays only local variables
Globals: displays only global variables
Persistents: displays only persistent variables
To watch a variable while debugging a PerfectScript macro
To create a variable while debugging a PerfectScript macro
Navigating the code while debugging PerfectScript macros
Stepping through macros
Using cursor position in macros
Animating macros
Searching macros
To step through a macro in the PerfectScript Debugger
To use cursor position while debugging a PerfectScript macro
To animate a macro in the PerfectScript Debugger
To search macro code in the PerfectScript Debugger
Troubleshooting the PerfectScript Debugger
macros that stop at error messages
macros that contain faulty callbacks
Debugging macros that stop at error messages
Debugging macros that contain faulty dialog-box callbacks
Quattro Pro macros
Understanding Quattro Pro macros
Working with Quattro Pro macros
Understanding Quattro Pro macros
Understanding Quattro Pro syntax
Understanding Quattro Pro macro commands
Working with Quattro Pro macros
Creating and editing Quattro Pro macros
Playing and debugging Quattro Pro macros
Converting Quattro Pro macros
Adapting a Quattro Pro macro for use with PerfectScript
Native Quattro Pro command - Corresponding PerfectScript command
Adapting a Quattro Pro macro for use with VBA
To convert a Quattro Pro macro command to PerfectScript
VBA macros
Understanding VBA macros
Getting started with VBA macros
Working with VBA macros
Creating UI for VBA macros
Organizing and deploying VBA macros
Understanding VBA macros
What is VBA?
What is VBA automation?
Who is VBA designed for?
VBA for non-programmers
VBA for programmers
How does VBA compare with other programming languages?
VBA vs. Java and JavaScript
VBA vs. C and C++
VBA vs. Windows Script Host
What are the main elements used in VBA?
What is an object model?
Understanding object hierarchy
Understanding the PerfectScript and Script classes
Understanding the WordPerfect object model
Understanding the Quattro Pro object model
Understanding the Presentations object model
How is VBA code structured?
Declaring variables
Building functions and subroutines
Ending lines
Including comments
Using memory pointers and memory allocation
Defining scope
Using Boolean comparison and assignment
Using logical and bitwise operators
Providing message boxes and input boxes
Declaring variables
Declaring strings
Declaring arrays
Building functions and subroutines
Declaring enumerated types
Ending lines
Including comments
Using memory pointers and memory allocation
Passing values “by reference” and “by value”
Defining scope
Using Boolean comparison and assignment
Using logical and bitwise operators
Providing message boxes and input boxes
Getting started with VBA macros
Using the Visual Basic toolbar
playing macros
opening the VB Editor
switching the VB Editor between its modes for designing and running macros
To display the Visual Basic toolbar in WordPerfect or Quattro Pro
Using the VB Editor
To start the VB Editor
Using the Project Explorer in the VB Editor
To display or hide the Project Explorer
Using the Properties window in the VB Editor
To display or hide the Properties window
Using the Code window in the VB Editor
Formatting code automatically
Coloring syntax automatically
Checking syntax automatically
Jumping to definitions
Using contextual pop-up lists and automatic completion
Using the toolbars in the VB Editor
To display or hide a toolbar
Using the Object Browser in the VB Editor
Using the Class list
Using the Member list
Using the Information window
Using the search controls
Working with VBA macros
Creating VBA macros
WordPerfect Help (wpwp.chm): “Integrating with Microsoft Visual Basic for Applications”
Quattro Pro Help (qp.chm): “Creating VBA macros”
Presentations Help (wppr.chm): “Creating and editing VBA macros”
Creating global macros
Using modules
Running VBA macros
To run a VBA macro from within WordPerfect, Quattro Pro, or Presentations
To run a VBA macro from within the VB Editor
Debugging VBA macros
Setting breakpoints
Stepping through the code
Using the VBA debugging windows
the Call Stack window
the Immediate window
the Locals window
the Watches window
Using the Call Stack window
Using the Immediate window
Using the Locals window
Using the Watches window
Creating UI for VBA macros
Creating dialog boxes for VBA macros
Choosing between modal and modeless dialog boxes
Setting up dialog boxes
To create a blank form
To test a form by running it
Coding dialog boxes for VBA macros
Designing dialog boxes for VBA macros
Text box controls
Combination (“combo”) box controls and list box controls
Button controls
Image (bitmap) controls
Providing help for VBA macros
Organizing and deploying VBA macros
Organizing VBA macros
Deploying VBA macros
Deploying project files
To deploy a project file
Glossary
Index







Download the file decompressor 7-zip.
Download the PDF reader Foxit PDF Reader.




TutorialsPDF.com © 2008 - This work is licensed under a Creative Commons License.