Search found 1300 matches

by phspaelti
2013-11-26 23:48:29
Forum: Nisus Writer Pro
Topic: Swapping Rows and Columns of a Table
Replies: 7
Views: 8676

Re: Swapping Rows and Columns of a Table

And here's an updated macro.
Swap Rows and Columns.nwm
(24.09 KiB) Downloaded 480 times
by phspaelti
2013-11-26 23:43:23
Forum: Nisus Writer Pro Macros
Topic: Macro for setting paragraph space after/before
Replies: 6
Views: 14049

Re: Macro for setting paragraph space after/before

martin wrote:The just released Nisus Writer Pro 2.0.7 includes macro commands that supply this deficiency in controlling paragraph spacing. The newly added commands are:
Great!
by phspaelti
2013-11-25 02:08:46
Forum: Nisus Writer Pro
Topic: Dictionary
Replies: 6
Views: 7096

Re: Dictionary

One more point is the question of sort order. The macro should currently use the system language for the sort order. If some other order is necessary/desired this can be adjusted, though I have not tested this at all. In the macro at the beginning there are some lines specifying a language object, w...
by phspaelti
2013-11-25 01:57:37
Forum: Nisus Writer Pro
Topic: Dictionary
Replies: 6
Views: 7096

Re: Dictionary

Hi. I'm not sure what you mean. Did it work, or not? Here is a stupid example file. In this example If you run the macro on the selection it should give you a choice of styles. Choose 'keyword' and the file will be sorted. Sort by keyword test.rtf Note: I tried downloading the file and for some reas...
by phspaelti
2013-11-25 00:20:56
Forum: Nisus Writer Pro
Topic: Dictionary
Replies: 6
Views: 7096

Re: Dictionary

An alternative is to not use a table. Instead have the dictionary entries in a specific paragraph style ("Head word" or "Key word"). Then the paragraphs can be sorted using a macro. I am attaching a macro here that I wrote for this purpose. The macro asks the user to choose a sty...
by phspaelti
2013-11-20 04:26:31
Forum: Nisus Writer Pro Macros
Topic: Macro form of Find (and Replace) not illustrated in Manual
Replies: 2
Views: 8302

Re: Macro form of Find (and Replace) not illustrated in Manu

While I sort of see your point, the problem is no different from any other argument. Throughout the macro reference there are many arguments for many different commands, and they all work the same: you can specify them as explained in the Literals section, or you can pass them as variables. In the c...
by phspaelti
2013-11-15 22:24:04
Forum: Nisus Writer Pro
Topic: Keep footnotes together
Replies: 3
Views: 5050

Re: Keep footnotes together

I thought the point of footnotes was to have them on the same page as the reference, something usually done for the convenience of the reader. The alternative is to have end- or section notes something usually done for the convenience of the printer, but usually quite annoying for readers. So you're...
by phspaelti
2013-11-15 21:24:44
Forum: Nisus Writer Pro
Topic: Document always opens with top half way down the screen
Replies: 15
Views: 18110

Re: Document always opens with top half way down the screen

… I move it to the top (like most files), then close it, … Do you mean: … move to the top, save it , then close it, …? Nisus will not save the changed position automatically, and auto-save only kicks in if there is an editing action involved. If saving does not have any effect I'd consider sending ...
by phspaelti
2013-11-15 07:03:57
Forum: Nisus Writer Pro
Topic: Export List of Menu Keys?
Replies: 5
Views: 6005

Re: Export List of Menu Keys?

And there is another feature of Menu Shortcuts that's interesting: it gives the entire menu path of the commands. It would be nice if the Menu object also had such a property.
by phspaelti
2013-11-15 05:40:47
Forum: Nisus Writer Pro
Topic: Export List of Menu Keys?
Replies: 5
Views: 6005

Re: Export List of Menu Keys?

I'm attaching an alternative macro which does a couple things differently: 1. The list includes not only shortcuts for all menus currently in existence, but also those which could exist later. For example, a document may have a "Heading 1" style (and corresponding menu) that does not exis...
by phspaelti
2013-11-14 01:10:23
Forum: Nisus Writer Pro
Topic: When are macros visible in the Finders Column view?
Replies: 12
Views: 13250

Re: When are macros visible in the Finders Column view?

Just to come back to this once more. the following works and creates such a legible preview anytime you want: Change the macro extension to .rtf Open the macro, save, and close Change the extension back to .nwm And the result is that you have a working macro and a legible preview. Alternatively just...
by phspaelti
2013-11-14 00:36:24
Forum: Nisus Writer Pro Macros
Topic: Select by Style macro
Replies: 2
Views: 8131

Re: Select by Style macro

I especially enjoy seeing the use of the "getProperty" command to dynamically loop through the different style types. Yes, it was great to find a use for that :) There are a couple of other interesting commands in Nisus' macro language. My favorite is .arrayByMakingValuesDoCommand which I...
by phspaelti
2013-11-13 20:33:08
Forum: Nisus Writer Pro
Topic: Export List of Menu Keys?
Replies: 5
Views: 6005

Re: Export List of Menu Keys?

I'm sure you'll not be surprised to hear that it's possible to write a macro for that :) Get All Menu Commands.nwm The macro retrieves all the menu commands and then creates a list. The order is that of a "breadth first search". The output contains only those commands that have a shortcut ...
by phspaelti
2013-11-13 08:06:03
Forum: Nisus Writer Pro Macros
Topic: Select by Style macro
Replies: 2
Views: 8131

Select by Style macro

The following macro is a little demonstration of the increasing power of Nisus' macro language. A long time ago Kino wrote a series of macros to do "Select by" for various properties including styles. (I believe these may be supplied among the standard set in the "Find" folder.) ...
by phspaelti
2013-11-12 21:48:45
Forum: Nisus Writer Pro
Topic: Efficiency/Workflow: Make Tracked Changes' text selectable
Replies: 4
Views: 7791

Re: Efficiency/Workflow: Make Tracked Changes' text selectab

ssampler wrote: You have to copy everything, so keep an empty document handy as a scratch pad.
An often forgotten feature of Nisus is that you can edit the clipboard. So you really don't need to keep an empty document as a scratch pad.