Page 1 of 1

setting paragraph style from macro

Posted: 2007-07-12 14:00:52
by Derick
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?

Posted: 2007-07-12 14:41:26
by martin
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"