Search found 1300 matches

by phspaelti
2024-03-26 22:39:54
Forum: Nisus Writer Pro Macros
Topic: Document assembly
Replies: 4
Views: 68

Re: Document assembly

This isn't really an issue for mail merge. Generally you would have a form letter and in the context of the sentence you had written you would know if you wanted the genitive (a choice between his/her or his/hers) or you wanted the accusative/dative (a choice between him/her). So no grammar checking...
by phspaelti
2024-03-25 21:32:58
Forum: Nisus Writer Pro Macros
Topic: Document assembly
Replies: 4
Views: 68

Re: Document assembly

I'm pretty sure you could handle the cases you mention ("his/her", optional paragraph) using mail merge. But that doesn’t mean I would recommend it. You could also do any of the following: Create your own "mail merge". Create the default document with the replaceable fields marke...
by phspaelti
2024-02-18 18:31:48
Forum: Nisus Writer Pro
Topic: Feature request: copy-paste (drag & drop) of short formatted text
Replies: 1
Views: 131

Feature request: copy-paste (drag & drop) of short formatted text

I wonder if this might be possible. When copying and pasting attributed text, NWP does a good job of copying the formatting. If the text copied includes a whole paragraph it also copies the paragraph formatting, which is fine. But one place that I always have trouble is when the piece is just a shor...
by phspaelti
2024-01-17 23:03:27
Forum: The Blank Page
Topic: +++ sigh +++
Replies: 4
Views: 1356

Re: +++ sigh +++

Cheers Adrian, and all fellow Nisuoids!
I wish you all a happy and prosperous 2024.
Philip
by phspaelti
2024-01-13 21:25:37
Forum: Nisus Writer Pro
Topic: FR: Have font search string look for matches in entire font name, not merely from the beginning
Replies: 7
Views: 1619

Re: FR: Have font search string look for matches in entire font name, not merely from the beginning

I kept looking at this little search box and wondering "Where is this feature in NWP?". But now I realize you created this as a mock-up? The current implementation requires one to type directly in the font list. And you have to type 'swiftly' or it will keep jumping to the next letter. (&q...
by phspaelti
2024-01-13 19:54:07
Forum: The Blank Page
Topic: +++ sigh +++
Replies: 4
Views: 1356

+++ sigh +++

Every minute spent using MicroSoft Word feels like 10 minutes of my life wasted. Why can't the world choose a better standard like Nisus Writer :love: ?

My apologies for posting this here. I just wanted to relieve my frustration :P
by phspaelti
2023-12-14 06:45:49
Forum: Nisus Writer Pro
Topic: Setting up Nisus Writer in a second account
Replies: 9
Views: 2858

Re: Setting up Nisus Writer in a second account

I keep all of those things on my iCloud Drive. That way they transfer across my devices. The same should work for different accounts.
Or you could keep them in the shared folder.
by phspaelti
2023-09-25 15:52:01
Forum: Nisus Writer Pro Macros
Topic: Date confusion
Replies: 2
Views: 2117

Re: Date confusion

Methinks the "inclusive" is misleading. ".hour12" returns a value in the range 0-11, which frankly is the desired behavior.
".hour" will return a value in the 0-23 range, so 12PM will return 12 while 12AM will return 0.
by phspaelti
2023-09-18 01:08:29
Forum: Nisus Writer Pro
Topic: Prevent table splitting?
Replies: 13
Views: 16096

Re: Prevent table splitting?

ThosGreen wrote: 2023-09-14 06:34:36Or has anyone written a macro for the job?
This should do it:
Insert PageBreak before Tables.nwm
(6 KiB) Downloaded 141 times
by phspaelti
2023-08-31 07:04:11
Forum: Nisus Writer Pro Macros
Topic: Manipulating cells in a matrix
Replies: 4
Views: 1344

Re: Manipulating cells in a matrix

So putting it all together into a single macro: # Get the table $doc = Document.active $table = $doc.text.tables[0] # The list of cells to be selected $cellList = Array.new "00", "21", "24" # Make the selection $selectionArray = Array.new foreach $str in $cellList $nums...
by phspaelti
2023-08-31 06:43:46
Forum: Nisus Writer Pro Macros
Topic: Manipulating cells in a matrix
Replies: 4
Views: 1344

Re: Manipulating cells in a matrix

Now addressing what I assume is your real question: Let‘s say the result is $out = ("00", "21", "24") My question is: How can I do the inverse: How can I select the 3 cells, knowing there position in the matrix? You can create table selections as follows: $sel = TableSe...
by phspaelti
2023-08-31 06:30:54
Forum: Nisus Writer Pro Macros
Topic: Manipulating cells in a matrix
Replies: 4
Views: 1344

Re: Manipulating cells in a matrix

This problem is very technical, and due to the way the Nisus coders have implemented evaluation of expressions. In the first iteration you were not allowed to combine different operators on a line. Currently the implementation is more powerful, but in case of doubt or problems you should use parenth...
by phspaelti
2023-08-21 02:10:15
Forum: Nisus Writer Pro Macros
Topic: Select All in Highlight
Replies: 7
Views: 1774

Re: Select All in Highlight

As to the problem: The macro works fine with contiguous text. But I need it also with a table which has some of its elements marked with that highlight. While the menu at the bottom of the page selects the elements as expected, the macro does not. Can you see why? Yes, of course. My macro crudely u...
by phspaelti
2023-08-20 13:08:08
Forum: Nisus Writer Pro Macros
Topic: Select All in Highlight
Replies: 7
Views: 1774

Re: Select All in Highlight

Hey Þorvarður, [Is it] possible to create a macro that selects All in Highlight. I think Kino's macro "SelectByColor" does exactly that. I don't know that one. Though Color and Highlight (color) are not really the same thing. The former affects the text/font, while the latter is a special ...
by phspaelti
2023-08-20 09:49:10
Forum: Nisus Writer Pro Macros
Topic: Select All in Highlight
Replies: 7
Views: 1774

Re: Select All in Highlight

Here is a quick example of how to do this. The ugly bit is that it prompts the user with color objects which are hard to read.