In Nisus Writer Pro I wish to apply to different styles to the 'header' of each email which appears in the file.
For example:
The idea is:From: Kevin Smith <ks@nothing.com>
Subject: Re: Certificate for reactivation of account
Date: 3 March 2022 at 14:07:08 GMT
To: Adam Smith <adamsmith@as.org.uk
1. to search for each "From:" to the end of the line - select the whole line and apply "Heading 1" style
2. to search for each "Subject:" to the end of the line - select the whole line and applying "Heading 2" style
and so on
I know how to construct search to select each to the end of the line in Find and Replace, but have difficulty understanding how to, in a macro, to conduct a find and then apply a style.
Any help would be gratefully received.
macOS 12.2.1 - Nisus Writer Pro, version 3.2.2