Re: Creating a Find and Replace Script or Macro in ntp
- If you mean it needs to replace every single . in a notetab or other text file, copy the following line and save them as a clip under a name of your choice in the Pasteclips list (first rightclick anywhere in the pasteclips window, Add New Clip.. enter the name you want.. and then paste the following line ( the one between the **start** and **end** lines into the next window you see.
^!Replace . .^p^p GA
Note that between the first dot and the second one, there is a TAB. There is another TAB between the second ^p and the GA. So check that there are indeed tabs there.
To use it, open all the documents, then simply double-click the name of the clip in your right hand PasteClips window.
All it means is: Command: Replace all . occurrences with . and newline + newline. GA is sort of "get all".
If the ^p^p gives you a line too many, simply right click the clip..edit clip..delete the last ^p making sure that the tab is still ok, save and bob's your uncle.
Hope this helps.
--- In firstname.lastname@example.org, email@example.com wrote:
> Posting to the notetab list too as this doesn't require a script.
> Date: Wed, 05 May 2010 20:58:06 +0000
> From: "mhcycles" <mhcycles@...>
> Subject: [NTS] Creating a Find and Replace Script or Macro in ntp
> To: firstname.lastname@example.org
> I need to create an easy way to process a ntp file and replace every period with a period hard return and line space. Being a total novice at such things I'm hoping someone can tell me how to do it. The end result that I want is each sentence on a separate line with a line space in between the lines.