Search found 1167 matches

by phspaelti
2020-09-02 20:29:48
Forum: Nisus Writer Pro Macros
Topic: Macro and Powerfind
Replies: 8
Views: 5928

Re: Macro and Powerfind

I would like to find everything from "Text28... to the double quote just before "Text 29... and just delete it. Is there a find or capture until I get to a certain character option?? Look in the Match menu (of the gear menu in the Find dialog) for Followed by So you can write: Find and Replace @Str...
by phspaelti
2020-09-02 06:16:43
Forum: Nisus Writer Pro Macros
Topic: Macro and Powerfind
Replies: 8
Views: 5928

Re: Macro and Powerfind

Hello Doug, and welcome to Nisus. Adrian has already pointed you to a useful section in the manual. I just thought I'd a few more pointers. In case it wasn't clear, there is no need to switch to PowerFind Pro to turn a find/replace command into a macro. You can macroize the expression in the PowerFi...
by phspaelti
2020-09-01 08:51:49
Forum: Nisus Writer Pro
Topic: Navigator Appearance Preferences
Replies: 2
Views: 3170

Re: Navigator Appearance Preferences

Hi Matt,
Not sure what is going wrong for you. It might help to position the windoids to the side so you can see what is happening. As you can see in my capture the change to the Navigator should take effect instantly.
https://youtu.be/RSN0GXCPsWc
by phspaelti
2020-08-28 06:53:41
Forum: Nisus Writer Pro Macros
Topic: Macro issues …
Replies: 11
Views: 9051

Re: Macro issues …

I can sort the notes out—it is the ruler in the notes that is not being respected—by selecting a note and choosing "All in this style" from the status bar in the window-foot and changing the ruler which is not too onerous, but it would be nice to automate it so they follow the style sheet. Why do s...
by phspaelti
2020-08-28 06:28:12
Forum: Nisus Writer Pro Macros
Topic: Macro issues …
Replies: 11
Views: 9051

Re: Macro issues …

Hello Mark, I'm getting a little confused about what the issue is and what you are trying to do. The note reference (in the document) is not really a number. It's some kind of special character. But it does seem to interrupt Find/Replace and can't seem to be found. (I thought this used to be differe...
by phspaelti
2020-08-27 17:40:45
Forum: Nisus Writer Pro Macros
Topic: Macro issues …
Replies: 11
Views: 9051

Re: Macro issues …

And my lack of experience with footnotes shows.
I just tried a simple test and see that the current version of default text does update existing footnotes. In which case these two macros can be assigned to the dustbin of history.
by phspaelti
2020-08-27 17:16:20
Forum: Nisus Writer Pro Macros
Topic: Macro issues …
Replies: 11
Views: 9051

Re: Macro issues …

Hello Mark, Sorry for the trouble with my macros. It might help to be clear on what you are trying to achieve. You call these macros, macros to "regularise Footnote and Endnote styles". That is not actually what these macros do, or indeed are intended to do. These macros were intended to solve the i...
by phspaelti
2020-08-26 16:17:46
Forum: Nisus Writer Pro Macros
Topic: Runaway Macro
Replies: 4
Views: 4340

Re: Runaway Macro

Here is a macro which does the same:

Code: Select all

Find and Replace '[\r\n]+(?=\X)', ' ', 'EasS'
Find and Replace ' +', ' ', 'EasS'
by phspaelti
2020-08-26 16:11:12
Forum: Nisus Writer Pro Macros
Topic: Runaway Macro
Replies: 4
Views: 4340

Re: Runaway Macro

Hello Allen, There is nothing wrong with this macro (unless you count it's ante-diluvian syntax :D ) . And when I try it, it runs without a hitch. The macro uses perl to remove carriage returns and reduce strings of spaces from the current selection. As an added benefit :P it will remove (or "flatte...
by phspaelti
2020-08-26 07:58:19
Forum: Nisus Writer Pro Macros
Topic: Macro to remove some applied formatting
Replies: 2
Views: 3400

Re: Macro to remove some applied formatting

Of course you can do this, but you may need to be a bit careful. Generally Nisus has commands to change formatting like: Set Bold isBold as it's described in the reference. So if you have everything selected and use Set Bold @false Then all bold is removed from your document. Interestingly enough th...
by phspaelti
2020-08-25 17:42:51
Forum: Nisus Writer Pro Macros
Topic: Macro command to Import from Style Library…
Replies: 8
Views: 10594

Re: Macro command to Import from Style Library…

vwnisus wrote:
2020-08-25 09:19:00
I do not know why I had an issue before...
Computers move in mysterious ways…
by phspaelti
2020-08-25 06:53:08
Forum: Nisus Writer Pro Macros
Topic: Macro command to Import from Style Library…
Replies: 8
Views: 10594

Re: Macro command to Import from Style Library…

In your new macro, you have "~/Dropbox…" where in the earlier versions you had "/Dropbox…" without the "~". Could that be it? Says Mark a complete non-programmer! :D Well the "~" is just an abbreviation for "/Users/victor" and that would seem to be where the "Dropbox" folder is located. In principl...
by phspaelti
2020-08-24 16:56:02
Forum: Nisus Writer Pro Macros
Topic: Highlight paragraphs with border(s)
Replies: 8
Views: 5898

Re: Highlight paragraphs with border(s)

It occurs to me that there is a workaround to checking for paragraph borders. If you check the (display) attributes you can see that the paragraph borders are included, as expected. So if you cast the attributes object to a string you can search in the string representation for the presence of the r...
by phspaelti
2020-08-23 17:59:44
Forum: Nisus Writer Pro Macros
Topic: Highlight paragraphs with border(s)
Replies: 8
Views: 5898

Re: Highlight paragraphs with border(s)

How can a user guess, reading the reference guide, the correct syntax for a specific command/property? Both are equally valid. I like to put parentheses when things get long. There are some circumstances when you are required to use parentheses, basically when you need to disambiguate something. Yo...