Macros, skimming the surface, About macros, Use existing macro files and their commands – Nisus Writer Express User Manual
Page 265: Running macros

Macros, Skimming the Surface
Macros automate repetitive tasks and combine in one “command name,” a whole collection of tasks
you frequently perform.
It is easy to combine the menu commands of Nisus Writer Express into your own custom
combinations. These combinations are called “Macros”. Consider each menu command in Nisus
Writer Express a “micro” command. Putting them together, creates a “macro.”
This portion of the manual describes how to create, run, delete, and save simple macros.
☞
The Nisus Macro Reference is distributed in the download with the application and the User's Guide.
It details all features of the macro language.
About Macros
245
Running Macros
245
Editing Macros
246
Saving a Macro
246
Deleting Macros
246
Undoing a Macro
246
Working with Macro Files
246
Before Creating a Macro
247
Typing Menu Commands
247
Working with Menu Commands
248
Looping and Accessing Other Macros
248
About Macros
We’re all familiar with macros on a conceptual level. We know that the directive: “Clean up your
room!” means to perform a number of smaller tasks:
Clean up Your room
Perform the following tasks in order.
1.
Pick books up from floor
2.
Put books on shelves
3.
Pick clothes up from floor
They may be clean or dirty, Each situation requires a different response. First we evaluate
them, then either continue or do a different task (i.e. another item in the task list).
1.
If (the clothes are dirty) then
2.
Put clothes in laundry.
3.
Else (otherwise),
4.
Hang up clothes
You can use Nisus Writer Express Macros to automate tedious or time-consuming tasks like:
•
removing accidently repeated words, sentences or paragraphs
•
reversing the order of phrases
•
reorganizing the content of tables of contents.
Use existing macro files and their commands
You can use your macro files if you do any of the following two things:
▶
Keep your macro files in the Macros folder inside the Nisus Writer Application Support folder;
~/Library/Application Support/Nisus Writer/Macros
Or
▶
Choose Load Macro… from the Macro menu.
This copies the macro file to your Macros folder. For more information see “Working with Macro
Files” on page 246.
Running Macros
Nisus Writer Express includes a number of ready made macro files. The are available on the Macro
menu.
..................................................................................
...............................................................................
.................................................................................
................................................................................
..............................................................................
.............................................................................
.................................................................
...................................................................
..................................................................
........................................................
................................................