Nisus Writer Pro User Manual

Page 434

Advertising
background image

414

The Nisus Writer Pro Macro Language

Macros, the Deeper Workings

Create Word Frequency List (v2)

Extracts a list of all non-common words from the selected text/
document and lists their frequency.

Create Word List (v4)

Creates a word list in a new document

Install Default Macros

This macro copies the default set of macros from the Nisus Writer
Pro application bundle into the your local Macro folder. It also
checks for old Nisus Writer Express perl macros and offers to trash
them.

Join Files

Creates a new document by joining all documents in a chosen
folder. The macro appends a page break between each file not
already ending in a break.

Save All Documents

Save all open document windows.

Sort Open Document Windows

This macro sorts all open document windows by file properties,
such as Date Modified - newest first, Date Modified - oldest
first
, Date Created - newest first, Date Created - oldest first,
Name (A-Z), Name (Z-A) and only affects documents saved to
disk.’

Editing

Add or Remove Blank Lines
Cleanup Punctuation

This macro is a set of find and replace statements that attempts to
clean-up various obvious errors. However, sometimes they may alter
what you want. For example if you use multiple question marks
(????) or exclamation points (!!!!) or periods (….) to make a point,
each such multiple sequence will be replaced by a single character
of that sequence. You can comment-out any line which you do not
want to operate on your document

Convert Notes to Text

This macro takes all footnotes/endnotes in your document and
converts them to regular text. The notes will no longer be numbered
automatically or appear in a separate editing area. The converted
document will be opened as a copy of the existing document.

Form Paragraph

Combines selected lines (even those non-contiguously selected) into
one paragraph.

Justify Fully Arabic

This macro works on every paragraph in the selection. It manually
inserts kashida characters so the last line of each paragraph
appears fully justified.

Justify Fully Arabic (remove kashidas)

Removes kashidas from the selection that may have been inserted
by running the Justify Fully Arabic macro.

Justify Fully English

Adds spaces to every paragraph in the selection. It manually inserts
space characters so the last line of each paragraph appears fully
justified.

Justify Fully English (remove spaces)

Removes spaces from the selection that may have been inserted by
running the Justify Fully English macro.

Parenthesize Selection
Quote Selection
Reverse Text

Reverses characters in all selections. Note: does not pay attention to
composed character sequences (for example: base char + accent),
which is intentional because this is likely to be run on Nisus Writer
Classic text.

Zap Gremlins

This macro deletes all gremlins in the selection/document.

Find

Find All and Show Context

This macro does a Find All on the frontmost document using find
options set in the Find/Replace window and displays the results
along with their context creating a concordance.
If the find mode is set to PowerFind or if Attribute Sensitive is
checked, the macro uses the find expression in the Find/Replace
window.
You can choose a single find result to select it.
You can send all the results to Clipboard.
You can create a new file gathering all sentences containing the
found string.

Advertising