nisus.com
https://www.nisus.com/forum/

setting paragraph style from macro
https://www.nisus.com/forum/viewtopic.php?f=17&t=2416
Page 1 of 1

Author:  Derick [ 2007-07-12 14:00:52 ]
Post subject:  setting paragraph style from macro

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?
thanks
Derick

Author:  martin [ 2007-07-12 14:41:26 ]
Post subject: 

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:
Heading 1
Format:Paragraph Style:Heading 1
Menu "Heading 1"
Menu "Format:Paragraph Style:Heading 1"

Page 1 of 1 All times are UTC - 8 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/