Macros, skimming the surface, About macros, Use existing macro files and their commands – Nisus Writer Pro User Manual

Page 417: Use existing macro files and their commands 397, Ge 397, Macros, skimming the surface” and, 397 and

Advertising
background image

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 Pro into your own custom combinations.
These combinations are called “Macros”. Consider each menu command in Nisus Writer Pro 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. You can learn more at <

http://nisus.com/pro/

macros>.

About Macros

397

Running Macros

398

Editing Macros

398

Saving a Macro

398

Deleting Macros

398

Undoing a Macro

399

Working with Macro Files

399

Before Creating a Macro

399

Typing Menu Commands

399

Working with Menu Commands

400

Looping and Accessing Other Macros

400

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).

4. If (the clothes are dirty) then
5. Put clothes in laundry.
6. Else (otherwise),
7. Hang up clothes

You can use Nisus Writer Pro 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 the menu command Macro > Load Macro….

..................................................................................

...............................................................................

.................................................................................

................................................................................

..............................................................................

.............................................................................

.................................................................

...................................................................

..................................................................

........................................................

................................................

Advertising