|
- 1.
Introduction
- 1.1
What is a macro?
- 1.2
Reasons for using macros
- 1.3
Programming skills required for macros
- 1.4
Difference between macros and styles
- 1.5
Scope of this tutorial
- 1.6
Resources for more information
- 2.
Creating Macros
- 2.1
Creating a macro
- 2.2
Macro recording
- 2.3
Recording mouse clicks
- 2.4
Text macros
- 2.5
Cursor position
- 2.6
Where macros are stored
- 3.
Playing Macros
- 3.1
Playing a macro
- 3.2
Save before playing a macro
- 3.3
Cursor position
- 3.4
Terminating a macro
- 4.
Editing Macros
- 4.1
Editing a macro
- 4.2
Compiling a macro
- 4.3
Comments
- 5.
Macro Commands
- 5.1
What are commands
- 5.2
Product commands
- 5.3
PerfectScript programming commands
- 5.4
Using the macro toolbar to insert commands
- 5.5
The Application command
- 6.
Command Parameters
- 6.1
What are parameters
- 6.2
Enumerations
- 6.3
Types of parameters
- 6.4
Units of measure
- 7.
Cursor Movement
- 7.1
Avoid using the arrow keys
- 7.2
Using "Find" in a macro
- 7.3
Finding codes
- 7.4
Program state
- 8.
Variables
- 8.1
What are variables
- 8.2
Naming variables
- 8.3
Creating variables
- 8.4
Assigning values to variables
- 9.
System Variables
- 9.1
What are system variables
- 9.2
Names of system variables
- 9.3
Documentation on system variables
- 9.4
System variables to remember
- 9.5
Translating the contents of system
variables
- 10.
User Interaction
- 10.1
Allowing the user to interact with the
macro
- 10.2
Pausing a macro
- 10.3
Getting input from the user
- 11.
Performing Arithmetic
- 11.1
The arithmetic operators
- 11.2
Assigning arithmetic results
- 11.3
Order of precedence
- 12.
Testing Conditions
- 12.1
Conditional expressions
- 12.2
The equality operator
- 12.3
The inequality operators
- 13.
Decisions
- 13.1
The If() command
- 13.2
The Else statement
- 14.
Flow Control
- 14.1
Flow of a macro
- 14.2
The Label() command
- 14.3
The Go() command
- 14.4
The Quit() command
- 15.
Loops
- 15.1
Repeating operations with a loop
- 15.2
Loops with the Go() command
- 15.3
Loops with the While() command
- 15.4
Loops with the Repeat command
- 16.
Error handling
- 16.1
Trapping and handling errors
- 16.2
The OnNotFound() and OnError()
commands
|