setting paragraph style from macro

Get help using and writing Nisus Writer Pro macros.
Post Reply
Posts: 107
Joined: 2007-05-21 08:33:59

setting paragraph style from macro

Post by Derick » 2007-07-12 14:00:52

I'm trying to convert bold text to Heading 1 with the following macro:

Find ‘.+’, ‘Eu’
Remove Attributes Except Styles
Paragraph Style ‘Heading 1’

The first two lines work but then I get an error message:

Unknown menu item path:
Paragraph Style ‘Heading 1’

Is this not possible? If it is, what am I doing wrong?

User avatar
Official Nisus Person
Posts: 4453
Joined: 2002-07-11 17:14:10
Location: San Diego, CA

Post by martin » 2007-07-12 14:41:26

I think you just got a little mixed up there.. the paragraph styles are applied via the menu system, so your command needs to be one of the following:

Code: Select all

Heading 1
Format:Paragraph Style:Heading 1
Menu "Heading 1"
Menu "Format:Paragraph Style:Heading 1"

Post Reply