Part of Nobumi Iyanaga's website. n-iyanag@ppp.bekkoame.ne.jp. 9/30/06.

logo picture

Make Table for NWE 2.x

MakeTBL macros ReadMe

To be used as Nisus Writer Express macros: put them in the folder /User/[your_account]/Library/Application Support/Nisus Writer/Macros/

These macros are based on scripts written by Kino (http://www2.odn.ne.jp/alt-quinon/files/varia/MakeTBL-sh.zip).

1. makeTBL_pl.scpt:

When you run this script on a selected text like this:

a1
a2
a3
b1
b2
b3
c1
c2
c3
d1
d2
d3

You will be asked:

How many colums? (12 lines in selection)
If you enter 3, for example, the selection will be transformed to:
 
a1	a2	a3
b1	b2	b3
c1	c2	c3
d1	d2	d3
- Space characters will be preserved.

- Empty lines will be converted to empty cells.


2. makeTBL_pl_rtfTBL.scpt:

Same as the above, but the macro will open a new window; paste the result, converts it into an rtf table, close that window, and paste the generated table replacing the original string.

The result will be:

a1

a2

a3

b1

b2

b3

c1

c2

c3

d1

d2

d3


3. makeTBL_row.scpt:

When you run this macro on a selected text like this:

a1
a2
a3
b1
b2
b3
c1
c2
c3
d1
d2
d3

You will be asked:

How many rows? (12 lines in selection)
If you enter 3, for example, the selection will be transformed to:
 
a1	b1	c1	d1
a2	b2	c2	d2
a3	b3	c3	d3
- Space characters will be preserved.

- Empty lines will be converted to empty cells.


4. makeTBL_row_rtfTBL.scpt:

The same thing as the above, but the macro will open a new window; paste the result, converts it into an rtf table, close that window, and paste the generated table replacing the original string.

a1

b1

c1

d1

a2

b2

c2

d2

a3

b3

c3

d3


The difference in the results

2: makeTBL_pl_rtfTBL:

a1

a2

a3

b1

b2

b3

c1

c2

c3

d1

d2

d3

4: makeTBL_row_rtfTBL:

a1

b1

c1

d1

a2

b2

c2

d2

a3

b3

c3

d3


Download

Download the macros from here (72 KB)


Go to Nisus Macros and Nisus/Frontier combo page
Go to NI Home Page


Mail to Nobumi Iyanaga


frontierlogo picture

This page was last built with Frontier on a Macintosh on Sat, Sep 30, 2006 at 6:34:05 PM. Thanks for checking it out! Nobumi Iyanaga