Select Header Text

Get help using and writing Nisus Writer Pro macros.
Post Reply
hatchmo
Posts: 99
Joined: 2004-03-01 10:35:56
Location: Cotati, CA

Select Header Text

Post by hatchmo »

I can't seem to select all the text in a document Header.
I can find a specific word, but wildcards don't work.
These lines fail:

Code: Select all

Find All '(AnyWord)', '-i', '-ah'
Find All '(AnyWord)', '-i', '-e'
(AnyWord) is pasted from a regex expression in the Nisus Writer Pro Find dialog.

Thanks for any suggestions.
Al Hatch
User avatar
martin
Official Nisus Person
Posts: 5227
Joined: 2002-07-11 17:14:10
Location: San Diego, CA
Contact:

Re: Select Header Text

Post by martin »

Hi Al- it looks like your problem is not activating PowerFind (or PowerFind Pro) mode in the Find command options. The macro command for PowerFind Pro (regex) should look like this:

Code: Select all

Find All '.+', 'E-i', '-ah'
If you want to use PowerFind then it looks like this:
PowerFind.png
PowerFind.png (8.99 KiB) Viewed 7265 times

I hope that helps.
hatchmo
Posts: 99
Joined: 2004-03-01 10:35:56
Location: Cotati, CA

Re: Select Header Text

Post by hatchmo »

Ah! (No pun intended.)
I failed to combine the -ah and e modifiers.
Thanks!
Al Hatch
Post Reply