Attribute sensitive PowerFind Pro macro not working

Get help using and writing Nisus Writer Pro macros.
Post Reply
talaivan
Posts: 21
Joined: 2007-08-18 06:37:50

Attribute sensitive PowerFind Pro macro not working

Post by talaivan »

When I run the macro
Find '.', 'Eua'
and the period is times, it selects all characters no matter what font. When I do the same thing in the "Find" dialogue (Find all) with attribute sensitive and PowerFind Pro selected, it works. What am I doing wrong, or is this something that doesn't work yet? Thanks.
User avatar
martin
Official Nisus Person
Posts: 5227
Joined: 2002-07-11 17:14:10
Location: San Diego, CA
Contact:

Post by martin »

Most likely the problem is that the font attribute has been culled from the expression. This culling occurs when you apply an attribute in a document that matches the attribute defined by the already applied style. To apply the Times font without it being culled do the following:

1. Select your Find expression.
2. Use the menu Format > Paragraph Styles > Remove Paragraph Styles (this will remove the Normal style, which defines Times).
3. Now apply the Times fonts.
talaivan
Posts: 21
Joined: 2007-08-18 06:37:50

It works

Post by talaivan »

Thanks -- it seems to be working now.
Post Reply