Nisus Writer Pro - Macro Language Reference


Introduction

   Basic Macro Structure

   Macro Commands

   Document Conventions

   Stopping Macros

Macro Tokens

   Variables

   Literals

      Text Literals

   Comments

   Operators

      Comparison Operators

         Text Comparisons

         Floating Point Comparisons

      Boolean Operators

      Expression Limitations

   Type Commands

   Type Casts

Control Flow

   Conditional Branches

   Loops

      While Loop

      For Loop

      For Each Loop

      For Each with Ranges

   Macro Termination

Custom Commands

   Defining New Commands

   Arguments

      Variable Scope

      List Argument

   Reusing Commands

   Dynamic Commands

Find and Replace

   Find and Replace Examples

   Find Results Lists

Modify and Format Text

   Modify Text

   Formatting Text

   Targeting Selections

   Indexing

Object Overview

   Object Equality

   Dynamic Properties and Commands

Collection Objects

   Arrays

   Hashes

Primitive Objects

   Data Object

   Date Object

   Color Object

   Font Object

   Language Object

   Range Object

   Rect Object

   Ref Object

   Size Object

   Sound Object

Menus

   Menu Commands

   Menu Object

Files

   File Paths

   File Object

   The Mac Sandbox

      Automatic Access

      Manual Access

   Document Manager

      Document Manager Group Object

      FileQuery Object

External Interaction

   User Interaction

   Clipboards

   Environment

      Macro Properties

      User Properties

      Application Properties

      System Properties

   Registry Object

   NSUserDefaults

Macro Object

   Macro Object

   StatusItem Object

Document Object

   Document Object

   Document Commands

   Document Selections

Selection Objects

   Selection Object

   TextSelection Object

   TableSelection Object

   Selection Commands

Text Object

   Basic Commands

   Formatting & Layout

   Find & Replace

   Modifying Text

   Nested Content

Content Objects

   Attributes Object

   Bookmark Object

   Comment Object

   CrossReference Object

   FloatingContent Object

   Image Object

   Link Object

   ListItem Object

   Note Object

   Style Object

   TrackedChange Object

Table Objects

   Table Object

   TableCell Object

   ShadingAttributes Object

   LineAttributes Object

Miscellaneous Commands

   Numeric Commands

   AppleScript

   UI Interactions

   Other Commands

Perl Code

   Perl Examples

Debugging

Superseded Commands

   Menus

   Selection

   Application Properties

   Document Properties

   Macro Properties

   Document Object Properties

   File Commands

   Bookmarks

   Misc Commands