Search found 1077 matches

by phspaelti
2020-05-29 00:28:41
Forum: Nisus Writer Pro Macros
Topic: Resize Window (newbie)
Replies: 4
Views: 60

Re: Resize Window (newbie)

Hi Ted,
I guess I thought this was a bit of code you had ripped from a complete macro. :wink:
Of course for this code to work you will have to first define the variable $doc. So for example:

Code: Select all

$doc = Document.active
$doc.windowOrigin = Size.new 780, 50
$doc.windowSize = Size.new 817, 2111
by phspaelti
2020-05-28 23:06:32
Forum: Nisus Writer Pro Macros
Topic: Resize Window (newbie)
Replies: 4
Views: 60

Re: Resize Window (newbie)

Try

Code: Select all

$doc.windowOrigin = Size.new 780, 50
$doc.windowSize = Size.new 817, 2111
by phspaelti
2020-05-22 18:03:02
Forum: Nisus Writer Pro
Topic: Merging documents
Replies: 5
Views: 788

Re: Merging documents

Just back to my original suggestion: Merging the changed docs is not going to work, but displaying all changes together is possible. One version of such a macro can be made very easily using NWP's super-duper Show Find Results command. Here is the resulting macro: Show Tracked Changes (by doc).nwm T...
by phspaelti
2020-05-22 09:16:01
Forum: Nisus Writer Pro
Topic: Merging documents
Replies: 5
Views: 788

Re: Merging documents

While what Martin says is of course true, provided all drafts started from the same original, one could write a macro that created an inventory of all the changes and listed them in document order for each of the drafts. These edit lists could then be combined and again sorted by edit location order...
by phspaelti
2020-05-01 03:06:29
Forum: Nisus Writer Pro
Topic: Can't save a new collection to the the Style Library
Replies: 8
Views: 1086

Re: Can't save a new collection to the the Style Library

Amontillado wrote:
2020-04-30 18:47:14
When I click the plus button in the document manager, I get three options, add custom group, add folder group, and add filter group.
Meaning you don't get a Add Special Group option?
I take it that's the standard behavior. You already have all the special groups, so there are none available.
by phspaelti
2020-04-28 02:39:53
Forum: Nisus Writer Pro
Topic: Links between documents
Replies: 7
Views: 728

Re: Links between documents

In the case of the page number there is no delimiter. If I add another slash it just interprets that as another level of file path and looks for the file page2 . Nick, there is supposed to be a delimiter, namely a "?". The "page=XX" is a query in this URL. Also the "Unix file path including leading...
by phspaelti
2020-04-26 07:29:36
Forum: Nisus Writer Pro
Topic: Copy-and-paste table-rows
Replies: 5
Views: 356

Re: Copy-and-paste table-rows

Place the insertion point
Screen Shot 2020-04-27 at 24.19.09 .png
Screen Shot 2020-04-27 at 24.19.09 .png (32 KiB) Viewed 325 times
Paste
Screen Shot 2020-04-27 at 24.18.48 .png
Screen Shot 2020-04-27 at 24.18.48 .png (24.81 KiB) Viewed 325 times
by phspaelti
2020-04-26 07:28:36
Forum: Nisus Writer Pro
Topic: Copy-and-paste table-rows
Replies: 5
Views: 356

Re: Copy-and-paste table-rows

I'm not sure why you need to to do step 3, but I also don't see why that would hurt. My main question is; you say "This does not work for me." What doesn't work about it? You'll have to describe the problem, if you want some more help. For me these steps work fine. There are other ways you can do th...
by phspaelti
2020-04-26 02:31:12
Forum: Nisus Writer Pro
Topic: Copy-and-paste table-rows
Replies: 5
Views: 356

Re: Copy-and-paste table-rows

Copy or move?
  1. Select lines 10-19. Make sure to select the whole line(s), for example use <option><command>A to select.
  2. Copy (<command>C) or Cut(<command>X) for moving.
  3. Place the insertion point at the start of the content of the leftmost/first cell in Row 1 of the table
  4. Paste
by phspaelti
2020-04-23 23:59:49
Forum: Nisus Writer Pro Macros
Topic: add line number to a selected text
Replies: 4
Views: 791

Re: add line number to a selected text

Limiting such macros to selections is actually a pain, since those selections exist only in the GUI. For that kind of macro, it might make more sense to go with variant 1. But I have adjusted it anyway :D Of course the results will only be as sensible as the selection you run them on. (Should work f...
by phspaelti
2020-04-23 18:40:52
Forum: Nisus Writer Pro Macros
Topic: add line number to a selected text
Replies: 4
Views: 791

Re: add line number to a selected text

Hello Nobumi, It's been a while :wink: The first thing to do for this problem is to decide on a reasonable algorithm for how to do this. There is one problem though. Humans would just proceed from front to back, but as I'm sure you know, adding such numbers works best in reverse. That can only be do...
by phspaelti
2020-04-22 08:32:24
Forum: Nisus Writer Pro
Topic: Selecting cels in a table
Replies: 3
Views: 339

Re: Selecting cels in a table

I guess I don't see the difficulty. But then I've never consulted the manual on this :P Click in one cell. Then hold <Shift> and click in another cell. This will select the span including those two cells. You can extend using shift with the arrow keys. Shift-Command-A and Option-Command-A work to se...
by phspaelti
2020-04-20 21:49:07
Forum: Nisus Writer Pro
Topic: Library of styles
Replies: 10
Views: 2613

Re: Library of styles

You should drag the style to the actual document window, not the palette. If you hover over the document it should give you a green "+". That will let you know that the style is being added. :P :drunk: :P Okay. And I stand corrected. First, apparently you need to drag onto the palette after all. Ei...
by phspaelti
2020-04-20 21:35:24
Forum: Nisus Writer Pro
Topic: Library of styles
Replies: 10
Views: 2613

Re: Library of styles

Not quite there. How do I drag from Library to the current list of style in the new document I have opened? Note attached screen shot of what happens to me when I try to do that. Hi Ray, Wow that screen shot is a work of art 8) I guess my explanation was not that great after all. You should drag th...
by phspaelti
2020-04-17 05:07:56
Forum: Nisus Writer Pro
Topic: Is this possible?
Replies: 11
Views: 701

Re: Is this possible?

Okay. Well you can try the following, and see if it excludes the right bits from your collection.
Collect paren and bracket bits on Clipboard.nwm
(5.95 KiB) Downloaded 44 times