Search found 989 matches

by phspaelti
2018-12-21 07:47:08
Forum: Nisus Writer Pro
Topic: To Bold all text between parentheses
Replies: 7
Views: 4419

Re: To Bold all text between parentheses

Hello aghazzawi, However, what is the way to know which "string" to use for different situations? For example, even if I figured out using 1+Shortest, I would not have guessed to precede it with AnyCharacter. That's a very good question. Unfortunately there is not really an easy answer. Here are som...
by phspaelti
2018-12-07 08:50:20
Forum: Nisus Writer Pro Macros
Topic: Window objects
Replies: 2
Views: 2692

Re: Window objects

This is not correct. The window position and size for a document window can be accessed and also changed using the Nisus macro language.This is done using document properties: $doc.windowOrigin and $doc.windowSize (I'm pretty sure I have posted a macro example like that on this forum somewhere.) But...
by phspaelti
2018-11-26 23:35:31
Forum: Nisus Writer Pro
Topic: Nonstandard Page Numbering
Replies: 5
Views: 3187

Re: Nonstandard Page Numbering

Yeah. That greyed out "Restart At" box is probably confusing. That box becomes active if you have multiple sections, since once you have a second section you can re- start the numbering. But it would be nice if Nisus could have the label display "Start at" in the first section, instead of the greyed...
by phspaelti
2018-11-21 04:29:17
Forum: Nisus Writer Pro Macros
Topic: Case Sensitivity?
Replies: 3
Views: 3113

Re: Case Sensitivity?

Generally the rule is: Variable names, Menu Command names, as well as Object names along with their properties and commands are all case sensitive. Macro language keywords ('if', 'foreach', etc.) are not. I think the basic division is reasonable. The property and command names use a camelCase system...
by phspaelti
2018-11-20 18:24:27
Forum: Nisus Writer Pro
Topic: PDF Opens One Page Only
Replies: 6
Views: 3397

Re: PDF Opens One Page Only

Hello Vance, if you want to insert single pages of a pdf into a Nisus document, you could use the following procedure. First extract the page images from the pdf into a folder. (I use a program like Graphic Converter for this). Then you can use a macro like this to insert them into the Nisus documen...
by phspaelti
2018-11-19 17:35:01
Forum: Nisus Writer Pro
Topic: List formatting
Replies: 14
Views: 7654

Re: List formatting

And a short addition. To make inserting a Heading style more convenient one can use a macro like the following to insert the Heading style. Just attach the macro to the preferred shortcut for the heading style. Type Newline # Optional convenience Paragraph Style:Heading 1 if Find '^.+\t', 'Eb' Chara...
by phspaelti
2018-11-19 16:28:41
Forum: Nisus Writer Pro
Topic: List formatting
Replies: 14
Views: 7654

Re: List formatting

One possibility is that of using a character style to remove formatting of this kind. While the following solution is a kludge it can be made to work. While a character style cannot directly be given a feature "Unbold" or "No Underline", the trick is to first define a "dummy" character style with al...
by phspaelti
2018-11-19 09:10:13
Forum: Nisus Writer Pro
Topic: Two Language Fonts in Styles?
Replies: 4
Views: 2459

Re: Two Language Fonts in Styles?

Actually the keyboard is associated with the language attribute. You should go to Preferences > Language , then choose the language. Then you can set dictionaries, and preferred keyboard settings as appropriate for the language. Font behavior can also be set there. So depending on how you work just ...
by phspaelti
2018-11-19 08:12:13
Forum: Nisus Writer Pro
Topic: Two Language Fonts in Styles?
Replies: 4
Views: 2459

Re: Two Language Fonts in Styles?

There is no way to tell a single style that "these characters should be in font A and those characters in font B". But (what I think) is the better way to handle such situations is to create "language" character styles. So in your case you could create a character style "Hebrew", and attach the lang...
by phspaelti
2018-11-18 03:53:34
Forum: Nisus Writer Pro
Topic: Text colors change in Nisus 2 and 3
Replies: 10
Views: 5292

Re: Text colors change in Nisus 2 and 3

xiamenese wrote:
2018-11-18 01:02:16
Are the rest of you using 10.14(.1)? Is it something 10.14 has brought in?
Indeed. I am currently testing this on 10.14.1.
by phspaelti
2018-11-17 20:41:07
Forum: Nisus Writer Pro
Topic: Hotkeys for paragraph styles
Replies: 9
Views: 4781

Re: Hotkeys for paragraph styles

DoctorDan wrote:
2018-11-17 20:38:13
I think the documentation and the menus would be clearer if they said “cmd-h cmd-3” because that is really the way the system sees it and it’s more instructive to the user
Well no. That is not how it works. That makes it look like you have to press twice.
by phspaelti
2018-11-17 20:39:21
Forum: Nisus Writer Pro
Topic: Hotkeys for paragraph styles
Replies: 9
Views: 4781

Re: Hotkeys for paragraph styles

Thanks, if that’s in the manual, I couldn’t find it. Kind of critical to know however. You're referring specifically to the need to hold the command key while typing the full shortcut? I just checked in the manual, and as far as I can see, it seems you are right. Well that manual is quite a work of...
by phspaelti
2018-11-17 20:19:00
Forum: Nisus Writer Pro
Topic: Text colors change in Nisus 2 and 3
Replies: 10
Views: 5292

Re: Text colors change in Nisus 2 and 3

I hadn't really paid attention to this before, but I can confirm what Xuanying is saying: If I insert the text color Red from the menu I do not get (255, 0, 0) in NWP 3.0. Instead I get (251, 0 , 6). That's kind of a drag. One notable clue is that Kino's "Select by Attribute" macro seems unable to "...
by phspaelti
2018-11-17 16:22:02
Forum: Nisus Writer Pro
Topic: Hotkeys for paragraph styles
Replies: 9
Views: 4781

Re: Hotkeys for paragraph styles

Hi Dan, the "hotkeys" you are referring to are also known as multi-key shortcuts. You will need to keep holding the command key while you type them. So press and hold <command>, and type H-3 before you let go. Nisus allows you to define shortcuts of up to 3 keys in length. [Having said that, my shor...
by phspaelti
2018-11-14 06:26:59
Forum: Nisus Writer Pro Macros
Topic: Selecting paragraph and formatting
Replies: 6
Views: 3682

Re: Selecting paragraph and formatting

Since we're on the topic, I decided to try an experiment. I tried to use applescript to write a script to highlight every paragraph where the second letter was an "i". Not a particularly sensible task, but just something to test. I ran it on a list of words with about 1,500 paragraphs. The applescri...