Search found 569 matches

by adryan
2023-06-22 13:14:26
Forum: Nisus Writer Pro
Topic: Entering UTF-8 code points in Find and Replace
Replies: 6
Views: 2366

Re: Entering UTF-8 code points in Find and Replace

G'day, Mark et al As an example, the Unicode code for lowercase "t" is U+0074. You can determine this either from the System's Character Viewer or (once an instance of the character is selected) from Nisus Writer's Formatting Examiner. The Find/Replace expression you want (in PowerFind Pro...
by adryan
2023-06-21 21:48:54
Forum: Nisus Writer Pro Macros
Topic: Change the Normal Style via Macro
Replies: 5
Views: 2695

Re: Change the Normal Style via Macro

G'day, Lou et al Why not just change it in the Style Sheet? Alternatively, as long as the cursor is situated within a paragraph with Normal Style (because that's the one you want to change), you could invoke a simple Macro with the following two lines (with your choice of font):– Format:Paragraph St...
by adryan
2023-05-30 00:11:45
Forum: Nisus Writer Pro Macros
Topic: Introducing Clipboarder (UPDATED)
Replies: 6
Views: 2991

Re: Introducing Clipboarder

G'day, Lou et al I'm afraid this is not working well for me at present. The Copy Macro fails to create a Saved Clipboards folder. If one is created manually, it remains empty on execution of the Macro. Also, the Copy Macro sometimes sets the contents of one of the Clipboards to "EMPTY CLIPBOARD...
by adryan
2023-05-27 19:27:18
Forum: Nisus Writer Pro Macros
Topic: Introducing Clipboarder (UPDATED)
Replies: 6
Views: 2991

Re: Introducing Clipboarder

G'day, Lou et al I like the way this is heading, as it makes the contents of multiple Clipboards more readily explicit than the inbuilt Clipboards Palette. However, it failed to create a Save Clipboards folder for me. I couldn't find one, and the Restore Macro says there are no Clipboards to restore...
by adryan
2023-04-24 08:19:17
Forum: Nisus Writer Pro
Topic: Switch to secondary font
Replies: 7
Views: 2077

Re: Switch to secondary font

G'day, all I also use Cliff's method for switching languages. By the way, it can be used for more than two languages (as can Philip's method). You need to be aware that this will probably change the keyboard layout, which may have other consequences. For example, Y and Z keys are interchanged on cha...
by adryan
2023-04-13 19:30:04
Forum: Nisus Writer Pro Macros
Topic: Macro Driven Undo Conundrum Solved
Replies: 5
Views: 2928

Re: Macro Driven Undo Conundrum Solved

G'day, Lou et al As is often the case, my comments are often directed at the assembled throng, rather than to the original poster. Just amplifying my previous comment, again for the less experienced: It’s a good idea to incorporate some sort of debugging device in your code at strategic points, so y...
by adryan
2023-04-13 14:23:40
Forum: Nisus Writer Pro Macros
Topic: Macro Driven Undo Conundrum Solved
Replies: 5
Views: 2928

Re: Macro Driven Undo Conundrum Solved

G'day, loulesko et al I'm not sure I would rely on an Undo command (in any application) to revert a file to its previous condition after a major operation. I think it's safer to work with a duplicate of the file. In relation to your use of the "Sleep" command, judicious use of the equivale...
by adryan
2023-02-25 14:13:57
Forum: Nisus Writer Pro
Topic: Sections — Feature Requests
Replies: 0
Views: 2868

Sections — Feature Requests

G'day, Martin et al We may already have touched on some of this before, but I thought it might be as well to address it again. I think the idea of having the Macro Language incorporate commands relating to Sections has already been advanced. Something else I would like to see is a pair of commands n...
by adryan
2023-02-25 13:33:07
Forum: Nisus Writer Pro Macros
Topic: Extend Line to Right Line Indent
Replies: 14
Views: 4588

Re: Extend Line to Right Line Indent

G'day, Philip et al I'd been successfully using our "Paragraph Straddling Section" Macro until I changed from manual hyphenation to automatic hyphenation, whereupon the line preceding the interposed Section failed to be extended to the Right Line Indent. If automatic hyphenation is enabled...
by adryan
2023-02-14 06:00:27
Forum: Nisus Writer Pro Macros
Topic: Find and replace using attributes works, but macro doesn't
Replies: 11
Views: 3782

Re: Find and replace using attributes works, but macro doesn't

G'day, davidmacd et al Again, knowing your document is crucial. It occurs to me that there may even be some relatively obvious distinction between your superscripts and the rest of the content that you could exploit. For example, you've been searching for every formatting-sensitive occurrence of an ...
by adryan
2023-02-14 03:31:32
Forum: Nisus Writer Pro Macros
Topic: Find and replace using attributes works, but macro doesn't
Replies: 11
Views: 3782

Re: Find and replace using attributes works, but macro doesn't

G'day, davidmacd et al First, I generally advise people considering extensive Find & Replace operations to know the contents of their document first. Obviously you do, as you are aware of multiple legitimate uses of en dashes in your document that mean that my simple offering will not suffice in...
by adryan
2023-02-13 15:42:08
Forum: Nisus Writer Pro Macros
Topic: Way to shade in gray every other paragraph
Replies: 2
Views: 2038

Re: Way to shade in gray every other paragraph

G'day, NisusUser et al Here's one way of going about it. I've chosen a pale orange, just to illustrate the idea. Find All @Text<\n.+\n>, 'Esa-i' Find All @Text<[^\n]>, 'Esa-i' Format:Paragraph Shading Pattern:10% Blend Format:Paragraph Shading Color:Orange I’d name this as “Shade Alternate Paragraph...
by adryan
2023-02-13 14:54:15
Forum: Nisus Writer Pro Macros
Topic: Find and replace using attributes works, but macro doesn't
Replies: 11
Views: 3782

Re: Find and replace using attributes works, but macro doesn't

G'day, davidmacd et al Maybe an easier solution would be to replace all your en dashes with hyphens, then replace just the hyphens in your superscripts with en dashes. You don’t need any fancy F/R expressions for this. The first part is simple. For the second part, you apply the Superscript command ...
by adryan
2023-02-10 06:31:32
Forum: Nisus Writer Pro Macros
Topic: Find and replace using attributes works, but macro doesn't
Replies: 11
Views: 3782

Re: Find and replace using attributes works, but macro doesn't

G'day, davidmacd et al

I see the same thing: F/R works, but not when Macroized.

Cheers,
Adrian
by adryan
2023-01-29 14:17:01
Forum: Nisus Writer Pro
Topic: Search/find any Hebrew characters
Replies: 2
Views: 1047

Re: Search/find any Hebrew characters

G'day, rabbijacobs et al

Insert the following expression (without quotation marks) in the "Find what" field of the Find & Replace window using PowerFind Pro: "[\u0590-\u05FF]"

Cheers,
Adrian