Search found 1300 matches

by phspaelti
2011-09-16 18:39:14
Forum: Nisus Writer Pro Macros
Topic: A macro to do macros
Replies: 11
Views: 17683

Re: A macro to do macros

After yesterday's macro writing lesson here a different approach. The following macro will create a "Find and Replace" macro for each word in the selection. It isn't really "one click" though. The user will be prompted to give a replacement for each unique word in the selection. ...
by phspaelti
2011-09-16 00:56:14
Forum: Nisus Writer Pro Macros
Topic: A macro to do macros
Replies: 11
Views: 17683

Re: A macro to do macros

Hello Pat, what you want is not really too difficult, but the way you state your request is still underspecified. Here first a hint at how one can make such a macro. You can do it using the macroize function :o Open the Find box, switch to Powerfind Write "hello" in the find box and "...
by phspaelti
2011-09-12 19:01:47
Forum: Nisus Writer Pro
Topic: Find problem
Replies: 14
Views: 21348

Re: Find problem

Did you check under "Character Case" > "Display as Small Caps"?
Alternatively there is also under Edit > Convert > "To Small Caps".

The two varieties find different things.
by phspaelti
2011-09-06 21:03:04
Forum: Nisus Writer Pro
Topic: Setting heading numbering font different from heading font
Replies: 5
Views: 8129

Re: Setting heading numbering font different from heading fo

Ok, I see that I was too dismissive. Indeed one can apply style attributes to the List levels individually, and they carry through. That's nice :love: . There are two limitiations that I see however, one in particular is likely to be a problem for blakers. First one can only apply attributes, but no...
by phspaelti
2011-09-06 20:06:24
Forum: Nisus Writer Pro Macros
Topic: More clipboard tools - smart cut, smart copy.
Replies: 2
Views: 8185

Re: More clipboard tools - smart cut, smart copy.

Hi Lou, congratulations on your cool macros! :) I did find one issue however. For users (like me) who have some clipboards that are not named according to the schema "Clipboard n" this can lead to an infinite loop which generates a never-ending list of clipboards. The problem is that as th...
by phspaelti
2011-09-06 16:58:18
Forum: Nisus Writer Pro Macros
Topic: Style Libraries
Replies: 3
Views: 11051

Re: Style Libraries

Code: Select all

$doc.addStyles($styleText, 'replace')
Ah, that was the key command I was looking for.
by phspaelti
2011-09-05 00:46:20
Forum: Nisus Writer Pro
Topic: Tiered numbered headings problems
Replies: 7
Views: 7127

Re: Tiered numbered headings problems

OK, the problem seems to be something very technical, but here it is. Even though your Heading styles have the "Headings" List style attached, you seem to have fiddled with the List Style definition independently. This seems to mean that the List Style of the Heading Style is not really th...
by phspaelti
2011-09-04 23:06:43
Forum: Nisus Writer Pro
Topic: Tiered numbered headings problems
Replies: 7
Views: 7127

Re: Tiered numbered headings problems

Well just to be clear I have: Heading 1 defined including Tiered List Style Heading 2 based on Heading 1 with List level increased Heading 3 based on Heading 2 with List level increased And the result works for me. I am attaching my sample. If you want you can post your file and I (or somebody) will...
by phspaelti
2011-09-04 22:41:46
Forum: Nisus Writer Pro
Topic: Tiered numbered headings problems
Replies: 7
Views: 7127

Re: Tiered numbered headings problems

Have you checked the List Style Preference? Go to the style sheet, select the List Style you are using for the numbering and make sure that "Continue numbering across document content" is checked.
by phspaelti
2011-09-04 01:31:14
Forum: Nisus Writer Pro
Topic: Setting heading numbering font different from heading font
Replies: 5
Views: 8129

Re: Setting heading numbering font different from heading fo

There is no built-in way to do this, but you can try one of the following: You can apply style definitions to the List Style. I actually don't recommend this, because List Styles seem to turn flaky when given style attributes. A better solution is to use a character style on the numbers. To avoid th...
by phspaelti
2011-09-01 04:56:39
Forum: Nisus Writer Pro Macros
Topic: Text manipulation
Replies: 2
Views: 7646

Re: Text manipulation

In the Nisus provided "Sum Selection" macro you'll find that the first line reads: $numbers = Read Selection I bet that you can figure out what that does. Now there are basically two approaches. Since your find command selects something like "[123]" you can either read the whole ...
by phspaelti
2011-08-11 01:53:56
Forum: Nisus Writer Pro
Topic: Blinking coloured I-Beam also in Draft View
Replies: 6
Views: 7526

Re: Blinking coloured I-Beam also in Draft View

Colored text in draft view definitely does appear colored in draft view. (Full screen is a different matter.) But I also just checked the (blinking) cursor. You are right the cursor color is not carried over to draft view. That must be a bug. You should report it.
by phspaelti
2011-07-29 22:35:35
Forum: Nisus Writer Pro Macros
Topic: Simple Macro not working
Replies: 8
Views: 13275

Re: Simple Macro not working

Hello again, I have downloaded your files and I even had a look at the movie. Well you are doing everything correctly. That is how it should work. I have identfied the culprit that is preventing your macro from finding anything, and it is a ruler. I don't know how it got there, but if you remove it ...
by phspaelti
2011-07-12 02:12:34
Forum: Nisus Writer Pro
Topic: Search for paragraph attributes Space Before and Indents
Replies: 5
Views: 4261

Re: Search for paragraph attributes Space Before and Indents

2. Thanks also for the macro template. But based on the first line of your macro: Find All '.+', 'Eu' how do I set other amounts than 2 pts, eg. 4 pt or 12 pt? How to indicate space after? I also tried creating 2 macros from a Find for 2 pt space before and another for 4 pt space before and they bo...
by phspaelti
2011-07-12 01:38:55
Forum: Nisus Writer Pro Macros
Topic: Simple Macro not working
Replies: 8
Views: 13275

Re: Simple Macro not working

Thanks for all the quick replies. I should have mentioned that the macroized version does not work. You did mention this. And I think we have narrowed 'doesn't work' down to an attribute problem. So I hope we can help you get to the bottom of this. Probably you pasted the macroized code into a docu...