Search found 327 matches

by adryan
2015-06-21 04:47:22
Forum: Nisus Writer Pro
Topic: How to change default glyph variant
Replies: 2
Views: 2113

Re: How to change default glyph variant

How to change default glyph variant G’day, WF et al This question has remained unanswered for some time, so I thought I might venture some thoughts. The easiest thing would be to choose a different font that acts in the desired manner. Alternatively, one might use Hack-a-Font (fictitious name) softw...
by adryan
2015-06-20 01:40:14
Forum: Nisus Writer Pro
Topic: Header page numbers aligned on margin with centered header t
Replies: 2
Views: 2014

Re: Header page numbers aligned on margin with centered head

G’day, Dan et al Welcome to the Forum, Dan. I see Mark has just beaten me to the reply. Same idea, but I’ve spelt it out a bit more, step-by-step fashion, so I’ll post it just in case it helps. First of all, we (almost!) never use spaces for formatting. It is easy (and more elegant!) to achieve what...
by adryan
2015-05-26 04:17:08
Forum: Nisus Writer Pro
Topic: Saving a Nisus file as a csv file to import into Filemaker
Replies: 2
Views: 1766

Re: Saving a Nisus file as a csv file to import into Filemak

G’day, dumiya et al

Try saving the file as Plain Text, with .txt file extension. Then, in the Finder, change the .txt extension to .csv. Numbers opens such a file as a spreadsheet table in the manner you would expect.

Cheers,
Adrian
by adryan
2015-04-09 02:20:43
Forum: Nisus Writer Pro
Topic: Character Attribute Colors
Replies: 2
Views: 1930

Re: Character Attribute Colors

G’day, foster13 et al

Format > Underline > Show Underline Colors
Format > Strikethrough > Show Strikethrough Colors
Format > Highlight > Show Highlight Colors

The macro language has commands for setting such colors.

Hope this helps.

Cheers,
Adrian
by adryan
2015-04-07 02:57:57
Forum: Nisus Writer Pro Macros
Topic: Add Remove Blank Lines
Replies: 8
Views: 8770

Re: Add Remove Blank Lines

G’day, all Actually, I’ve made what I think is an improvement:– # Ensure something is selected. $textExpression = Read Selection If $textExpression == '' $proceed = Prompt "You need to select some text first…", '', 'OK, I will.' If $proceed == 'OK, I will.' While $textExpression == '' Sleep '1' $tex...
by adryan
2015-04-06 17:39:54
Forum: Nisus Writer Pro Macros
Topic: Add Remove Blank Lines
Replies: 8
Views: 8770

Re: Add Remove Blank Lines

G’day, Þorvarður et al

Great idea! I’ll use it. Thanks.

Cheers,
Adrian
by adryan
2015-04-02 14:04:35
Forum: Nisus Writer Pro Macros
Topic: Add Remove Blank Lines
Replies: 8
Views: 8770

Re: Add Remove Blank Lines

G’day, exegete77 et al On my system, the current version of the Add or Remove Blank Lines macro is a .nwm file rather than a .pl one:– $count = Find and Replace ‘\n\n+’, ‘\n’, ‘Eas’ If 0 == $count Find and Replace ‘\n’, ‘\n\n’, ‘Eas’ End It works fine when adding or removing blank lines, but one has...
by adryan
2015-03-28 00:54:39
Forum: Nisus Writer Pro Macros
Topic: Save vs Apple versioning (?) problem
Replies: 18
Views: 16636

Re: Save vs Apple versioning (?) problem

G’day, Martin et al

NWP 2.1.1 beta 2 does indeed fix the issues I had with AppleScript's calling (via “Do Menu Macro” commands) Nisus macros that include paragraph spacing and a Save command.

Thanks, Martin.

Cheers,
Adrian
by adryan
2015-03-22 18:35:42
Forum: Nisus Writer Pro Macros
Topic: Save vs Apple versioning (?) problem
Replies: 18
Views: 16636

Re: Save vs Apple versioning (?) problem

G’day, all More on the subject of the grey " — Edited" suffix in the Toolbar…. I have an AppleScript script that:– (1) gets data from a Mail message (2) uses the Finder to open an RTF destination file (which opens in Nisus Writer Pro); it contains the dummy text “XXXX” followed by a paragraph return...
by adryan
2015-03-22 15:47:26
Forum: Nisus Writer Pro
Topic: How to cut first paragraph of a document in AppleScript
Replies: 8
Views: 2788

Re: How to cut first paragraph of a document in AppleScript

G'day, Philip et al I was interested to see Philip's use of "\A" as a metacharacter for the Special Position "Start of Document". I had been looking for such an object for a long time but couldn't find one. It appears to be undocumented (in both NWP Help and the Macro Language Reference). By analogy...
by adryan
2015-03-05 18:46:20
Forum: Nisus Writer Pro Macros
Topic: How to delete multiple occurrences of identical paragraphs?
Replies: 3
Views: 5857

Re: How to delete multiple occurrences of identical paragrap

G’day, Þorvarður et al

Just for the record, note that Philip’s solution only works when the replicated paragraphs are contiguous. But one can easily ensure this by first using one of the Sort Paragraphs commands in the Edit menu.

Cheers,
Adrian
by adryan
2015-03-05 16:16:00
Forum: Nisus Writer Pro
Topic: Captions with Chapter Number
Replies: 10
Views: 3730

Re: Captions with Chapter Number

G’day, Þorvarður et al Depending on how one wishes to proceed, one can initialize a chapter number variable thus:– $chapter = 0 or one can find it thus:– Find 'Chapter ([[:digit:]]+)', 'E$', '-h' $chapter = $1 A complexity with my proposed approach arises because image captions are not part of the m...
by adryan
2015-03-05 01:29:51
Forum: Nisus Writer Pro
Topic: Captions with Chapter Number
Replies: 10
Views: 3730

Re: Captions with Chapter Number

G’day, schac et al I’ve never done this before, so I did some experimentation. It’s certainly not obvious how to proceed. I, too, used a list and also faced the problem of prefixing the list item number with the chapter number. I managed to get it to work without using Þorvarður’s ingenious use of r...
by adryan
2015-03-01 00:48:11
Forum: Nisus Writer Pro
Topic: How do you find all word forms?
Replies: 7
Views: 4535

Re: How do you find all word forms?

G’day, Emilio et al

There is a macro that might do want you want:–

Macro > Document > Create Word List (v4)

Cheers,
Adrian
by adryan
2015-02-28 18:06:19
Forum: Nisus Writer Pro
Topic: Justification, Tracking, Kerning - available tools?
Replies: 3
Views: 2497

Re: Justification, Tracking, Kerning - available tools?

G’day, WF et al The first thing you need to ask yourself is: Is it absolutely necessary to have your text fully justified? Fully justified text can never look “perfect” everywhere: the best you can hope for is that it looks “good enough” most of the time. Some things that can make a difference:– (1)...