Search found 928 matches

by phspaelti
2018-11-12 21:20:12
Forum: Nisus Writer Pro Macros
Topic: Selecting paragraph and formatting
Replies: 3
Views: 40

Re: Selecting paragraph and formatting

And one comment on this: A search of the Nisus Macro forum produced: tell application "Nisus Writer Pro" set doctext to text of front document set para to paragraph 1 of doctext end tell This code will basically extract the text from the first paragraph of the document and put it into a container in...
by phspaelti
2018-11-12 20:48:06
Forum: Nisus Writer Pro Macros
Topic: Selecting paragraph and formatting
Replies: 3
Views: 40

Re: Selecting paragraph and formatting

Just to be clear, it isn't just the choice of applescript that is going to make this clunky, it's the whole approach to doing things. If your goal is to format a document, I just wouldn't go through the document one paragraph at a time. This might work as a "demonstration object" (a proof of concept...
by phspaelti
2018-11-12 07:26:25
Forum: Nisus Writer Pro
Topic: Convert return separated text to table
Replies: 7
Views: 96

Re: Convert return separated text to table

The macro worked but I will need to study this to see WHY it worked! :D The crucial line of the macro is the one which selects N lines of text, excluding the last return. For example if you want 9 columns you have 9 lines of text with 8 returns. So the find expression will need to select 1 line fol...
by phspaelti
2018-11-11 19:08:51
Forum: Nisus Writer Pro Macros
Topic: Citation
Replies: 4
Views: 55

Re: Citation

Hi again, Nisus macros aren't really ideal for interactive use of the kind you are aiming for. For example there is really no need to work 'bit by bit', and in fact it's often just inconvenient, though you can write the macro that way if you prefer. Here is a macro that will do what you want. It wor...
by phspaelti
2018-11-11 09:29:36
Forum: Nisus Writer Pro Macros
Topic: Citation
Replies: 4
Views: 55

Re: Citation

Hello Publius. I think we might need a bit more information to understand what you are trying to accomplish. The description that you are giving is of citations in your document that you are trying to find? When you find them, what do you want the macro to do with them? Or maybe I am completely misu...
by phspaelti
2018-11-11 09:22:25
Forum: Nisus Writer Pro
Topic: Convert return separated text to table
Replies: 7
Views: 96

Re: Convert return separated text to table

And now to the general problem. I take it your approach is going to be: Find and Mark the row ending returns Replace all other returns with tabs Select everything and convert to table That's a good approach, especially if you have a good way of recognizing the line ending returns. But a more general...
by phspaelti
2018-11-11 08:57:30
Forum: Nisus Writer Pro
Topic: Convert return separated text to table
Replies: 7
Views: 96

Re: Convert return separated text to table

Let's start with your most immediate question: How to search for a <return> between a number and a capital letter. As you found out, if you write a find expression [number]<return[Capital letter], the replace expression will wipe out the number and the capital letter. The trick is to use the "Preced...
by phspaelti
2018-11-11 05:27:23
Forum: Nisus Writer Pro
Topic: Follow-Up Question to My Post "Text Variables": How Do I Attach a Character Style to a Custom Property?
Replies: 6
Views: 116

Re: Follow-Up Question to My Post "Text Variables": How Do I Attach a Character Style to a Custom Property?

Here’s a quick-and-dirty example… Hello Adrian, that's a good solution. Just wanted to give two small pointers: 1. If you want to add some text to a document and immediately select it, why not use the "Insert Text" command (instead of "Type")? 2. If you want to search for a text string in a documen...
by phspaelti
2018-11-08 08:26:02
Forum: Nisus Writer Pro
Topic: Stopping Cro Magnon man
Replies: 4
Views: 248

Re: Stopping Cro Magnon man

credneb wrote:
2018-11-06 12:27:53
Show Changes Icons in Margin toggles it in an open document.
How can I change the default to unchecked/don't show?
Did you look in the Track Change Options? There is an option to Show change icons in margin alongside document text. If you change that setting in your Nisus New File?
by phspaelti
2018-11-02 08:33:54
Forum: Nisus Writer Pro Macros
Topic: Changing the numbering scheme for footnotes
Replies: 4
Views: 290

Re: Changing the numbering scheme for footnotes

Martin’s right. I seem to have misread the problem and tried to solve the wrong thing.
by phspaelti
2018-11-02 07:12:05
Forum: Nisus Writer Pro Macros
Topic: Changing the numbering scheme for footnotes
Replies: 4
Views: 290

Re: Changing the numbering scheme for footnotes

Hello vw, I don't see any way to change the list style directly with a macro, but what you could do is just replace it with a list style with the same name and your desired formatting. So this problem will look a bit like the one you were asking about before. Here's one way to do that. $styledBit = ...
by phspaelti
2018-10-30 18:41:15
Forum: Nisus Writer Pro
Topic: Does Nisus now support columnar text (CJK)?
Replies: 7
Views: 419

Re: Does Nisus now support columnar text (CJK)?

Hello Martin, thank you for the reply. I guess I was misled by your first example with the western text. I wrote without testing this myself first, so I had no idea that this was possible. The vertical text works for Japanese text, exactly as it should, with columns wrapping right to left, etc.. So ...
by phspaelti
2018-10-29 15:27:48
Forum: Nisus Writer Pro
Topic: Does Nisus now support columnar text (CJK)?
Replies: 7
Views: 419

Re: Does Nisus now support columnar text (CJK)?

With all due respect Martin: The rotated text in tables is a nice new feature, but it is most definitely not columnar CJK text. It is in fact pretty much the opposite. To get columnar CJK text one would need to rotate the individual characters by 90º counter-clockwise . Actually even that would not ...
by phspaelti
2018-10-28 23:43:30
Forum: Nisus Writer Pro
Topic: NWP3 & Word files
Replies: 2
Views: 305

Re: NWP3 & Word files

Just to elaborate a bit. Automatic numbering in a Word file should be "transformed" into a List style in Nisus. The main reason why these numbers end up in the form "1. 1. 1. …" is either (a) the List style is not set to continue numbering through the document, i.e, "Continue numbering across docume...
by phspaelti
2018-10-28 19:55:16
Forum: Nisus Writer Pro
Topic: NWP3 & Word files
Replies: 2
Views: 305

Re: NWP3 & Word files

Perhaps this discussion might be helpful?
http://www.nisus.com/forum/viewtopic.php?f=18&t=7119